• Resolved romiri

    (@romiri)


    Hi. Thanks for your great plugin.
    I use it with Flickr and I have some galleries with many photos and I have to use small thumbnails otherwise it takes too long to load. Is it possible to add lazy load for single galery with many pictures inside?
    I have seen that there is this feature to show collections.
    Thanks in advance.
    Roberto

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

    (@sayontan)

    Hi,
    No, it is not possible to put in lazy loading for photos.

    I would like to understand, though, what type of a layout you have in place. If you are using something like the Random Justified Grid, or Masonry, or Mosaic layouts, you will be able to define a “Tile size”. This lets you define a smaller size (not a thumbnail, but something that is 25% of the original photos’ width), which considerably speeds up the page loading time. Also, note that the use of “More” is similar to the concept of lazy loading of collections.

    Thread Starter romiri

    (@romiri)

    Hi @sayontan,
    Thanks for your fast reply.

    When you talk about “define a ‘Tile size’, do you mean “Random Justified Gallery – Minimum Tile height”?

    What it really works for many photos is to use the “More” option. Is there any place where to change the button style to show more photos?

    I have tried other similar plugins that have “cache” feature to go faster. Any planning to add “cache” to your plugin?

    All in all I can only say THANKS for your great plugin. It works very nice!!!

    • This reply was modified 2 years, 6 months ago by romiri.
    • This reply was modified 2 years, 6 months ago by romiri.
    Plugin Author Sayontan Sinha

    (@sayontan)

    When you talk about “define a ‘Tile size’, do you mean “Random Justified Gallery – Minimum Tile height”?

    I am talking about this:

    What it really works for many photos is to use the “More” option. Is there any place where to change the button style to show more photos?

    I generally recommend adding your style settings for the button via the standard WP feature, Appearance → Customize → Additional CSS. If you tell me what colour you want to change it to, I can give you the CSS to add.

    I have tried other similar plugins that have “cache” feature to go faster. Any planning to add “cache” to your plugin?

    No, no plans.

    Bear in mind that Photonic operates at two levels:

    1. It generates the HTML markup for your gallery – the advantage of not caching this is that Photonic will always ensure that your markup is as per your current content. E.g. If you have added a new album, or new photos to an album today, you don’t have to modify the shortcode – Photonic will automatically show you the latest content. If you cache this output, you will not get the latest content, and if you delete an image on Flickr directly, the cache will have dead links. But, if you are sure that you will not add new photos to an album, you can use your regular caching plugin to cache the markup – Photonic works fine with this approach except for Google Photos (where Google’s links keep changing)
    2. It displays photos from the original sources – are you asking about caching those photos? If so, anything that a WP plugin provides will be inferior to what you get from providers such as Flickr or SmugMug or Google or Zenfolio or Instagram. These sites have dedicated CDNs to serve images and those are a lot more efficient than caching on WP. If you try to cache the photos on WP, you will end up using additional space on your server and cause a lot more bandwidth consumption.
    Thread Starter romiri

    (@romiri)

    Wow, @sayontan THANKS A LOT for all the explanations!!! You’ve really made my day.

    About the “Tile size”, I haven’t tried what you are telling me before. I tried right now and it works great: THANKS!!!!

    About “caching”, after reading your explanation, I think you are right: it’s ok the way it is now.

    About the button style, I would really appreciate if you could help me with the code. I would like the button “dark blue” in normal state, and “light blue” on hover state. Once I see your CSS code I will manege to personalize the way I need.

    Again, THANKS a lot for your time & wonderful plugin!!!

    Roberto

    Plugin Author Sayontan Sinha

    (@sayontan)

    About the button style, I would really appreciate if you could help me with the code. I would like the button “dark blue” in normal state, and “light blue” on hover state. Once I see your CSS code I will manege to personalize the way I need.

    This might be easier if you can provide me with a URL, as sometimes the CSS differs based on your theme and other plugins.

    Thread Starter romiri

    (@romiri)

    Thanks @sayontan.
    I have found the way through .photonic-more-button class.
    Thanks a lot for your support.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Lazy load flickr photos’ is closed to new replies.