I'm trying to modify the zpMasonry theme's album view to not show the standard thumbnails, but to instead try to use the JavaScript Masonry library that it has built in.
For the album view, I'm looking to have all photos "masoned" into each other. Much like the pink squares on the Masonry dev page: http://masonry.desandro.com/methods.html#layout
I understand where in album.php the developer is calling the photo thumbnails, but I can't find the right Zenphoto function to display thumbnails to make this idea work.
http://www.zenphoto.org/documentation/functions/_template-functions.php.html
Any ideas or tips on how I could achieve this would be greatly appreciated.
@acrylian: the theme tutorial could use a bit of updating. All the hyperlinks for Zenphoto calls are going to 404 pages on php.net. I would have expected those hyperlinks to go to a Zenphoto function help page or something (and not PHP.net).
This is the right tutorial, right? http://www.zenphoto.org/news/theming-tutorial
Yes, that is the correct tutorial. Those wrong links are actually cause by the automatic generated documentation. Thanks for the note, I will take a look. We probably remove the links anyway since we probably use a new documentation generated soon and they change all the time. Small team and too less resources to check everything everytime…;-{
It should be easy to find them on the documentation itsefl. There is a article on the user guide with some quick links that hopefully still work.
Btw, I replied to your email meanwhile.
Sorry, I really assumed that the php basics like this were known. I would like to recommend to learn php basics anyway if starting to customize themes.
You will need them everywhere. And the more your like to change the more you need to dig into PHP.
While this site is not always accurate in its general documentation of web techniques it has a nice tutorial for those basics:
http://www.w3schools.com/php/php_intro.asp
I think zp-masonry does not function in real terms of "mason"ing the albums as it functions of displaying the albums and images are rigid.
A lot modification is required tp have its title as masonry. I bet modifying the themefunctions file will help. Any views regarding this?