[
https://issues.apache.org/jira/browse/OFBIZ-4678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13212765#comment-13212765
]
Wai commented on OFBIZ-4678:
----------------------------
The purpose of this patch was to address the following:
1. Provide a standardized set of image width and height specs for page layout
in ofbiz. This gives ofbiz a uniform look throughout as it applies to image
display.
2. Preserve the aspect ratio of the image when using these standardized image
sizes.
3. One place to make styling modifications (eg. css file).
4. Decouple styling from code (eg. java,ftl,xml,html,jsp,etc).
Manually specifying the image width and height does help with preserving the
layout of a page regardless of the image size to be shown. The challenge with
this method is that the image shown on the page in question may be distorted if
the aspect ratio of the image differed from that of the width and height
attributes of <img>. This basically forces the person uploading the image to
be more vigilant about image aspect ratios.
> widget <image> tag to use css for resizing
> ------------------------------------------
>
> Key: OFBIZ-4678
> URL: https://issues.apache.org/jira/browse/OFBIZ-4678
> Project: OFBiz
> Issue Type: Improvement
> Components: ALL COMPONENTS
> Affects Versions: SVN trunk
> Reporter: Wai
> Priority: Minor
> Attachments: ofbiz-4678.patch, ofbiz-4678.patch, ofbiz-4678.patch,
> ofbiz-4678.patch
>
>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira