Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Gallery: unique lightbox images


Reply


5 Posts   2245 Views

Avatar
B-Side

Community Member, 42 Posts

9 September 2008 at 5:13pm

Is it possible to link a thumbnail to a different lightbox image?

I would like to crop my thumbnails to a uniform size that focuses in on one part of the image and have the pop-up lightbox include the full size image. Ie crop all thumbs to 200x300px portrait and have full images for the pop-ups.

Has anyone got any experience with this or able to give some pointers?

Cheers, Y

Avatar
grilldan

Community Member, 135 Posts

9 September 2008 at 7:04pm

Edited: 10/09/2008 11:40am

I believe you can set the thumbnails to crop 200x300px in the: gallerypage > Content tab > Gallery tab > Image Options.

*edit*
Check out [url]http://demo.silverstripe.com/image-editing/[/url]

Avatar
B-Side

Community Member, 42 Posts

10 September 2008 at 3:35pm

Edited: 10/09/2008 3:47pm

Many thanks for that!

Unfortunately the cropped resize is not cropping in to the photos - it's resizing them down from the large. Neither is it maintaining the correct width to height ratio as set. If the image is landscape it's maintaining that format and vice versa.

Is this feature not working correctly or am I maybe doing something wrong?

Thanks for your assistance! Y

Avatar
grilldan

Community Member, 135 Posts

10 September 2008 at 3:38pm

Not a problem :)

Avatar
B-Side

Community Member, 42 Posts

11 September 2008 at 9:33am

Hi Grilldan - I'm still having some trouble with the Gallery crop resize as outlined above - do you have any ideas? Thanks again - Y.