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

How to stop the gallery scaling images


Go to End


3 Posts   1469 Views

Avatar
Dare

Community Member, 2 Posts

21 March 2008 at 9:24pm

Hi there, I'm using the gallery module to display a comic, and so I don't want it to resize the page at any point when displaying. What do I have to change to prevent the image from resizing ? The gallery is here at www.nitropie.com/comic/

Avatar
saimo

Community Member, 67 Posts

25 March 2008 at 10:36pm

I believe there is a scaling mode called original resize. Is that what you were after?

Avatar
Dare

Community Member, 2 Posts

25 March 2008 at 11:09pm

Thats what I'm using at the moment. It works well most of the time, but if the image is larger than the browser's current window size, it scales the image so it fits. I need it so it doesn't scale the image no matter how large the user's window is, so the words in the images are always legible. (If you go to the final image on the page, you'll see it becomes almost too small to read.