← Back to team overview

mahara-contributors team mailing list archive

[Bug 1419532] Re: Add "width" and "Height" attributes to <img> tag in image blocks so they'll flow to the right size immediately

 

Oh, no, I don't mean adding fields for users to specify this. I mean
that Mahara (which already knows the image's dimensions) adds HTML tags
to the image file to tell the browser what size the image is.

-- 
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