[MAGNOLIA-2241] Add option to prevent the scale image tag from scaling images beyond their original dimensions Created: 09/Jul/08 Updated: 23/Jan/13 Resolved: 10/Jul/08 |
|
| Status: | Closed |
| Project: | Magnolia |
| Component/s: | taglibs |
| Affects Version/s: | 3.5.8 |
| Fix Version/s: | 3.6, 3.5.9 |
| Type: | Improvement | Priority: | Major |
| Reporter: | Thomas Duffey | Assignee: | Magnolia International |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Template: |
|
| Acceptance criteria: |
Empty
|
| Task DoD: |
[ ]*
Doc/release notes changes? Comment present?
[ ]*
Downstream builds green?
[ ]*
Solution information and context easily available?
[ ]*
Tests
[ ]*
FixVersion filled and not yet released
[ ] 
Architecture Decision Record (ADR)
|
| Date of First Response: |
| Description |
|
In many cases we don't want scaled images enlarged beyond their original dimensions because the quality is very poor. This feature adds a new "allowOversize" parameter to the scale image tag that defaults to true for backwards compatibility. When set to false, images will never be scaled beyond their original dimensions. If you request larger scaling, the resulting image will be as big as possible w/o being enlarged. Patch is included. |
| Comments |
| Comment by Magnolia International [ 09/Jul/08 ] |
|
Thanks! will apply asap. |
| Comment by Magnolia International [ 10/Jul/08 ] |
|
Patch applied on both trunk (3.6) and 3.5 branch. Thanks ! |