Question: Product Image Does Not Appear

Product Image Does Not Appear

Hello, I am registering my products, using images with dimensions 500x500 and I am having problems. On the sales site the image does not appear, but the POS normally shows what I do to appea

JF

Jônatas Felipe

Asked
Hello, I am registering my products, using images with dimensions 500x500 and I am having problems. On the sales site the image does not appear, but the POS normally shows what I do to appear in the shop. Check out the attached images
  • MS

    Mian Saleem

    Answered
    Hello,

    I can't guess, can you please check the errors in console (right click on image place and inspect element to open the dev tools then click the console tab and take screenshot) on shop page.
  • JF

    Jônatas Felipe

    Answered
    Here it is
  • MS

    Mian Saleem

    Answered
    403 :( Please check with your server admin/host.
  • JF

    Jônatas Felipe

    Answered
    I am the administrator, but I don't know what to do. I have little knowledge with websites
  • JF

    Jônatas Felipe

    Answered
    I found the problem.
    When I upload an image of a product, in the directory it has permission 604, and the correct permission is 755. How can I configure it to upload it with permission 755?
  • MS

    Mian Saleem

    Answered
    I am not server admin but the following permission should be fine
    ```
    Directories/Folders: 755 & Files: 644
    ```

    You might be to pay attention on the file/folder owner. Thank you
  • JF

    Jônatas Felipe

    Answered
    So this is exactly the problem, or our server can set permission to 755, but who knows what permission the script file is, you know?
  • MS

    Mian Saleem

    Answered
    As I told you before my knowledge of server administration is almost 0 and google found this for me [Linux / UNIX: Change File Permissions Recursively ( conditional )](https://www.cyberciti.biz/faq/howto-apply-conditional-recursive-chmod-file-permissions/) and this Questions [How do I change permissions for a folder and all of its subfolders and files in one step in Linux?](https://stackoverflow.com/questions/3740152/how-do-i-change-permissions-for-a-folder-and-all-of-its-subfolders-and-files-in)
  • JF

    Jônatas Felipe

    Answered
    I use shared hosting, have you tested before?
  • MS

    Mian Saleem

    Answered
    Majority of customers are on shared hosting. cPanel has option to change permissions and other hosting panel should have those option too. You can check with your host as they can guide in details.
  • Login to Reply