![]() |
|
Thumbnails preview on site homepage linking to gallery? - Printable Version +- ZenphotoCMS Forum (https://forum.zenphoto.org) +-- Forum: Support (https://forum.zenphoto.org/forum-1.html) +--- Forum: General support (https://forum.zenphoto.org/forum-4.html) +--- Thread: Thumbnails preview on site homepage linking to gallery? (/thread-4294.html) |
Thumbnails preview on site homepage linking to gallery? - more-zenphoto - 2008-12-22 I am new to Zenphoto. I have the gallery setup just fine in a directory placed in the root of the web server. I just want to add a few thumbnails from an album on the homepage. Is there a snippet of code that I can place in the html of the homepage that will allow me to do this. Thumbnails preview on site homepage linking to gallery? - acrylian - 2008-12-22 If you use something like Wordpress there is a plugin called Zenphotopress and several others available: http://www.zenphoto.org/2008/01/wordpress-plugins/ If don't use Wordpress you need to try this way: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin Thumbnails preview on site homepage linking to gallery? - more-zenphoto - 2008-12-22 acrylian, thanks for this link: http://www.zenphoto.org/2008/01/hacks/#zenphoto-as-plugin some useful stuff there. Not php noob friendly but I was able to manage by adding the php tags and making sure that the file was a .php file and not .html. Thank you. Thumbnails preview on site homepage linking to gallery? - more-zenphoto - 2008-12-23 I tested the first hack and was able to get it to work even though there was some sort of header error. that was the only one remotely related to what I am trying to do. I am trying to add 4 or 6 thumbnails from an album to the front page. That is all I am trying to do. Place 6 thumbnails linking to the images in the gallery in the sidebar or section of the front page. If anyone can help me achieve this I will be very grateful. The server is running on windows and I am not sharing the mysql database with anyone else. Just need to know what code to put where? Thumbnails preview on site homepage linking to gallery? - more-zenphoto - 2008-12-23 There must have been a change in the code since this soultion: http://www.zenphoto.org/support/topic.php?id=4493 because it returns an error. Thumbnails preview on site homepage linking to gallery? - acrylian - 2008-12-23 What error do you exactly get and where did you add the plugin code? Thumbnails preview on site homepage linking to gallery? - fretzl - 2008-12-24 Actually, your first post suggests to me that you are running a "normal" Zenphoto site and that you want to change the homepage(index.php) a bit. |