Uutiset:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu
Advertisement:

Stop images from expanding their containers

Aloittaja Fustrate, elokuu 17, 2007, 03:15:04 IP

« edellinen - seuraava »

Fustrate

http://www.yodaofdarkness.com/forums/index.php?topic=537.0

In that topic, an image that a user posted expanded the div it was inside, and I was wondering how I could JUST have the image extend outside the boundary. It's even worse with other topics where images are in excess of 1300 pixels wide...

any suggestions?
Steven Hoffman
Former Team Member, 2009-2012

karlbenson

Admin > Features and Options

Max width of posted pictures (0 = disable)   
Max height of posted pictures (0 = disable)

Fustrate

I want to show the full size image, though... just not have the green box and the buttons go out to the right farther than the blue container...
Steven Hoffman
Former Team Member, 2009-2012

karlbenson

set the max width and it will resize if the image goes too far.

Eg set it at 600px and anything wider will be proportionally resized down to that max.
Anything less than 600px will be at full size.

Without it and if the image is too large at full size, then it will force horizontally scrolling

SleepingZ

i'm having a problem with that, i have both the options zero'd out but the image will not stretch out. it just goes into a scroll , any idea?
hxxp:www.sleepingz.com [nonactive]    website, check it out :)

SleepingZ

forgot a link lol

hxxp:www.sleepingz.com/index.php?topic=35.0 [nonactive]
hxxp:www.sleepingz.com [nonactive]    website, check it out :)

Advertisement: