Images not showing on blog

This morning most of the images on my wordpress blog (http://records.photodharma.net) have stopped loading.

This even happening on embeds. All the images here are embedded: http://records.photodharma.net/photos/chiang-mai-photo-albums-of-modern-structures When I view them in Firebug, they appear, but not on the page.

Read More

A couple of times I have seen images load and shortly after disappear, so it seems that they try to load but are being blocked.

I have done some searching and tried various things like updating the permalink settings, the media settings, etc. I also updated to the latest version of wordpress, and updated the .htaccess but nothing has worked.

Does anyone have any ideas about this?

Related posts

Leave a Reply

4 comments

  1. I’ve opened one of the missing images on a different tab and a ‘Forbidden 403’ message appears. The page shows as follows:

    403 Forbidden

    You are not allowed to access this page. Possible problems:

    • Missing index file
    • Misconfigured mod_rewrite settings in .htaccess
    • Authentication Failure
    • Incorrect file or folder permissions

    Which are valid reasons you should try to check out. The folder permissions could be the answer to your problem, but if you haven’t made any special changes on your server or blog admin, I think the .htaccess could be the solution.

    The typical

    # BEGIN WordPress
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>
    # END WordPress
    

    should be in your .htaccess. And check if you’ve got mod_rewrite enabled with

    a2enmod rewrite
    

    on your server. Hope this helps.

  2. If the image loads directly from photodharma.net, but not from records.photodharma.net, then I suspect that you might have hotlinking disabled.

    Do you have any hotlinking-prevention rules your .htaccess file? Do you have any Plugins active that are preventing hotlinking.

    Note: if the issue is hotlinking prevention, you will need to check .htaccess and Plugins on photodharma.net, not on records.photodharma.net.

    EDIT

    If you’ve got no hotlink protection anywhere, then the next likely culprit is file/folder permissions.

    What are the permissions on http://www.photodharma.net/Blog/images/?

  3. Talk to your host servage.net. They must have made some changes in their Apache config for ownership/permissions of the account or in mod_rewrite.

    Dev tools shows “Failed to load resource: the server responded with a status of 403 (Forbidden)” so that means a directory level issue, even though you can load the direct image URL in a new window and see it.