Image Proxy v1.2.0

Release Notes

  • upgrade for 2.0 settings
  • add default fallback image
  • use sha1 for generating token
  • We recently opened our elgg site - elgg Release - 1.12.2, Version - 2015041400. It is https. We are using this image proxy plugin so that our members can embed comment graphics from any site.

    A few days ago, a member reported having problems viewing images embedded from http sites (Windows 10 Chrome browser). She had no trouble viewing the images before, but now each image from an http site appears for less than a second and then it disappears leaving a small icon in its place. I tried using the Chrome browser and have the same experience. However, the images show when using Firefox, IE, and a few other browsers we've tried.

    I made a post in the Elgg Technical Support group https://elgg.org/discussion/view/2524539/chrome-browser-and-image-proxy-plugin and it was suggested I report the problem on your github page. I joined github, but couldn't figure out how to report a problem there. So, next shot was to report it here.

    Apparently, the Chrome browser doesn't like the proxy and is throwing a 403 error instead of showing the image. When using the devloper tools with Chrome, there is a list of errors. For one image from photobucket, it gives the image proxy url with the image url following it, then the token info. In the image url, the colon and slash marks are replaced by character entities %3A and %2F respectively.

    The image was shown 2 times in the list with two different error messages, "Failed to load resource: the server responded with a status of 403 ()" and "Failed to load resource: net::ERR_SPDY_PROTOCOL_ERROR"

    The other 2 items in this group also had the "Failed to load resource: the server responded with a status of 403 ()" message
    One is video from Facebook and one is an image from facebook. Both also had the character entities instead of the colon and slash mark in the direct link. I used Firefox to get the direct links to both the video and facebook image and then was able to use Chrome to view them.

    Do you have a suggestion of what can be done to fix this? Thanks

Matt Beckett

I'm a self-employed web developer, family man, nerd, scuba diver. Manager/maintainer of this elgg community site, and core Elgg development team member.

Stats

  • Category: Site admin
  • License: GNU General Public License (GPL) version 2
  • Updated: 2015-9-24
  • Downloads: 1092
  • Recommendations: 1

Other Projects

View Matt Beckett's plugins