Arty wrote:That's a bad solution. It will affect all images, not only images in posts, including custom logos, ads, etc. If you want to resize image, add code for
- Code: Select all
.postbody img
Well, when your logos/ads end up being cut off, you have a bigger problem I guess?

Ideally, you should get a full sized image popup after clicking on the shrinked one, which would involve changing the following line in includes/bbcode.php to something suitable for that purpose
- Code: Select all
'img' => '<img src="$1" alt="' . $user->lang['IMAGE'] . '" />',
Ideally, bundling something like the ReIMG Image Resizer mod would solve all this but that is something left for 3.1.x at best, I'm afraid. Either way, getting the images cut off abruptly is really the worst solution out there.
P.S. Adding the ticket reference:
PHPBB3-10543.