Switch Theme:

Giant images on mobile  [RSS] Share on facebook Share on Twitter Submit to Reddit
»
Author Message
Advert


Forum adverts like this one are shown to any user who is not logged in. Join us by filling out a tiny 3 field form and you will get your own, free, dakka user account which gives a good range of benefits to you:
  • No adverts like this in the forums anymore.
  • Times and dates in your local timezone.
  • Full tracking of what you have read so you can skip to your first unread post, easily see what has changed since you last logged in, and easily see what is new at a glance.
  • Email notifications for threads you want to watch closely.
  • Being a part of the oldest wargaming community on the net.
If you are already a member then feel free to login now.




Made in us
Loyal Necron Lychguard






Palm Beach, FL

Can we get a @media query or something to make theads actually readable when someone posts a relatively gigantic image? Something like max-width: 75% would help a lot.
   
Made in gb
Fixture of Dakka







The image should fit to the page in these circumstances in my experience. Occasionally a drop in my mobile network speed will mess up the way the page loads and the image will be massive. I always found this could be fixed by reloading the page. Could that be the issue?

   
Made in gb
[ADMIN]
Decrepit Dakkanaut






London, UK

Yes, on page load, a bit of javascript will resize the max size of all images to be width of browser in pixels minus the width of the forum user info column (avatar pics, borders, etc). This can get a bit funky on mobile devices but a refresh should make it work if it glitches out.

As you say though - I have noticed it getting a bit worse on mobile devices lately. Since you mentioned @media queries already, can you save me a bit of searching - do you know if javascript is returning a larger value for browser resolution when it perceives the page as needing to be larger? I'd be happy to add the @media query if it would help add some consistency between desktop and mobile without negatively impacting things in other ways.

Check out our new, fully plastic tabletop wargame - Maelstrom's Edge, made by Dakka!
 
   
 
Forum Index » Nuts & Bolts
Go to: