View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0003751 | OXID eShop (all versions) | 4.11. Image handling | public | 2012-03-21 18:44 | 2012-12-12 16:38 |
| Reporter | frank | Assigned To | |||
| Priority | high | Severity | major | Reproducibility | always |
| Status | resolved | Resolution | no change required | ||
| Product Version | 4.5.8 revision 42471 | ||||
| Summary | 0003751: .htaccess improvement or documentation necessary for getimg.php | ||||
| Description | Having 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 | ||||
| Tags | Image Conversion, Subshops | ||||
| Theme | Both | ||||
| Browser | All | ||||
| PHP Version | any | ||||
| Database Version | any | ||||
| related to | 0003749 | resolved | andrius.silgalis | oxpicturehandler::getPicUrl incorrect |
| related to | 0003750 | resolved | Linas Kukulskis | dynimggenerator::_getImageUri incorrect |
|
|
more information how image generation changed and how to extend it: http://wiki.oxidforge.org/Tutorials/image_handling_changes |