Hey,
I am just building a photo site using the excellent zenphoto:
http://testabase.com/g/There are several things I would like to add to this site:
1. add an index page that just shows 9 images who will show
on rollover the title of the album instead of the picture.
The current index page should become the "archive" page.
2. "send page to a friend" - button
3. search results do not work as I want. i would like only pictures to show up, not the albums... also there seeems to be some problem with the search, since it outputs on one page just one image and on another 5 images...
try searching for "padberg" to see what i mean.
4. Another problem occurs when specifying 9 images, zenphoto displays 12 images...
5. somehow the title does not display in the title of the browser... this needs to be fixed.
I am willing to pay for these changes or alternatively donate money to support the zenphoto project.
Greetings,
Nils
Comments
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 firstPageCount 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 find, searchtag 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.
5. visit http://testalbum.sbillard.org/. There you will see working title display on rollover. If titles are set in the HTML, they will rollover. (The above URL is running the standard effervescence+simpleviewer theme. It has title rollover.
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,
Nils :-)