The VG Resource
About the automatically shrinking images - Printable Version

+- The VG Resource (https://www.vg-resource.com)
+-- Forum: Archive (https://www.vg-resource.com/forum-65.html)
+--- Forum: July 2014 Archive (https://www.vg-resource.com/forum-139.html)
+---- Forum: Main Stuff (https://www.vg-resource.com/forum-1.html)
+----- Forum: Site Discussion (https://www.vg-resource.com/forum-3.html)
+----- Thread: About the automatically shrinking images (/thread-23691.html)



About the automatically shrinking images - puggsoy - 08-27-2013

So yeah, y'know how with the new update, images you post are automatically shrunk as to not stretch the page? Well, someone I know remarked how cool it would be if a forum they frequent did that as well, and asked the website admin if they could add it as well.

Unfortunately he doesn't how to do it, so I wanted to ask, how would one go about adding such a feature to a forum? I don't expect the answer to be as simple as posting a couple of lines of code (although it'd be cool if it is), but if you've got a link to a tutorial or something that has info on the matter, I could pass it along.


RE: About the automatically shrinking images - Dazz - 08-28-2013

What forum software is he using?


RE: About the automatically shrinking images - puggsoy - 08-28-2013

If I'm understanding the scope of "forum software" correctly, he's using MyBB. It has the same "powered by" note at the bottom of the page.


RE: About the automatically shrinking images - Dazz - 08-28-2013

http://mods.mybb.com/view/fit-on-page

Here's the plugin! I made some minor modifications to it, but it's mostly all here.


RE: About the automatically shrinking images - puggsoy - 08-28-2013

Awesome, thanks! Looks like it's simpler than I thought Wink