[ 
https://issues.apache.org/jira/browse/WICKET-2192?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12693740#action_12693740
 ] 

Esko Suomi commented on WICKET-2192:
------------------------------------

One possibility could be that a special ImageResource(Reference) is created 
which uses some separate parsing code to figure out image metadata. From what 
I've seen image metadata usually resides in the very beginning of file in a 
somewhat small chunk so there really shouldn't be need to load the entire image 
to figure out its relevant metadata.

> Image should automatically set width and height attributes in markup
> --------------------------------------------------------------------
>
>                 Key: WICKET-2192
>                 URL: https://issues.apache.org/jira/browse/WICKET-2192
>             Project: Wicket
>          Issue Type: Improvement
>    Affects Versions: 1.4-RC2
>            Reporter: Esko Suomi
>            Priority: Minor
>
> org.apache.wicket.markup.html.image.Image component (and all possible 
> derivates) should add width and height attributes of the image it represents 
> automatically to markup to allow for faster correct rendering of the actual 
> page. For example when rendering a table with images in table cells the table 
> cell width may vary a lot during loading of the page and its contents which 
> causes the table to jitter around while loading if image dimension attributes 
> aren't set.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to