View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0003749 | OXID eShop (all versions) | 4.11. Image handling | public | 2012-03-21 18:38 | 2012-12-12 16:29 |
Reporter | frank | Assigned To | |||
Priority | high | Severity | crash | Reproducibility | always |
Status | resolved | Resolution | unable to reproduce | ||
Product Version | 4.5.8 revision 42471 | ||||
Summary | 0003749: oxpicturehandler::getPicUrl incorrect | ||||
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 ! The picture preview links in the shop admin (articles, tab pictures) do not work. Reason is the function oxpicturehandler::getPicUrl. This function contains following call: $aPicInfo = $this->_getPictureInfo( "master/" . ( $sAltPath ? $sAltPath : $sPath ), $sFile, $this->isAdmin() ); The parameter $this->isAdmin() is messing up the correct path selection. Things work fine, if this line is changed to: $aPicInfo = $this->_getPictureInfo( "master/" . ( $sAltPath ? $sAltPath : $sPath ), $sFile, false ); oxpicturehandler::getPicUrl is always supposed to deal with frontend pictures. So I don't see any possible side-effects of this correction. | ||||
Tags | Image Conversion, Subshops | ||||
Theme | Both | ||||
Browser | All | ||||
PHP Version | any | ||||
Database Version | any | ||||
related to | 0003751 | resolved | Linas Kukulskis | .htaccess improvement or documentation necessary for getimg.php |
related to | 0003750 | resolved | Linas Kukulskis | dynimggenerator::_getImageUri incorrect |