Member
Member
maxbear   2007-05-22, 06:26
#1

I installed zenphoto and wordpress in my server. I also installed zenpress to insert images in my wordpress post. But I found that I don't have the option to link to the image directly. The "link to image" option only links to the image page of zenphoto, not the real image. So I just make a little change:

Change the line 60 of functions.js(zenpress's file):

from

path = webPath+"/"+albumUrl+"/"+imageUrl

to

path = webPath+"/albums/"+albumUrl+"/"+imageUrl

It will link to the real image, then you can use lightbox, slimbox or thickbox to have some special effect when people click on the image.

Hope this help.

Member
Member
pristine   2007-05-22, 12:20
#2

Cool! I'm been thinking of doing something like this for a while. Will try it out asap. Thanks!

Member
Member
pravin   2007-05-29, 06:30
#3

neat! thanks!

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