Member
Member
talizker   2008-06-18, 17:14
#1

Can you link directly to an individual image in a zenphoto gallery from another web page in the same was you can on Flickr? With this in mind can you directly link to both the full size image plus smaller (user defined sizes?) thumbnails?

Thanks for you time.

Developer
Developer
trisweb   2008-06-18, 17:38
#2

You can technically, but you have to know a little about the image processor... there's not an easy "cut and paste" method yet.

If your gallery is, for example, http://www.trisweb.com/photos/etc/PB047612.JPG

http://www.trisweb.com/photos/etc/image/480/PB047612.JPG - 480px size.

http://www.trisweb.com/photos/etc/image/240/PB047612.JPG - 240px size.

http://www.trisweb.com/photos/etc/image/thumb/PB047612.JPG - thumb size.

Basically place "/image/[size]/" between the album name and the image filename in the URL.

Member
Member
talizker   2008-06-19, 06:56
#3

Excellent! That is just perfect for how I want to use zenphoto.

Do you hope to include some kind of cut and paste option (even if it is just an option to display the relevant link on an image page) in the future as I have a number of projects coming up where the end user would need a little guidence with the links.

Thanks again.

Member
Member
talizker   2008-07-02, 14:28
#4

One more question relating to thie if you don't mind. Is there a way to define [size] as a width AND height (in a similar way to how thumb works) so for example I could generate a square thumbnail 200 x 200?

Administrator
Administrator
acrylian   2008-07-02, 14:35
#5

To generate a square thumbnail you need to crop it. Take a look at zp-core/i.php. In the comments on top of the file you find all options available.

Member
Member
talizker   2008-07-02, 14:46
#6

Thats got it! Thanks so much.

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