View Issue Details

IDProjectCategoryView StatusLast Update
0001094OXID eShop (all versions)2. ----- eShop backend (admin) -----public2009-08-21 11:38
Reportermarek_fiser Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Product Version4.1.3 revision 19918 
Fixed in Version4.1.6 revision 22740 
Summary0001094: not resize images after upload
Descriptionon hostings with open_basedir restriction may be system tmp dir unavailable for resize function in oxutilspic.php and then uploaded image was copied unchanged.
TagsNo tags attached.
Theme
BrowserAll
PHP Version5.2.6
Database Version5.0.33

Activities

marek_fiser

2009-07-13 13:43

reporter   ~0001185

as all knows you must use move_uploaded_file first

dainius.bigelis

2009-07-13 14:17

reporter   ~0001186

@developers:
add additional check to this case:
- if open_basedir is enabled, then implement suggested solution (with move_uploaded_file);
- if open_basedir is disabled, then let it work as currently implemented.

arvydas_vapsva

2009-08-21 11:38

reporter   ~0001478

a bit changed image upload and resize flow to make it working on any case:
    1. uploaded image is moved to "tmp/" folder;
    2. image is resized or processed in any other way;
    3. image is copied to final location;
    4. image source stored to "tmp/" filder is deleted.