Anonymous | Login | Signup for a new account | 2024-03-28 10:09 CDT |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
View Revisions: Issue #131 | [ All Revisions ] [ Back to Issue ] | ||
Summary | 0000131: Ability to fill margins left after image resize with given color | ||
Revision | 2009-07-20 09:27:38 by alex | ||
Description | All images, that user upload have different proportions and sizes and after resize this fact stays that way. When placed together such images don't look very symmetric. I propose to add new "fill" option to image helper, that will allow to specify color, that will fill margins left after image resizing, so all images will be the same size, but will different margins. Usage: 1. catalog items/categories: <inp2:prefix_Image render_as="article_image" thumbnail="1" DefaultImage="img/no_article_image.gif" Fill="#FFFFFF" MaxWidth="143" MaxHeight="124" DefaultWidth="143" /> 2. other items: <inp2:prefix_Field name="ImageField" format="resize:100x200;fill:#FFDD00"/> |
||
Revision | 2009-07-20 09:19:26 by alex | ||
Description | All images, that user upload have different proportions and sizes and after resize this fact stays that way. When placed together such images don't look very symmetric. I propose to add new "fill" option to image helper, that will allow to specify color, that will fill margins left after image resizing, so all images will be the same size, but will different margins. Usage: 1. catalog items: <inp2:prefix_Image render_as="article_image" thumbnail="1" DefaultImage="img/no_article_image.gif" Fill="#FFFFFF" MaxWidth="143" MaxHeight="124" DefaultWidth="143" /> 2. other items: <inp2:prefix_Field name="ImageField" format="resize:100x200;fill:#FFDD00"/> |
Main | My View | View Issues | Change Log | Roadmap | Docs | Wiki | Repositories |
Web Development by Intechnic In-Portal Open Source CMS |