Sayontan
Forum Replies Created
-
You can try DM’ing me via Twitter at “sayontan”.
Unfortunately the forum rules here prohibit this: https://wordpress.org/support/guidelines/#the-bad-stuff. I have had my wrist slapped in the past for unknowingly providing my email address.
Please provide a URL. The only change in the last update pertained to a control for displaying the number of photos in a Flickr album. If your gallery is not using Flickr albums, your problem is likely not originating from Photonic.
I also see another problem – you seem to have disabled Photonic’s lightbox. You probably selected Photonic → Settings → Generic Options → Generic Settings → Don’t include third-party lightbox scripts. Are you including the BaguetteBox script from some other source? If not, you should de-select this setting.
You still have problems with your page markup:
<script><!-- Global site tag (gtag.js) - Google Analytics --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-65655300-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-65655300-1'); </script></script>
I don’t know if this is something you put in yourself or some plugin did it for you, but the above definition is wrong. In the first line you have
<script>
, and in the second line you again have<script ...>
, and again you have<script>
in the third line. This is incorrect markup –<script>
cannot have nested<script>
declarations. Your markup should be this:<script><!-- Global site tag (gtag.js) - Google Analytics --> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-65655300-1'); </script>
… or it should be this:
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-65655300-1"></script>
You still have this active: https://ajax.cloudflare.com/cdn-cgi/scripts/7089c43e/cloudflare-static/rocket-loader.min.js
You have a JavaScript error coming from one of your plugins – the error is showing up from RocketLoader, but I think it is because of one of your other plugins, for which you combined the scripts in RocketLoader.
There’s nothing to suggest that the Authenticate page will reveal new fields once the user has entered their API key – can I suggest a minor tweak to the helper text on the Photonic -> Authenticate -> Smugmug section, something like “Authentication Options will not appear until you have successfully configured API Key and Secret at Photonic -> Settings -> Smugmug”.
Sure, I can include something to this effect.
My question is regarding displaying Unlisted albums. I’ve set up an API key in Smugmug and have configured the Photonic plug-in with the API key and secret, and Smugmug is showing 1 authorised user. However, Photonic Gallery still doesn’t show my Unlisted Smugmug albums.
Did you also perform the step for authentication from Photonic → Authentication? If not, can you complete that step as well?
This should be working now – I released version 2.73 last evening.
That looks like a bug in the code. I will release a fix this evening.
is it possible to remove the number of photos from the title?
Sure: Photonic → Settings → Flickr → Photoset / Album Thumbnails (with other Photosets / Albums) → Hide Photo Count in Title Display
On this page your thumbnails are 150px square thumbnails, as per Flickr’s API definition. For sure, you can use a larger size, but the image is not going to be square.
On this page, the underlying images are larger, but Flickr is forcefully setting the displayed size to something like 279px. This results in cropping of sections that you might not want cropped. E.g. look at the album, “Respite Break in France 2019”, where the actual image that Flickr is using is https://live.staticflickr.com/65535/51002320265_ffdb70e29a_z.jpg, but due to the arbitrary trimming of the image, the head of the person is getting cropped in the albums page.
Photonic only pulls the actual, available sizes without modifying the aspect ratio and without applying any crop by itself – 279px is not a standard size published by Flickr; it is just something that they are currently using for their album pages (this changes from time to time). Hence the difference in the layouts.
Is it possible to make the albums bigger on the page, to look more like they do on Flickr’s website?
The largest square thumbnail that Flickr provides as a standard size is 150px. Anything else that is provided is not square in shape. Flickr does not give you an ability to automatically crop photos either. Even on its own website, for album thumbnails they artificially crop the images – this technique often has unintended consequences, as it tends to sometimes remove objects of focus from the photos.
So, long story short – if you are using square thumbnails, the maximum size you can use is 150px, not more.
Can you tell me what shortcode you have in place for this?