html link to album photo - can it be done?

Hi, Love the Zen!

I would like to be able to link to some of the photos that are in ZenPhoto galleries from my main website. for example:

<img src="http://www.mywebsite.com/zenphoto/gallery1/image1.jpg" >

Is this possible?

I tried it, but it is executing php code and not displaying the image. So far, the only way I have been able to get it to work is to do this (which would be too difficult to maintain):

<img src="http://www.mywebsite.net/zenphoto/zp-core/full-image.php?a=image1&amp;i=image1.jpg&amp;q=75&amp;wmk=!&amp;dsp=Protected view">

which would be very difficult to maintain.

Comments

  • acrylian Administrator, Developer
    The link you used is the protected full image link which naturally will not work for that purpose.. You can always link directly to the actual full image within the `albums` folder. That link will always be http://www.mywebsite.net/zenphoto/albums/<path-to-the-album>/<imagefilename>.
    That will be the full image you uploaded.
  • Thank you Acrylian! I didn't see that folder. Been beating my head against the wall. You have saved me from further concussions! This is perfect!

    Also thank you for your quick reply.
  • Your protected image link can be made to work. But you will have to insure that the full image has been cached or that no caching (image processing) is needed for the full image.

    But of course you will need to get the link correct. In your example case it should be
    `image`

    i.e. you got the album name wrong.
Sign In or Register to comment.