In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker