Will the next release also include a fix for storage/core/DBStorage.php
depending on the MySQL API which is deprecated since PHP 5.5 (and removed in PHP 7) and though only deprecated in PHP 5.5 will likely fail with an access denied error, causing product images to be saved in the cache and returned as empty files?
Specifically, the line (57)
$data = @mysql_real_escape_string($data);
should be changed to
$data = sDB::get()->api->escape($data);
(Not sDB::escape($data)
which will unescape before escaping which is clearly not desired here.)
It would have been a hell of a lot easier and less time-consuming to track down this problem had you not suppressed error reporting with @
!