View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001183 | OXID eShop (all versions) | 2. ----- eShop backend (admin) ----- | public | 2009-08-10 14:22 | 2009-08-19 09:05 |
Reporter | Ryback | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.1.3 revision 19918 | ||||
Fixed in Version | 4.1.6 revision 22740 | ||||
Summary | 0001183: Icon creation without article sizes | ||||
Description | We have no entrys in shop admin under settings -> pictures -> size of article pics-> oxpic* because we want the article pics "untouched" load to the web space. So no extra compression and no use of gdlib. But without this entrys the shop doesn`t create the icons for picture oxpic* anymore. The shop only creates the icon in the "picture/icon"-Folder but not the icons in "picture/1", "picture/2", etc. If we make entrys in the settings mentioned above, the icons get created normal. | ||||
Additional Information | Maybe this helps, but you can fix it "quick`n'dirty" in php-file core/oxutilsfile.php in line 326 is the if command which get used when the oxpic* size settings are there. So with this code the shop uses instead the image size of the new uploaded oxpic: // #840A + compatibility with prev. versions $aDetailImageSizes = $myConfig->getConfigParam( 'aDetailImageSizes' ); $sDetailImageSize = $myConfig->getConfigParam( 'sDetailImageSize' ); if ( isset( $aDetailImageSizes['oxpic'.intval( $aPType[1] )] ) ) { $sDetailImageSize = $aDetailImageSizes['oxpic'.intval( $aPType[1] )]; } else { $cust_image_size = GetImageSize($sSource); $sDetailImageSize = $cust_image_size[0]."*".$cust_image_size[1]; } | ||||
Tags | No tags attached. | ||||
Theme | |||||
Browser | All | ||||
PHP Version | 5.2.6 | ||||
Database Version | 5.0.33 | ||||