Media Gallery images broken (but all other images fine) (1 post)

  1. nwebb
    Posted 1 year ago #

    Hello, hoping you can help ...

    Issue Overview (edited)
    I seem to have no issues inserting images in to my posts if I link directly to the file, but I do have issues creating an image gallery, or inserting an image and linking to the attachment page.

    When I try to create a gallery the thumbnails appear in the editor, but appear as broken images when the page is published. When I insert a normal image and link to the attachment page, the thumbnail shows up, but I have the same issues as detailed below when I try to view the image.


    • WordPress 3.9.1
    • Hosted on Bluehost, using an addon domain (which appears to the outside world as http://ericjames.co.uk)
    • In WordPress settings the WordPress & Site URLs are both pointing to http://ericjames.co.uk
    • Same issue in both Chrome and Safari - after cookies deleted

    Issue Details
    I can insert a 'normal' image, view the thumbnail and click to go through to the full-sized image without issues on the published page (the thumbnail takes me to: http://ericjames.co.uk/wp-content/uploads/YEAR/MONTH/PHOTONAME), but I cannot get image galleries to work - even when using exactly the same photo, which I uploaded as a test today.

    This is how I create an image gallery: Add Media -> Create Gallery -> [Select image] -> Create New Gallery -> Insert Gallery

    When I do this the thumbnail is visible in the editor, but not on the published page. If I click the broken thumbnail I get taken to the attachment page, where the image also doesn't show. The URL for that attachment page is:

    http://ericjames.co.uk/PAGE NAME]/[PHOTONAME WITHOUT EXTENTION]/

    If I click that broken image (or try linking directly from the thumbnail the to the media file) I get the following URL:

    However the https is crossed out and Chrome warns me of this:
    "You attempted to reach ericjames.co.uk, but instead you actually reached a server identifying itself as*.bluehost.com. This may be caused by a misconfiguration on the server or by something more serious. "

    ... and the following text is in the browser window (i.e. I see this instead of seeing the image)

    <META HTTP-EQUIV="Refresh" CONTENT="0;URL=http://ericjames.[MY MAIN DOMAIN]/wp-content/uploads/[YEAR]/[MONTH]/[PHOTONAME]"><h1>MY MAIN DOMAIN]/wp-content/uploads/[YEAR]/[MONTH/[PHOTONAME]>VIEW TEMPORARY SITE</h1>

    So, the warning mentions Bluehost, and the text mentions "ericjames" as the subdomain it really is (i.e. ericjames.mymainsite.co.uk). I hope this is enough info to help someone spot what's wrong.
    Thanks :)

Topic Closed

This topic has been closed to new replies.

About this Topic