ZenphotoCMS Forum
zpBoottrap Version 2.1 with isotope enabled, archive issue - Printable Version

+- ZenphotoCMS Forum (https://forum.zenphoto.org)
+-- Forum: Support (https://forum.zenphoto.org/forum-1.html)
+--- Forum: Themes (https://forum.zenphoto.org/forum-5.html)
+--- Thread: zpBoottrap Version 2.1 with isotope enabled, archive issue (/thread-13062.html)



zpBoottrap Version 2.1 with isotope enabled, archive issue - Ierdna - 04-03-2018

Hi,

I use zpBoottrap Version 2.1 with isotope enabled.
Pictures are not shown in the archive view. This looks like I see now.

Link:
http://www.xxxxxxxxx.com/page/archive/2017-05/

558 Hits for May 2017
Albums (0) & Images (558)
« 1 2 3 4 5 ...28 »

no pictures!!!

« 1 2 3 4 5 ...28 »

can you help me?
Thank you.
Ierdna




zpBoottrap Version 2.1 with isotope enabled, archive issue - vincent3569 - 05-03-2018

you are right: isotope is not used in search/archive page (I will consider it as an improvement).

but as far I can see, pictures are shown (this link as an http://test.vincentbourganel.fr/page/archive/2012-07/)
so I can't reproduce your issue and I need more informations.




zpBoottrap Version 2.1 with isotope enabled, archive issue - vincent3569 - 05-03-2018

for not forget: you can create an issue here: https://github.com/vincent3569/zpBootstrap




zpBoottrap Version 2.1 with isotope enabled, archive issue - vincent3569 - 05-03-2018

you are right: isotope is not used in search/archive page (I will consider it as an improvement).

I remember the reason why I did not use isotope in search/archive page.
It's because I did not enable isotope for gallery and for albums which have sub-albums and pictures in it.

in search page, this matter can occurs as I don't know if the search result from a search word gives albums only (which not allows isotope behavior), gives pictures only (which allows isotope behavior), or gives albums and pictures (which not allows isotope behavior too).
sometimes with isotope and sometimes not with isotope: I choosen to not use it here.

give me some details for the second part (thumbs not displayed).




zpBoottrap Version 2.1 with isotope enabled, archive issue - Ierdna - 05-03-2018

Hi Vincent,

thank you for the explanation. I have 6 albums with pictures. I don't have sub-albums. I use zpBootstrap for mobile, enabled in the plugin: "Select your theme based on the device connecting to your site" . For desktop I use zpArdoise and everything works fine.
I was able somehow to make it work.
Add to search.php:


  • load the .js scripts
  • init Isotope after all images have loaded

It's working for me now.

Regards,
Ierdna




zpBoottrap Version 2.1 with isotope enabled, archive issue - vincent3569 - 06-03-2018

of course you can do that.
it will be a matter if the key word is found on albums and pictures (ie: you search for "blue" keyword, and you have an album called "the big blue" and you have a picture called "blue sky").
isotope is not configured (my js call, and my css rules) to manage both albums and images.