![]() |
|
help with photo archive site - 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: help with photo archive site (/thread-1728.html) |
help with photo archive site - chillawhile - 25-10-2007 Hey, I am just building a photo site using the excellent zenphoto: There are several things I would like to add to this site:
I am willing to pay for these changes or alternatively donate money to support the zenphoto project. Greetings, help with photo archive site - sbillard - 26-10-2007 Several things you should do: first, be sure to upgrade to the current nightly build of zenphoto. Search is a new item, so some problems may have been fixed. Second, try out the basics, like search, on one of the distributed themes. If it works there, then the problem is in what you have done. 1. For your first page of 6 images, you will have to code that yourself as zenphoto does not have such a page currently. How are the images to be selected? If you are using the next_image() loop as in album.php you will get back the number of images as defined by your configuration images per page option. If you want a different number, your PHP has to implement that.2. Send page to a friend is not a function that currently exists in zenphoto. You can code it yourself. If you do, please share the code. It could make it into the 1.2 release.3. Search will return both albums and images. However, the two are independent. If you do not wish the albums then omit the next_album() loop on the search page. If you do want both, and want them to share a page for the transision from albums to images, you must so indicate by the [i]firstPageCount[/i] parameter to next_image(); If you do not supply that parameter, albums and images do not share a page. Visit http://testalbum.sbillard.org/ You can search for [i]find, searchtag[/i] and see a proper working search result.4. Not sure where this occurs. Some themes modify the number of images shown to fit with the format of there theme. For instance, effervescence+simpleviewer will always show a multiple of five images because there are 5 images in a row the way the theme displays them.
help with photo archive site - chillawhile - 28-10-2007 Thank you very much for this reply. I have hired a PHP Programmer to fix the site and will share the code for the "send to a friend" page with you all. I will keep you updated... Cheers, |