Jump to content

[RESOLVED] Product Images Not Showing on Website


Recommended Posts

Hi,

 

I'm an absolute newbie to PrestaShop.

My website (www.farmyummies.co.za)  was on PrestaShop 1.7.4.0 before with no issues until one day when I couldn't log in with a 504 Gateway timeout error.  Turns out that disabling the Gamification module fixed this error.

I attempted to upgrade to PrestaShop 1.7.4.4 but had issues with 1Click, so my hosting provider wiped everything and installed 1.7.4.4 from scratch.  

Now, everything's there, except that the product images aren't showing, as follows:

image.thumb.png.6666de8717c95c3855c7f7f53e3427e9.png

I tried to delete one product image on the backend and re-uploading it but it's still not showing.  But I do have all the images in the backend, as follows:

image.thumb.png.ed049173fd1614b810674d1c0f59e5d6.png

 

What can I do to fix this without messing with code, etc?

Quite urgent as I have a meeting with the big bosses this afternoon and the site needs to be functional by then ..... 😟

Thank you

image.png

Edited by VeeTee
Extra image not required (see edit history)
Link to comment
Share on other sites

  • 3 months later...
  • 5 months later...
  • 4 months later...

I got similar problem.

I am using PS 1.7.6.1.

A customer reported to me. He can see ALL images normally WITHOUT login. Once login, ALL images frame show empty.

I try to do the steps above 

1. Delete .htaccess in root

2. Disable and then "Friendly URL" (to regen .htaccess)

3. Clear cache

Problem persist !? Anyone help ?1

 

Thanks

Edited by dtwfung (see edit history)
  • Like 1
Link to comment
Share on other sites

  • 1 month later...
On 2/4/2020 at 4:13 PM, dtwfung said:

I got similar problem.

I am using PS 1.7.6.1.

A customer reported to me. He can see ALL images normally WITHOUT login. Once login, ALL images frame show empty.

I try to do the steps above 

1. Delete .htaccess in root

2. Disable and then "Friendly URL" (to regen .htaccess)

3. Clear cache

Problem persist !? Anyone help ?1

 

Thanks

Anyone found solution for this?

I have same problem: A customer reported to me. He can see ALL images normally WITHOUT login. Once login, ALL images frame show empty.

Link to comment
Share on other sites

On 2/4/2020 at 4:13 PM, dtwfung said:

I got similar problem.

I am using PS 1.7.6.1.

A customer reported to me. He can see ALL images normally WITHOUT login. Once login, ALL images frame show empty.

I try to do the steps above 

1. Delete .htaccess in root

2. Disable and then "Friendly URL" (to regen .htaccess)

3. Clear cache

Problem persist !? Anyone help ?1

 

Thanks

I found out that the problem is caused by the native Watermark module.

I have selected "Login customers can see the image with NO watermark." Once I disabled the option, I can see all images AFTER login.

  • Like 1
  • Thanks 1
Link to comment
Share on other sites

  • 2 months later...
On 12/17/2018 at 12:11 PM, El Patron said:

fyi if you have this issues.  

try this (to regenerate the .htaccess file)

PS.16

preferences-->seo & urls-->scroll down-->disable friendly url, if already disableD then enable---->click save

now return friendly url to enabled/disabled that you were using-->click save

PS.17

Shop Parms-->seo & urls-->scroll down-->disable friendly url, if already disableD then enable---->click save

now return friendly url to enabled/disabled that you were using-->click save

 

go to website and hit F5 

 

Many Thanks!!! works for my

Link to comment
Share on other sites

  • 2 months later...
  • 3 weeks later...
On 12/17/2018 at 3:11 PM, El Patron said:

fyi if you have this issues.  

try this (to regenerate the .htaccess file)

PS.16

preferences-->seo & urls-->scroll down-->disable friendly url, if already disableD then enable---->click save

now return friendly url to enabled/disabled that you were using-->click save

PS.17

Shop Parms-->seo & urls-->scroll down-->disable friendly url, if already disableD then enable---->click save

now return friendly url to enabled/disabled that you were using-->click save

 

go to website and hit F5 

 

Thank you so much @El Patron !!  Don't know what happened...but  the htaccess file regeneration  fixed it!! 

  • Like 1
Link to comment
Share on other sites

  • 3 months later...
  • 3 months later...
  • 4 months later...
  • 1 month later...

Maybe someone (like me) needs another solution. None of the above helped me. What happend in my case and maybe in others too?

In my fresh PS 1.7.7 installation in backoffice menu: Design > Image Settings I did not have defined "image settings" - thumbnails dimensions (like small_default, medium_default etc.). I don't know why, because I didn't remove it. List of defined photo thumbnails dimensions was empty.

I just defined them, like should be by default, and after that (also at this screen, a little below) I regenarte thumbnails. That's all :) Works!

cart_default / 125 px / 125 px
small_default / 98 px / 98 px
medium_default / 452 px / 452 px
home_default / 250 px / 250 px
large_default / 800 px / 800 px
category_default / 141 px / 180 px
stores_default / 170 px / 115 px

  • Like 1
  • Thanks 2
Link to comment
Share on other sites

  • 3 months later...
On 8/31/2021 at 2:05 AM, Rynraf said:

Maybe someone (like me) needs another solution. None of the above helped me. What happend in my case and maybe in others too?

In my fresh PS 1.7.7 installation in backoffice menu: Design > Image Settings I did not have defined "image settings" - thumbnails dimensions (like small_default, medium_default etc.). I don't know why, because I didn't remove it. List of defined photo thumbnails dimensions was empty.

I just defined them, like should be by default, and after that (also at this screen, a little below) I regenarte thumbnails. That's all :) Works!

cart_default / 125 px / 125 px
small_default / 98 px / 98 px
medium_default / 452 px / 452 px
home_default / 250 px / 250 px
large_default / 800 px / 800 px
category_default / 141 px / 180 px
stores_default / 170 px / 115 px

I think this was working for me

Link to comment
Share on other sites

  • 1 year later...

PS ver 1.7.7.8 

Had same issue with images not showing on home screen and link to pages that went no where.

In the admin portal I went to Configure/Shop Parameters/ Traffic and SEO/  to the Set up URLS and turned off URL rewriting option to 'NO'

hit the SAVE button and viewed my shop. All pages and images now work. I did not have to delete any files.

Hope that helps.

Link to comment
Share on other sites

  • 1 month later...
  • 2 weeks later...

Hello Folks,

Please follow these steps.

If images are showing in the backoffice but not in the front office.

i) Disable friendly URL

ii) Regenerate thumbnails

iii) Check whether images are showing properly or not.

iv) If images are showing properly then turn on the friendly URL again

If images still not showing then provide CHMOD 777 permission to img directory of Prestashop

Hope it will resolve your issue.

Thanks 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...