MyBB Community Forums
[How To?] How can resize the image in ver 1.8? - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: [How To?] How can resize the image in ver 1.8? (/thread-158916.html)



How can resize the image in ver 1.8? - JamesTeters - 2014-09-07

Hello everyone created a new site installed mybb and on my first Thread http://tvindiaforum.com/Thread-Watch-WWE-Raw-9-8-2014-8th-September-2014-HDTV-Watch-Online Image Look Too Big So find the plugin Mods - Image resizer but it not working

After Active plugin i got that error
MyBB SQL Error

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
    1146 - Table 'tvindiaf_tv.mybb_mybb_settinggroups' doesn't exist
Query:
    INSERT INTO mybb_mybb_settinggroups (`gid`,`name`,`title`,`description`,`disporder`,`isdefault`) VALUES ('NULL','imageresizer','Image resizer','Settings for Cipher\'s \'Image resizer\' plugin.','20','no') 



RE: How can resize the image in ver 1.8? - .m. - 2014-09-07

that image resizer plugin was coded for an earlier version of MyBB. it doesn't work for the recent versions.

in MyBB's default theme for version 1.8, large images are supposed to resize by using css style rule like below

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

Edit: rectified mistake in above code


RE: How can resize the image in ver 1.8? - Destroy666 - 2014-09-07

^ It's .scaleimages img actually. Which should work just fine on that forum - Inspect Element shows that the CSS scales it. So I don't really understand what's the problem.


RE: How can resize the image in ver 1.8? - wageral - 2014-09-10

(2014-09-07, 04:37 PM).m. Wrote: that image resizer plugin was coded for an earlier version of MyBB. it doesn't work for the recent versions.

in MyBB's default theme for version 1.8, large images are supposed to resize by using css style rule like below




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

Edit: rectified mistake in above code
Where do I have to add this code? In 'Global CSS'?


RE: How can resize the image in ver 1.8? - Kowak - 2014-09-10

In global.css but in my case it didn't work.