MFGG Forums
Changing the size of images. (Bug or a not yet added feature?) - Printable Version

+- MFGG Forums (https://forums.mfgg.net)
+-- Forum: MFGG (https://forums.mfgg.net/forumdisplay.php?fid=4)
+--- Forum: Suggestions (https://forums.mfgg.net/forumdisplay.php?fid=11)
+--- Thread: Changing the size of images. (Bug or a not yet added feature?) (/showthread.php?tid=1784)



Changing the size of images. (Bug or a not yet added feature?) - OssieTheOstrich - 05-30-2019

So a few days ago I tried resizing a image to a different size, and this may just be my computer/browser, but it was still showing in the same size.

Here is an example.
Original Size:                                        Resized:
[Image: Toad.PNG]                           [Image: Toad.PNG]

It does shows up as the small size in the post maker however:
[Image: huhh.PNG]


RE: Changing the size of images. (Bug or a not yet added feature?) - Mario - 07-28-2019

This is pretty interesting, because according to the HTML it outputs, there are height and width attributes that match what you're putting in there. I wasn't aware you could even scale images like that but I found it on the MyCode help page- so this is a core feature that MFGG is breaking somehow.

and I found the culprit here. Line 383 in global.css, the height: auto and width: auto are overriding it. I believe this is done this way to scale images so they don't go outside of the tables, but I don't think the auto are necessary- they might be, would need to test with really wide images and I don't have any on hand.


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



RE: Changing the size of images. (Bug or a not yet added feature?) - Syaxamaphone - 07-28-2019

Looks like we got more bugs than we bargained for out of this topic.


RE: Changing the size of images. (Bug or a not yet added feature?) - GeneralGuy - 07-28-2019

(07-28-2019, 08:28 PM)Syaxamaphone Wrote: Looks like we got more bugs than we bargained for out of this topic.
[Image: growing-up-simba-eating-bugs1.gif]


RE: Changing the size of images. (Bug or a not yet added feature?) - Mors - 07-29-2019

I'll look into this. The editing issue should already be fixed though.


RE: Changing the size of images. (Bug or a not yet added feature?) - Mario - 08-01-2019

Looks like I was able to fix my post- thanks! Hopefully we can get the image dimensions working again too.


This forum uses Lukasz Tkacz MyBB addons.