primesitesco
Forum Replies Created
-
Forum: Plugins
In reply to: [Photonic Gallery & Lightbox for Flickr, SmugMug & Others] Random image orderAh, I see, thanks for the explanation. Well if randomising the first 100 is all that’s possible with a hook, I’ll take it. If that hook is not too much trouble it would be well worth it to have access to. Thanks for your very fast responses. Appreciate it.
Forum: Plugins
In reply to: [Photonic Gallery & Lightbox for Flickr, SmugMug & Others] Random image orderThat all makes sense, and I’m definitely not trying to make more work for you. The idea I had was to initiate the fetch from Google Photos with a randomised page number (say between 0-9) and then randomise the returned set of images before outputting. It’s for a specific use case we have. If adding a hook which might expose the ability to specify the requested page/batch number, it would be great. Then it would provide a closer approximation to randomisation. Thanks in advance.
- This reply was modified 3 years, 1 month ago by primesitesco.
Forum: Plugins
In reply to: [Photonic Gallery & Lightbox for Flickr, SmugMug & Others] Random image orderHi Sayontan, thanks for getting back to me.
Is there perhaps a hook in your plugin I can use to get access to the list of images returned from Google, prior to it being displayed on the front? I might be able to write it into an array, shuffle() it and then return the randomised array to then be written to the front-end.
I.e. not relying on the provider to randomise, but doing it locally after the images have been retrieved.
Looking forward to hearing your thoughts.
- This reply was modified 3 years, 1 month ago by primesitesco.
Hi Guys,
That seems to have fixed the problem.
Thanks for the update.