tecknow Posted April 25, 2012 Share Posted April 25, 2012 I have some sites where the Cover photo for a product is not showing. All you see on the Home Page or Category Page is the link for the product in the window on the left which should also have the Cover Photo displayed. On the right is the information: ----------------------------------------------------------------------- Available PRODUCT NAME "Over the Door" Full Length Mirrored Jewellery Cabinet$299.00 Online only! Add to cart ViewSelect to compare ----------------------------------------------------------------------- The image sze that has been uploaded is not huge and appears to be within limits. Any clues why this is not displaying ???? Link to comment Share on other sites More sharing options...
tecknow Posted April 25, 2012 Author Share Posted April 25, 2012 I must also add that the tick box has been selected for the cover photo to display in the edit product area and correctly saved. Therefore, I don't know why this occuring. I also don't know the workings of how a cover photo is displayed and whether its an issue with this process that's not functioning correctly, the theme being used, etc. Also, if you click on the product name link it goes to the product correctly and the images for the product all appear. Its only the cover photo that is not displaying. Any help greatly appreciated !!! Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 25, 2012 Share Posted April 25, 2012 Hi tecknow, Have you tried regenerating all your thumbnails through the Back Office under Preferences > Images? -Mike Link to comment Share on other sites More sharing options...
tecknow Posted April 25, 2012 Author Share Posted April 25, 2012 Hi Mike, Thanks for this tip. I just tried this and it hasn't changed anything. Could it be that that the cover photo creates a separate image where the permissions aren't being set properly making the cover image photo unreadable and hence not being displayed in the browser? If so what folder would this be? Also, I have full access to the server and also open to considering all other options as to why this isn't working. Tecknow Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 What is the url to the shop? Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 Here is the url to the page category page with problem http://justjewelleryboxes.com.au/category.php?id_category=2 The cover image problem is not showing in any of the category pages links. Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 Go to preferences and images in the back office and see if home big is set to display for categories. If not select it to display for categories. If there is no home big, it is not a starnard image name, create it and set it to display in the categories. Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 Thanks this hasn't worked yet, however I noticed the customer who set this up has the following + the home big which I just added. ------------------------------------------------------------------- 1 small 45 px 45 px 2 medium 80 px 80 px 3 large 300 px 300 px 4 thickbox 600 px 600 px 5 category 500 px 150 px 6 home 129 px 129 px 7 large_scene 556 px 200 px 8 thumb_scene 161 px 58 px 9 home big 150 px 150 px ------------------------------------------------------------------- When I selected the edit button on each image type I noticed that they all had this tick boxed ------------------------------------------------------------------- Categories: This type will be used for category images ------------------------------------------------------------------- I'm not sure if only one of these and not all should be selected. Could this be the issue? Could it also be a (width/height) scale of the image is too large, where I also noticed it is withing the byte size for the image but the dimensions were still quite large? Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 uncheck them all for categories except the home big, then regenerate your thumbnails. See if that gets ya Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 I did this and had no luck (even after refreshing the browser to clear any cache), however I feel we're getting somewhere. I've looked on the sever under the img directory > subdirectory p > which shows the changeover where the images for this are stored. What do you suggest next? Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 Go to preferences tab then preformances and select force compile and disable the caching their also. Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 I did this to no luck. Force Compile set to: YES Cache set to: NO THEN SAVED ----------------------------------------------------------------------------------------------------- Force compile: Yes No This forces Smarty to (re)compile templates on every invocation. This is handy for development and debugging, but should never be used in a production environment. Cache: Yes No Should be enabled except for debugging. I got this error: There is 1 warning Hide warning To use Memcached, you must install the Memcache PECL extension on your server. http://www.php.net/m...nstallation.php ----------------------------------------------------------------------------------------------------- CACHE WAS SET TO NO HERE & UNCHANGED THROUGHOUT THIS OPERATION At the bottom of the page caching was set at: Use cache: Enable or disable caching system Caching system: Add server ------------------------------------------------------------------------------------------- I didn't change any of this. Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 err, this has me stumped. Do you know how to edit your theme files? Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 Its got me completely stumpted as well. If I have to edit the Theme files I have the abilty to do this and this was one of the things I speculated may be a possible cause. I will need to be guide with what to look for and what to edit. Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 By the way, this is the theme being used: http://livedemo00.template-help.com/prestashop_33937/ Link to comment Share on other sites More sharing options...
Dh42 Posted April 26, 2012 Share Posted April 26, 2012 Before you edit the theme file have you contacted the person that made the theme and asked them? Link to comment Share on other sites More sharing options...
tecknow Posted April 26, 2012 Author Share Posted April 26, 2012 I haven't approached the theme editor although this might be a good suggestion before touching anything in the Theme code. Also, I'm reluctant to edit code, as Themes and Presatshop are released for production environments and I would like to think the problem is one of configuration. Nevertheless, the problem could be something else which I'm happy to entertain and any other suggestions are welcome. Link to comment Share on other sites More sharing options...
Mike Kranzler Posted April 27, 2012 Share Posted April 27, 2012 lso, I'm reluctant to edit code, as Themes and Presatshop are released for production environments and I would like to think the problem is one of configuration. Unfortunately, when you buy themes or modules from outside our Addons store, they do not go through the validation process we put submissions through to ensure that they are fully compatible with PrestaShop and will not cause these sorts of issues. -Mike Link to comment Share on other sites More sharing options...
tecknow Posted April 27, 2012 Author Share Posted April 27, 2012 This is really good information to know, how themes or modules bought outside the Addons store don't go through the validation process. I'm investigating the source of this theme to find out where it has been acquired. I'm also finding out who the developers of this theme are, to raise the problem for possible comment. This may take a few days to find out and discuss my issues with them. As soon as I have this information I shall report this back to you here. Link to comment Share on other sites More sharing options...
Dh42 Posted April 27, 2012 Share Posted April 27, 2012 If it helps http://www.templatemonster.com/prestashop-themes/33937.html Link to comment Share on other sites More sharing options...
tecknow Posted April 27, 2012 Author Share Posted April 27, 2012 Thanks - DesignHaus42 Link to comment Share on other sites More sharing options...
tecknow Posted May 29, 2012 Author Share Posted May 29, 2012 I've got the images for products working in the category page. The good news is that it didn't require any coding, or a re-installation of the Shop, which I was looking at. By using a web browser tool in Firefox called 'Inspect Element' I was able to identify the size of the image to be Width x Height (175 x 297) pixels. I then went to the > Preferences > Images Here I changed: ------------------------------------------ home_big (set at) 110px 110px (NB this had been played around with using other sizes) ------------------------------------------ to, ------------------------------------------ home_big 175 px 297 px ------------------------------------------ via, editing the home_big image parameters, with the edit icon on the right: In the edit section, I also set the image up for view in both Categories and Product Images. Saved this setting and back in the > Preferences > Images page, I also ran a 'Regenerate thumbnails' and it then all worked. I'm not sure if both both Categories and Product Images needs to be selected, however it worked, so no point trying anything else right now, unless I can be advised on the correct set up. I've attached screen shots to assist with explaining this. I believe the real source of the problem was a 'sizing' issue and putting in the correct sizes allowed the the image paths to be changed to where their thumbs were being generated on the server, as the before fixing this the images link was pointing to the a ../img/p/7/etc directory which wasn't written or had any generated thumbs in it. As an example in the http://justjewelleryboxes.com.au/category.php?id_category=3 the image link has now changed and points to: http://justjewelleryboxes.com.au/img/p/11-75-home_big.jpg I also think selecting both Categories and Products in the home_big image edit area was required as I think before this it a only had categories selected. Just before regenerating the thumbs I also change the permissions on the /img/p directory so they were all writable. This may or may not be needed to be done, however everything is working OK now. Attached are some screen shots to illustrate what I did. Link to comment Share on other sites More sharing options...
Recommended Posts