View Issue Details

IDProjectCategoryView StatusLast Update
0005313OXID eShop (all versions)4.11. Image handlingpublic2023-11-20 15:32
ReporterBergfreunde Assigned To 
Status closedResolutionfixed 
Product Version4.7.4 / 5.0.4 revision 57063 
Fixed in Version6.0.0-beta.1 
Summary0005313: oxdynimggenerator::getImagePath() - Not available image will return a 0 kb file in browser
DescriptionIf an image is not available in folders like out/pictures/promo/, the method oxdynimggenerator::getImagePath() will return the image with 0 kb. The problem is, that $sImagePath is always set with a path (without filename), so the last if-statement will never be false

Change the last If-statement from
if ( $sImagePath ) {
if ( is_file($sImagePath) ) {
to resolve the problem
Steps To ReproduceAvailable image:

Wrong Image:
TagsImage Conversion
ThemeNot defined
PHP VersionNot defined
Database VersionNot defined



2014-11-26 13:54

reporter   ~0010358

Reminder sent to: Bergfreunde


 As we saw, you submitted a complete solution for this issue. If you feel fancy, you'd also have the possibility to contribute your changes directly to our GitHub repository on [^] Please leave a note there with the bug number you fixed so we can close this issue in the bug tracker."

Best regards,


2023-11-20 15:32

administrator   ~0015846

fixed in 6.0.0-beta.1