Thumbnails preview on site homepage linking to gallery?

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.

Comments

  • acrylian Administrator, Developer
    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
    Search the forum for details about this, there are already several threads about integrating into a website
  • 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.
  • 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?
  • 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.
  • acrylian Administrator, Developer
    What error do you exactly get and where did you add the plugin code?
  • fretzl Administrator, Developer
    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.
    Am I right?
Sign In or Register to comment.