mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #24851
[Bug 1419532] Re: Add "width" and "Height" attributes to <img> tag in image blocks so they'll flow to the right size immediately
But we don't know the dimensions for the block and how the image will
fit within it.
If I have an image 1920x1080 and add that to an image block on a three
column layout - the image fetched is the 1920x1080 image but is
displayed as 310x175 - the browser squashes down/resizes the image to
display it. But we don't know how much that will be until the page is
rendered.
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1419532
Title:
Add "width" and "Height" attributes to <img> tag in image blocks so
they'll flow to the right size immediately
Status in Mahara ePortfolio:
In Progress
Bug description:
We should add "width" and "Height" attributes to the <img> tags
generated by image blocks, so that the browser will render the image
placeholder as the correct size even before the image finishes
loading. This should help the page to feel like it's loading up more
quickly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1419532/+subscriptions
References