View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0006291 | OXID eShop (all versions) | 1.01. Products (product, categories, manufacturer, promotions etc.) | public | 2015-12-18 10:21 | 2016-09-30 16:42 |
Reporter | leofonic | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Product Version | 4.9.6 / 5.2.6 | ||||
Fixed in Version | 4.10.2 / 5.3.2 | ||||
Summary | 0006291: nopic.jpg generation fails if image is not a jpg | ||||
Description | If a nonexistant image is requested and there is no nopic.jpg in the particular "generated" folder, a resized copy of nopic.jpg will be created in the requested folder. This does not work if requested image is a png because resize method is chosen by the original filename, so oxdynimggenerator.php tries to resize nopic.jpg with method _generatePng, which does not work. | ||||
Steps To Reproduce | Delete nopic.jpg in folder \out\pictures\generated\product\1\87_87_75 Request image /out/pictures/generated/product/1/87_87_75/wrongname.png Expected: nopic.jpg is loaded Actual: no image is loaded | ||||
Tags | No tags attached. | ||||
Theme | Not defined | ||||
Browser | Not defined | ||||
PHP Version | Not defined | ||||
Database Version | Not defined | ||||
related to | 0006369 | resolved | anton.fedurtsya | morepics loads same image multiple times if nopic.jpg is missing |
|
Pull Request: https://github.com/OXID-eSales/oxideshop_ce/compare/master...preethi-sivasankaran:6291-nopic-generation-fails-if-image-not-jpg |
|
Pull request https://github.com/OXID-eSales/oxideshop_ce/pull/397 was backported to v5.3.2 A minor refactoring was done for v6.0 |