• Resolved Samir.Shnino

    (@samirshnino)


    Hi,

    I have a WordPress website since two years ago and it worked perfectly. For few weeks ago the website was automatically updated to the WordPress 4.4.2. and some of the images on the website got broken.
    I’ve looked at permissions, they look good (755). I’ve installed the website on my localhost to check if those images will still be broken. They were broken and if I upload a new image, it gets broken too. I’ve tried to look at the .htaccess files but it seems that this version has no .htaccess files (couldn’t find any .htaccess files).

    When I right-click on the folder uploads, the read-only checkbox is checked, when I uncheck it and save and then right-click on the folder again, the checkbox is still checked.
    I looked at the permission of an image and it has full control for all users but not IIS_IUSRS(computer name). When I edit the permission to full control, the image shows up, when I update the website, the only image that I edit the permissions to full controls shows up.

    I’ve also tried to crop an image for the header image but I get error says “There has been error cropping your image”
    Any help, please?

Viewing 3 replies - 1 through 3 (of 3 total)
  • jacobcolton

    (@jacobcolton)

    As it is a Windows Server, it won’t have a .htaccess file. It does sound like a permissions issue. You need to give the IIS_IUSRS group write permissions across the whole site to fix this. Bear in mind this could allow other sites on the server to access this site depending on how you have configured the permissions / application pools.

    Thread Starter Samir.Shnino

    (@samirshnino)

    I’ve checked all the permissions and gave the IIS_IUSRS group full permissions but this didn’t solve the problems. I’ve also tried many things but didn’t solve the problems.
    Today I played around and just uncomment the extension=php_gd2.dll in the php.ini file and this solved the both problems.

    I can see my images and have no problem to crop the images too.

    Thread Starter Samir.Shnino

    (@samirshnino)

    Resolved!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘New uploaded images are broken on internet and localhost’ is closed to new replies.