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
0000836 [In-Portal CMS] Optimization task N/A 2010-08-24 14:22 2012-07-25 05:33
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Fixed in Version 5.2.0-B1
Status closed Product Version 5.1.0 Target Version 5.2.0
Time EstimateNo estimate
Summary 0000836: Free space preserving capability during image uploads
Description There are some hostings (among ones, where In-Portal is used), that have limits per total disk space. Also there are users, who like to upload images with high resolutions.

Since In-Portal store that images as is, then we could spend lots of space just for that purpose.

I propose, that we could resize images before storing them to disk.
Additional Information
Tags No tags attached.
Reference http://groups.google.com/group/in-portal-dev/browse_thread/thread/c5bbad92701fb7c9
Change Log Message
Estimate Points 1
Attached Files patch file icon resize_images_just_after_uploading.patch [^] (1,917 bytes) 2010-08-24 14:22 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0001210closed (5.2.0)alex Parameter "storage_format" is ignored during regular uploads 

-  Notes
User avatar (0002661)
alex (manager)
2010-08-24 14:25

To test add:
'storage_format' => 'resize:1024x768'
to any image upload field declaration in unit config.

Flash upload must be used for this to work.
User avatar (0002685)
Dmitry (manager)
2010-08-27 13:09

Moving 5.1.1 release (confirmed with Alex)
User avatar (0002690)
Dmitry (manager)
2010-08-27 15:49

Tested - works well, please commit!
User avatar (0002752)
Dmitry (manager)
2010-08-29 19:36

Reminder sent to: alex

Please don't forget to commit this one to 5.1.1 too!
User avatar (0002754)
alex (manager)
2010-08-30 05:56

I'm not commiting, since I think, that for fields, where both images and non-images are uploaded it can break down non-image files.

Maybe we need to add file extension check for that case.
User avatar (0003884)
Dmitry (manager)
2011-09-23 21:35

New patch for 5.2.x needed (PHP 5 format)
User avatar (0003938)
alex (manager)
2011-09-29 13:01

Nothing has to be changes, since no new PHP methods.
User avatar (0003939)
alex (manager)
2011-09-29 13:01

Will test all together.
User avatar (0003940)
alex (manager)
2011-09-29 13:14

Fix committed to 5.2.x branch. Commit Message:

Fixes 0000836: Free space preserving capability during image uploads
User avatar (0005083)
alex (manager)
2012-07-25 05:33

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r14597
Timestamp: 2011-09-29 13:14:00
Author: alex
Details ] Diff ]
Fixes 0000836: Free space preserving capability during image uploads
mod - /in-portal/branches/5.2.x/core/kernel/db/db_event_handler.php Diff ] File ]

- Issue History
Date Modified Username Field Change
2012-07-25 05:33 alex Note Added: 0005083
2012-07-25 05:33 alex Status resolved => closed
2012-02-21 04:49 alex Relationship added parent of 0001210
2011-10-22 05:36 alex Estimate Points => 1
2011-09-29 13:14 alex Note Added: 0003940
2011-09-29 13:14 alex Status reviewed and tested => resolved
2011-09-29 13:14 alex Fixed in Version => 5.2.0-B1
2011-09-29 13:14 alex Resolution open => fixed
2011-09-29 13:14 alex Assigned To !COMMUNITY => alex
2011-09-29 13:14 alex Changeset attached 5.2.x r14597
2011-09-29 13:01 alex Note Added: 0003939
2011-09-29 13:01 alex Status needs testing => reviewed and tested
2011-09-29 13:01 alex Time Estimate Removed 1 =>
2011-09-29 13:01 alex Note Added: 0003938
2011-09-29 13:01 alex Status needs work => needs testing
2011-09-27 06:26 alex Time Estimate Added 1
2011-09-23 21:35 Dmitry Note Added: 0003884
2011-09-23 21:35 Dmitry Status reviewed and tested => needs work
2011-09-23 21:35 Dmitry Target Version Icebox => 5.2.0
2010-09-25 13:40 alex Target Version 5.1.1 => Icebox
2010-08-30 05:56 alex Note Added: 0002754
2010-08-29 19:36 Dmitry Note Added: 0002752
2010-08-27 15:49 Dmitry Note Added: 0002690
2010-08-27 15:49 Dmitry Status needs testing => reviewed and tested
2010-08-27 13:09 Dmitry Note Added: 0002685
2010-08-27 13:09 Dmitry Type feature request => task
2010-08-27 13:09 Dmitry Category Admin Interfaces => Optimization
2010-08-27 13:09 Dmitry Target Version Icebox => 5.1.1
2010-08-24 14:25 alex Note Added: 0002661
2010-08-24 14:25 alex Assigned To => !COMMUNITY
2010-08-24 14:25 alex Developer => alex
2010-08-24 14:25 alex Status active => needs testing
2010-08-24 14:24 alex Reference => http://groups.google.com/group/in-portal-dev/browse_thread/thread/c5bbad92701fb7c9
2010-08-24 14:22 alex New Issue
2010-08-24 14:22 alex File Added: resize_images_just_after_uploading.patch



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

Powered by Mantis Bugtracker