• Hopefully somebody can help me. I don’t see any other mentions of my issues in the forums, google, etc, so I can only assume the problem exists between the keyboard and the chair. Having said that, I cant find it.

    Eazyest Gallery Version: 0.2.0-alpha-327 and 1.3.1
    Your Gallery folder setting: wp-content/uploads/gallery/ and several other folder
    Your site URL: wordpress.risstech.ca

    Images and Thumbnail display in pages/posts/etc are broken (404); however, viewing through the gallery and the edit folder in the wordpress admin panel work fine.

    I have removed and reinstalled the plugin several times including disabling all other plugins.

    In short this is what I am seeing for one (although all photos are broken):
    Real Path of the image: /public_html/wordpress/wp-content/uploads/gallery/test/IMG_0009.jpg
    Real Path of a thumbnail: /public_html/wordpress/wp-content/uploads/gallery/test/_cache/IMG_0009-768×1024.jpg
    “Your Gallery Folder” Path set in Eazyest Gallery settings: wp-content/uploads/gallery/

    Now, I also created the folder and uploaded the image via wordpress/Eazyest just to make sure all was good with that part.

    Now, for some reason through the webpage the path is messed up, it doesnt matter what I set the “your gallery folder” to, or how I move the photo in, from the public site, it will always show: <img width=”150″ height=”150″ class=”attachment-thumbnail” alt=”IMG_0009″ src=”https://wordpress.risstech.ca/wp-content/uploads/test/_cache/IMG_0009-150×150.jpg”&gt;

    You’ll notice that the path is wrong as it is missing “gallery”. https://<URL>/wp-content/uploads/<foledrname>/<imagename/thumbname&gt; is always the path it uses (wp-content/uploads)

    Example: https://wordpress.risstech.ca/?galleryfolder=test

    Thoughts?

    https://www.ads-software.com/plugins/eazyest-gallery/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter lrissman

    (@lrissman)

    Okay.. so i reinstalled from scratch… backup, install, test, restore, backup install test restore… Exciting day… but fruitful.

    So… situation:
    1) install clean wordpress 3.6.1.
    2) install Eazyest Gallery
    3) create folder
    4) add photo to folder using wordpress/Eazyest Gallery
    —-
    at this point we are clean and working fine
    —-
    5)Install WordPress HTTPS plugin
    6)Activate plugin
    7)Enable “Force SSL Administration” in HTTPS Plugin
    —-
    At this point we are now broken
    —-
    8) click on Eazyest Gallery in the admin panel
    9) Eazyest Gallery will now scan for new pictures and find an additional duplicate and identify it as missing. And add it with a file-last-modify date instead of the upload date. Details of that photo show the same path as the original, but when viewed through the page, the path is wrong as in my first post.

    ——
    At this point I will backup my install, start fresh and find a replacement for the plugin “WordPress HTTPS” and I don’t intend to debug further unless I come to another problem. If somebody would like to debug more, let me know and i can spin up an instance.

    Not resolved, but at least repeatable and avoidable.

    Thread Starter lrissman

    (@lrissman)

    Okay, I know I said I wouldnt troubleshoot further but I hit the next hurdle and found some more interesting information.

    Here goes, I replaced WordPress HTTPS Plugin with this guide: https://codex.www.ads-software.com/Administration_Over_SSL
    (In essence add define('FORCE_SSL_ADMIN', true); to your wp-config.php).

    Now here is the crux.
    If the photos are discovered via a HTTPS admin session, they are viewable if you view the page with HTTPS, Not HTTP.

    If the photos are discovered via a HTTP admin session, they are viewable if you view the page with HTTP, not HTTPs.

    So, clearly there is an issue with the discovery script in Eazyest Gallary and storing paths for only HTTP or HTTPs. And seems that when you access the page via the other protocol, it defaults to wp-content/upload instead of what it should be.

    Oups…

    Thread Starter lrissman

    (@lrissman)

    Okay some more info… seems this is a bug introduced in wordpress 3.3. https://core.trac.www.ads-software.com/ticket/19722

    In essence I’ve been digging into the GUID stored for the post created for each of the image attachments. In short, if you upload via wordpress or Eazyest, the protocol you are using in the admin panel at the time of the upload (or discovery in the case of Easyest) is stored in the GUID for that post (attachment).

    Ie, HTTP/HTTPs.

    Now, it seems that wordpress does a bit of a substitution if you load up the thumbnail/attachment from a http session when uploaded with HTTPS (or vice versa) and then puts in the incorrect path.

    I am going to test a few theories for workarounds as I cant imagine using wordpress without at least SSL login (to prevent cleartext password transmission).

    Adhitya Fernando

    (@adhitya-fernando)

    Hi Irissman,
    Glad to find your post, I’m facing similiar problem.
    My thumbnail image are broken in Eazyest gallery folder. But not with the larger image, it could show if I click tha broken thumbnail.

    So, how to fix that problem?
    Please help.

    Adhitya
    Indonesia

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Images and Thumbnails broken’ is closed to new replies.