Jump to the post that solved this thread.
Solved: 6 Years, 1 Month ago Auto-Resize Posted Images
#1
Solved: 6 Years, 1 Month ago
I was wondering if there's a way to auto-resize images in a post that is larger than a specific dimensions?

I know you can set a specify dimensions using [img=300x300] but it would be convenient to just auto-resize.
just a noob.
Reply
#2
Solved: 6 Years, 1 Month ago
its already available in 1.8.... 


in global.css find

.scaleimages img {
max-width: 100%;
}


and change that to something like this if you want the size to not to exceed a limit...

.scaleimages img {
max-width: 800px;
}
We can't help everyone, but everyone can help someone - Ronald Reagan
Did you know? Your question has already been answered. But you haven't searched it yet.
Don’t  Forget to “Mark as Solved” after the fix
Reply
#3
Solved: 6 Years, 1 Month ago
(2015-03-10, 10:55 AM)mmadhankumar Wrote: its already available in 1.8.... 


in global.css find

.scaleimages img {
max-width: 100%;
}


and change that to something like this if you want the size to not to exceed a limit...

.scaleimages img {
max-width: 800px;
}

This is what I need! Thanks!
just a noob.
Reply
#4
Solved: 6 Years, 1 Month ago
Check how it works in firefox browser, cause firefox manages max-width in other way than Google Chrome-like browsers.
When I've just changed max-width, ALL images (including smileys) become fixed size.
English is not my native language, so, sorry for any mistakes which I will do for sure.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)