MyBB Community Forums
[How To?] Make images automatically resize - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: Community Archive (https://community.mybb.com/forum-106.html)
+--- Forum: Archived Forums (https://community.mybb.com/forum-143.html)
+---- Forum: Archived Development and Support (https://community.mybb.com/forum-155.html)
+----- Forum: MyBB 1.6 (https://community.mybb.com/forum-138.html)
+------ Forum: 1.6 General Support (https://community.mybb.com/forum-127.html)
+------ Thread: [How To?] Make images automatically resize (/thread-145125.html)

Pages: 1 2


RE: Make images automatically resize - irestorer - 2014-08-22

(2013-09-09, 05:54 PM).m. Wrote: remove your earlier code and try below code in global.css

img {
max-width: 255px;
height: auto;
}

(however max-width can be of more size)
remember to hard refresh your browser (eg. press CTRL + F5) on a topic page after saving global.css

very helpful, thanks Heart

i have set it on 720px & that's worked perfect Big Grin



img {

max-width: 720px;

height: auto;

}