In-Portal Issue Tracker - In-Portal CMS
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Type: | Reproducibility: | Date Submitted: | Last Update: |
28 | [In-Portal CMS] Front End | feature request | N/A | 2009-05-23 03:49 | 2009-10-03 07:56 |
|
|||||
Reporter: | alex | Platform: | |||
Assigned To: | alex | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | |||
Product Build: | Resolution: | fixed | |||
ETA: | none | Fixed in Version: | 5.0.0 | ||
Reference: | |||||
Change Log Message: | |||||
Estimate Points: | 0 | ||||
|
|||||
Summary: | 0000028: Add crop ability to ImageHelper class | ||||
Description: |
Add ability to crop image during resizing. Invocation syntax: <inp2:sample-prefix_Field name="ImageField" format="resize:100x200;crop:c|c"/> Invocation syntax for catalog item/category images: <inp2:prefix_Image render_as="article_image" thumbnail="1" DefaultImage="img/no_article_image.gif" Crop="c|c" MaxWidth="143" MaxHeight="124" DefaultWidth="143" /> <inp2:prefix_Image render_as="article_image" thumbnail="1" DefaultImage="img/no_article_image.gif" Crop="1" MaxWidth="143" MaxHeight="124" DefaultWidth="143" /> Description: Resize image (keeping proportions) to maximal possible size based on given (width - 100, height - 200), then crop rectangle area of given size (width - 100, height - 200) from center of resized image. Crop format part accepts 2 arguments separated by "|": "crop:<x_position>|<y_position>". Positive value is crop offset from left/top. Negative value is crop offset from right/bottom. "C"/"c" is centered horizontally or vertically. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: | |||||
|
|||||
Issue History | |||||
Date Modified | Username | Field | Change | ||
2009-10-03 07:56 | administrator | Note Added: 0000645 | |||
2009-10-03 07:56 | administrator | Status | resolved => closed | ||
2009-07-20 13:08 | alex | Changeset attached | RC r11939 | ||
2009-07-20 09:27 | alex | Description Updated | bug_revision_view_page.php?rev_id=104#r104 | ||
2009-07-19 06:48 | alex | Fixed in Version | => 5.0.0 | ||
2009-07-19 06:48 | alex | Target Version | 5.1.0 => 5.0.0 | ||
2009-07-19 06:48 | alex | Note Added: 0000143 | |||
2009-07-19 06:48 | alex | Status | active => resolved | ||
2009-07-19 06:48 | alex | Resolution | open => fixed | ||
2009-07-19 06:48 | alex | Assigned To | => alex | ||
2009-07-19 06:48 | alex | Changeset attached | RC r11920 | ||
2009-06-07 06:49 | alex | Reproducibility | @70@ => N/A | ||
2009-05-25 18:23 | Dmitry | Target Version | => 5.1.0 | ||
2009-05-23 03:49 | alex | Category | (No Category) => Front End | ||
2009-05-23 03:49 | alex | New Issue |
Notes | |||||
|
|||||
|
|
||||
|
|||||
|
|