Member
Member
Jeroen07   2011-03-19, 20:24
#1

I've manually installed a lightbox so the foto's are more user friendly.

As you can see here, it kinda works:

http://www.iendracht-archief.be/foto/2010-2011/koksijde-eendracht-aalst/

But, i'm still having some problems:

  • The "Next" and "Last" button doesn't work. How could i fix that?
  • I would like to display the description under the foto (now, it's the title that is displayed). I succeeded to display the title by adding this to the link:

" title="" >

When i change that to getImageDescription, it doesn't work...

  • What about google. Will my images be indexed if I display them this way (so only with lightbox, no page for every image) ...

Thanks in advance

Administrator
Administrator
acrylian   2011-03-19, 20:51
#2
  1. Well, regarding user friendly: keep in mind that if someone disables Javascript in his browser he can't access them at all. Additionally no one can point some one to a image he likes since he can't link it. He has describe it like the 6th image in the 10th row.

  2. Regarding next/prev consult the documentation of the lightbox scripts used (it is not hte colorbox that comes with Zenphoto as far as I can see) and set the proper defines on your theme.

  3. Regarding the description it does really help to read our documentation as well. Start with the theming tutorial and possibly the functions documentation for the correct names.

  4. The full images probably are indexed directly based on the other settings of your site (htaccess, permissions, robot.txt). Since there is no image page of course title, description etc. are not.

Member
Member
Jeroen07   2011-03-20, 21:37
#3

Thanks for your quick response acrylian.

I think you're right that the lightbox should only be placed on the image page itself, but i fear that i have a too limited knowledge of PHP to do this correctly, and i can't find a manual that explains it clearly.

I would like to have the normal resolution on the image page, but when you click on the photo, you should get the full size image in a lightbox effect. And you should be able to browse to the next image in the lightbox...

Do you think you could explain me briefly how to do this?

Administrator
Administrator
acrylian   2011-03-21, 10:36
#4

Look at the standard Zenpage theme for example which does exactly this.

Member
Member
Jeroen07   2011-03-21, 15:39
#5

I tried to do that, but what part do I have to copy? When i copy the whole script, it works, but when I copy some parts, it doesn't work...

Administrator
Administrator
acrylian   2011-03-21, 16:10
#6

Look at the source code and see how the lightbox script you use needs to be set up (there are tons of derivates).

Member
Member
Jeroen07   2011-03-21, 19:33
#7

Could you tell me what I have to copy from image.php in Zenpage? I tried a hundred things, but it's not working...

[code]

 |  | 
Administrator
Administrator
acrylian   2011-03-22, 09:52
#8

The full image part and the colorbox JS define. Please read the theming tutorial to learn the basics of Zenphoto theming. Also review the Colorbox website about how to set that up.

  
Powered By MyBB, © 2002-2026 MyBB Group.
Made with by Curves UI.