Welcome to the Linux Foundation Forum!

Images are not showing in my website


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??..


  • mfillpot
    mfillpot Posts: 2,177
    edited January 2014
    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.
  • 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.
  • mfillpot
    mfillpot Posts: 2,177
    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.
  • davidjackson95
    davidjackson95 Posts: 1
    edited January 2021

    trying to upgrade to Magento 2, it surely will help, check out more info at http://www.rltsquare.com, the Magneto agency.


Upcoming Training