I’ve blogged about Shopp in the past and have setup numerous WordPress sites with Shopp however today I encountered a problem I haven’t come across before. The product images were loading and displaying fine into the Product editor window however the images just weren’t showing in any Product, Catalog or Shop Page.
Here is a copy of the support ticket I raised with Shopp support:
Images aren’t showing on the catalog or products Pages.
I’m able to upload the images and save them to the Product Editor fine.
‘Image Storage’ is set to ‘File System’ and the path is valid (I get the message ‘The file system path to your storage directory.”).
I can see the images themselves on the host under the ‘uploads/products’ folder (i.e. the same folder as set in the ‘Image Storage’ option) but when viewing in the Catalog or Products Pages the image can’t be found and the link to the image is to an invalid path e.g. http://example.com/shop/images/57/300×300.png?96,96,3180854176.
Please assist in resolving this.
Web Browser: Any
Server OS: Linux
Web Server: Apache
PHP version: 5.3.9
WordPress Version: 3.3.1
Shopp Version: 22.214.171.124
As it turns out, the fix is incredibly simple (very quick and accurate support was provided by Lorenzo at Shopp Support). Basically all that needed doing was removing the following from the .htaccess file
RewriteRule ^.*shop/images/(d+)/???(.*)$ /wp-content/plugins/shopp/core/image.php?siid=$1&$2 [QSA,L]
And now images are showing fine in all Product, Shop and Catalog Pages ….