MyBB Community Forums
[How To?] Images Not Resizing - 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?] Images Not Resizing (/thread-218768.html)



Images Not Resizing - rfssjz - 2018-07-19

Ever since the upgrade, I can't figure out how to apply MyCode to alter the maximum height and width displays of images.

I did a bit of looking into the templates, and I'm seeing mycode_img is the culprit. Is it possible to change this code to have the resize code in place?

The template's code:
<img src="{$url}"{$width}{$height} alt="{$alt}"{$css_align} class="mycode_img" />