Jump to content

[SOLVED] Cover Photo Not Showing


Recommended Posts

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:

 

-----------------------------------------------------------------------

-----------------------------------------------------------------------

 

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

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

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

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

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 edit.gif delete.gif 2 medium 80 px 80 px edit.gif delete.gif 3 large 300 px 300 px edit.gif delete.gif 4 thickbox 600 px 600 px edit.gif delete.gif 5 category 500 px 150 px edit.gif delete.gif 6 home 129 px 129 px edit.gif delete.gif 7 large_scene 556 px 200 px edit.gif delete.gif 8 thumb_scene 161 px 58 px edit.gif delete.gif 9 home big 150 px 150 px edit.gif delete.gif

 

-------------------------------------------------------------------

 

When I selected the edit button on each image type I noticed that they all had this tick boxed

 

-------------------------------------------------------------------

 

Categories:

enabled.gifdisabled.gif

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

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

I did this to no luck.

 

Force Compile set to: YES

Cache set to: NO

 

THEN SAVED

 

-----------------------------------------------------------------------------------------------------

 

Force compile:

enabled.gif Yes disabled.gif 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:

enabled.gif Yes disabled.gif No

Should be enabled except for debugging.

 

I got this error:

 

There is 1 warning Hide warning

-----------------------------------------------------------------------------------------------------

 

CACHE WAS SET TO NO HERE & UNCHANGED THROUGHOUT THIS OPERATION

 

At the bottom of the page caching was set at: Use cache:

enabled.gifdisabled.gif

Enable or disable caching system Caching system:

 

 

add.gifAdd server

 

-------------------------------------------------------------------------------------------

 

I didn't change any of this.

Link to comment
Share on other sites

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

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

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

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

  • 1 month later...

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.

post-355076-0-31632600-1338269804_thumb.png

post-355076-0-87104800-1338269957_thumb.png

post-355076-0-82338100-1338269987_thumb.png

post-355076-0-75534100-1338270016_thumb.png

Link to comment
Share on other sites

×
×
  • Create New...