Image thumbnails are too large in storeadmin area (v. 2.82 - 2.83)
In the 2.82 and 2.83 release, the thumbnails in the storeadmin area's "Image" section are larger than they should be, and open to a smaller image. This is due to a bug (in only the 2.82 and 2.83 releases) that will be updated in the next release. For now, you can fix this by manually update the createThumb function as follows:
-
Open the open.php file in the /includes/ folder of the /storeadmin/ folder, around line 181.
-
$imageurlbase=imgpathtourl($imageurl, "path");
to:
$imageurlbase=imgpathtourl(str_replace("../", "", $imageurl), "path"); -
Save and upload the file.
Note: Images that have spaces in the image names may not display properly in all browsers, and will cause problems with the patch above. For best results, remove spaces from images before uploading. Or you can add the code:
$imageurl = str_replace(" ", "+", $imageurl);
Just above the code you changed above. This code does not exist in the Image Thumbnail Patch.