• Hi There,

    Thanks for making such a wonderful plugin. I found the shortcode does not fetch images based on date filter.

    Shortcode: [gallery type='google' view='photos' count='200' crop_thumb='crop' thumb_size='50' main_size='1200' columns='6' layout='random' more='Show More' album_id='album id here' date_filters='2024/10/15-2024/10/16']

    Could you take a look on it? I have latest version 3.12.

    Regards

    Ankur V.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Sayontan Sinha

    (@sayontan)

    Date filters are not meant for photos within albums. I don’t believe the Wizard lets you add date filters when you are trying to display photos within an album, so I am guessing the shortcode was written by hand.

    Google’s API only supports date filters when you are displaying photos from the general set of photos.

    Thread Starter Ankur Vishwakarma

    (@the-ank)

    Hi @sayontan,

    Thank you! Yes, I found the API does not support filters. I suggest that you provide your own cache methods and internal filters would be very valuable!

    Regards

    Ankur V.

    Plugin Author Sayontan Sinha

    (@sayontan)

    I suggest that you provide your own cache methods and internal filters would be very valuable!

    There are several reasons why this is not a good idea, and practically all of them deal with performance. Google’s calls are very resource intensive, not cacheable, and not multi-threaded, so you basically will be stuck with a very, very slow website for this.

    If you really want to sort things by date filters, I suggest putting them in albums according to the dates – that is a much simpler way than coding around Google’s limitations.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.