View Issue Details

IDProjectCategoryView StatusLast Update
0003751OXID eShop (all versions)4.11. Image handlingpublic2012-12-12 16:38
Reporterfrank Assigned To 
PriorityhighSeveritymajorReproducibilityalways
Status resolvedResolutionno change required 
Product Version4.5.8 revision 42471 
Summary0003751: .htaccess improvement or documentation necessary for getimg.php
DescriptionHaving more than one sub-shop it is important not to save all sub-shop pictures in the same picture directory out/pictures, but in picture directories under the custom theme directories, e.g. out/emazure/1/pictures, out/emazure/2/pictures, etc.

This did work until shop version 4.4.x, and also in version 4.5 several source is supporting this setup, however unfortunately not all !


Documentation is necessary, that the .htaccess file needs to be customized (even better if you find a way to generalize it), e.g.:

RewriteCond %{REQUEST_URI} (\/out\/emcustom\/1\/pictures\/|\/out\/emazure\/2\/pictures\/)
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (\.jpg|\.gif|\.png)$ core/utils/getimg.php
</IfModule>


Also see https://bugs.oxid-esales.com/view.php?id=3749 and https://bugs.oxid-esales.com/view.php?id=3750


TagsImage Conversion, Subshops
ThemeBoth
BrowserAll
PHP Versionany
Database Versionany

Relationships

related to 0003749 resolvedandrius.silgalis oxpicturehandler::getPicUrl incorrect 
related to 0003750 resolvedLinas Kukulskis dynimggenerator::_getImageUri incorrect 

Activities

Linas Kukulskis

2012-12-12 16:38

reporter   ~0008115

more information how image generation changed and how to extend it:
http://wiki.oxidforge.org/Tutorials/image_handling_changes