Linux.com

Home Linux Community Forums Linux Distributions Red Hat Images are not showing in my website

Images are not showing in my website

Link to this post 13 Jan

Hi,

We are using centos with magento application to run a website. Everything is finished and site is up, but images are not displaying properly its shows loading symbol. Can anyone help me??..

Link to this post 14 Jan

It sounds like the reference location to the images within the webpages is incorrect. Have you tried checking the image location on the webpages and comparing it against the filesystem location where the images are located?

Additionally the permission on the images or image directory may be incorrect, make sure that the file and directory permissions match the permissions that are used on the pages that are being displayed.

Link to this post 20 Jan

Hi,

Thanks for the reply,
Image location and folder permissions are seems fine.

As we checked, cache is creating the images automatically in cache folder however the ownership permissions of those images are created as "nobody" user.

If we give permission to those images forcefully as a normal user, its showing in the website for few minutes however after clearing the cache or refreshing the browser the cache is creating a new images and again the images are not showing in my website. Its shows only loading symbol continuously.

Kindly advice.

Link to this post 21 Jan

Ok, then the permissions are the caus. The files are created under nobody, but the http daemon does not have access to those files. Please read the post at http://stackoverflow.com/questions/580584/setting-default-permissions-for-newly-created-files-and-sub-directories-under-a for a hint. You can also check the manual for the http server to see if you can change the default cache image permissions.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board