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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Gallery: unique lightbox images


Go to End


5 Posts   2567 Views

Avatar
iON creative

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 http://demo.silverstripe.com/image-editing/

Avatar
iON creative

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
iON creative

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.