MFGG Forums
  • Home
  • Members
  • Help
  • Search
MFGG Main Site MFGG Forums MFGG Suggestions v
« Previous 1 2 3 4 5 Next »
Changing the size of images. (Bug or a not yet added feature?)
MFGG Forums MFGG Suggestions v
« Previous 1 2 3 4 5 Next »
Changing the size of images. (Bug or a not yet added feature?)
MFGG Forums MFGG Suggestions v
« Previous 1 2 3 4 5 Next »
Changing the size of images. (Bug or a not yet added feature?)
Mark All Posts Read Today's Posts

Changing the size of images. (Bug or a not yet added feature?)
LGBTQ+ Pride Mario
Wahoo! It's-a me, I'm LGBT!
Members
Secret Santa MFGG 17th Anniversary MFGG 18th Anniversary
#2
07-28-2019, 08:18 PM (This post was last modified: 08-01-2019, 08:05 AM by Mario. Edit Reason: mybb keeps eating my edits )
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;
}
Proud member of the Shadow █████████████
Interested in web development? Check out Super Mario Web Development. Wahoo!
 

""We choose to go to the [Suggestions board] not because it's easy, but because it's hard; because that goal will serve to organize and measure the best of our energies and skills, because that challenge is one that we are willing to accept, one we are unwilling to postpone, and one which we intend to win."
- John F. Kennedy"
- gothgirlgangblastermaster

  ↳
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Changing the size of images. (Bug or a not yet added feature?) - by OddieTheRock - 05-30-2019, 06:10 AM
RE: Changing the size of images. (Bug or a not yet added feature?) - by Mario - 07-28-2019, 08:18 PM
RE: Changing the size of images. (Bug or a not yet added feature?) - by Syaxamaphone - 07-28-2019, 08:28 PM
RE: Changing the size of images. (Bug or a not yet added feature?) - by GeneralGuy - 07-28-2019, 08:39 PM
RE: Changing the size of images. (Bug or a not yet added feature?) - by Mors - 07-29-2019, 10:35 PM
RE: Changing the size of images. (Bug or a not yet added feature?) - by Mario - 08-01-2019, 08:05 AM

  • View a Printable Version
Forum Jump:

Mario Fan Games Galaxy - Powered by MyBB | MFGG Staff | Contact Us

Linear Mode
Threaded Mode