Following the transition of Flickr’s ownership to Smugmug and the demise of their 1TB storage tier which was mentioned here, a decision was made to switch services to 500px and also Google Photos. 500px is alike to Flickr as both are social media websites for the photographers community, while Google Photos offers unlimited storage at the expense of compressed images and inferior image quality.
Truth be told, the differences are supposedly indistinguishable to the eye unless you pixel peep both copies side by side, which deviates from the spirit of photography. A well composed photo with a story to tell, taken with a 8MP compact camera triumphs over a over-exposed photo of a misfocused wall taken with a medium format camera.
Search for a Google Photos Plugin
Typically, a plugin is used to display images which is already curated and organised into albums. With Flickr, there were multiple options which could leverage on Flickr’s sharing APIs for a fuss free method to display images.
In the case of Google Photos, my initial approach was to manually curate selected photos from within an album and insert them into the blog posts via their linked URL. This method seemed to work, till it didn’t. Upon further digging, the URLs appear to have a shelf life and cease to be valid after a certain period of time. Thus, hot linking to the fixed URL leads to a 404. Thus, I abandoned the idea of further expanding the Gallery page seeing no further feasible workaround or alternative except for switching back to Flickr and forking out for a permanent PRO account.
Photonic, Jetpack & Google Photos Gallery with Shortcodes
While I was in the process of fixing the incompatibilities and bugs arising from the porting process for the blog, I came across the Gallery page once again. That sparked this fateful search journey for a worthy plugin once again.
From the 3 top choices available, Jetpack was the first to be struck out since Jetpack was the plugin which was causing the “DDOS” attacks from within my site. Such a pity, since Jetpack is the best option on paper amongst the 3 plugins. Google Photos Gallery with Shortcodes looked promising, but didn’t seem to offer as many customisation options as the last option, Photonic. Although I usually opt for simplicity and avoid extensive customisation, a little flexibility and freedom in dictating the aesthetics of my blog content is always welcomed.
Installation and Configuration
The installation process is fairly standard as per the usual WordPress plugin. Post installation, the setting up of the plugin for access to Google Photos requires a fair bit of tinkering but nothing overly complex if you follow the instructions written in the documentation provided. Once all the backend has been settled, I uploaded two sets of photos taken in December 2019 to test the plugin: Gardens By the Bay and Food photos!
The photos take a while to be retrieved from Google’s servers. They may appear compressed in a lateral sense if you are visiting this blog for the first time and the images are not cached in your browser. However, once the images have been fully loaded (a few seconds delay), the algorithms of the plugin will nicely sort the photos into grids of different size and display them in the original aspect ratio.
The speed of which the images load and display in the right format largely depends on the latency and performance of the server webhost the blog is currently on. The algorithms run native on the blog instead of being pre-processed and sent to the client browser, thus some delay is expected.
Grid Justified Layout
There is a variety of display layout options to choose from, with the Mosaic option seen in the first example and the Justified Gid layout seen for the Gardens by the Bay album set. I intend to include more photos progressively, mainly those from my heavily backlogged travel series which are uniquely fascinating or contain an interesting anecdote. Stay tuned for further updates!
