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!

Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0000403 [In-Portal CMS] Front End feature request N/A 2009-10-22 08:03 2010-01-11 22:05
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.0.2-B1
Status closed Product Version 5.0.2-B1 Target Version 5.1.0
Time EstimateNo estimate
Summary 0000403: Ability to specify default image, when actual image is missing, but requested on Front-End
Description Currently default image functionality is only supported for sections and category items, who have "Image" tag. In case if image wasn't yet uploaded, but something still should be shown on Front-End, then default image is right for this case.

I propose we add "default:path/to/default_image.jpg" additional format and it should used this way:
<inp2:widget_Field name="Photo" format="resize:100x120;default:img/default.jpg"/>

This new default image is only useful in cases, when original image (which is not uploaded) should resized. This approach guarantee, that default image will be resized as well.
Additional Information
Tags No tags attached.
Reference
Change Log Message
Estimate Points 0
Attached Files patch file icon default_image_of_upload_formatter.patch [^] (1,567 bytes) 2009-10-22 08:07 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]

-  Notes
User avatar (0001008)
Dmitry (manager)
2009-10-28 01:09

Tested ok, please commit to 5.0.2 Beta2
User avatar (0001039)
alex (manager)
2009-11-03 08:51

Fix committed to 5.0.x branch. Commit Message:

Fixes 0000403: Ability to specify default image, when actual image is missing, but requested on Front-End
User avatar (0001340)
Dmitry (manager)
2010-01-11 22:05

Closing completed tasks.

- Related Changesets
In-Portal CMS: 5.0.x r12875
Timestamp: 2009-11-03 08:51:00
Author: alex
Details ] Diff ]
Fixes 0000403: Ability to specify default image, when actual image is missing, but requested on Front-End
mod - /in-portal/branches/5.0.x/core/kernel/utility/formatters/upload_formatter.php Diff ] File ]
mod - /in-portal/branches/5.0.x/core/units/helpers/image_helper.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2010-01-11 22:05 Dmitry Note Added: 0001340
2010-01-11 22:05 Dmitry Status resolved => closed
2009-11-03 08:51 alex Note Added: 0001039
2009-11-03 08:51 alex Status reviewed and tested => resolved
2009-11-03 08:51 alex Fixed in Version => 5.0.2-B1
2009-11-03 08:51 alex Resolution open => fixed
2009-11-03 08:51 alex Assigned To !COMMUNITY => alex
2009-11-03 08:51 alex Changeset attached 5.0.x r12875
2009-10-28 01:09 Dmitry Note Added: 0001008
2009-10-28 01:09 Dmitry Status needs testing => reviewed and tested
2009-10-25 13:45 alex Target Version Icebox => 5.1.0
2009-10-22 10:25 alex Tag Detached: rewrite test
2009-10-22 10:25 alex Tag Attached: rewrite test
2009-10-22 08:07 alex Assigned To => !COMMUNITY
2009-10-22 08:07 alex Status active => needs testing
2009-10-22 08:07 alex File Added: default_image_of_upload_formatter.patch
2009-10-22 08:03 alex Target Version => Icebox
2009-10-22 08:03 alex New Issue



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

Powered by Mantis Bugtracker