• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Fixed proxy.php?image failing

MattW

Well-known member
#1
I've added my own images to a resource, and the images are failing to load due to the proxy running

The URL being generated :
Code:
http://xenforo.com/community/proxy.php?image=http%3A%2F%2Fdata.z22se.com%2Fdata%2Fattachment-files%2F2014%2F01%2F54688_upload_2014-1-28_10-2-32.png&hash=12b80e094a17513e619b63ea3e126080
Correct image URL
Code:
http://data.z22se.com/data/attachment-files/2014/01/54688_upload_2014-1-28_10-2-32.png
The were inserted into the resource using the IMG tags

upload_2014-1-28_10-35-15.png

http://xenforo.com/community/resources/elasticsearch-cluster.2809/
 

Mike

XenForo developer
Staff member
#2
It looks like the early "is image" check that we're doing was failing. I've tweaked this check to happen a bit later, though it could just be disabled entirely if needed (it just breaks early if an invalid image is given).
 

Moshe1010

Well-known member
#3
It looks like the early "is image" check that we're doing was failing. I've tweaked this check to happen a bit later, though it could just be disabled entirely if needed (it just breaks early if an invalid image is given).
I'm not sure if it's connected, but I've tried to post an image here:
http://xenforo.com/community/threads/image.67556/

This one:
http://upload.wikimedia.org/wikipedia/commons/5/5e/M104_ngc4594_sombrero_galaxy_hi-res.jpg

And it does the same thing.
kkjkj.jpeg
 

Mike

XenForo developer
Staff member
#4
That appears to be from the "Image Cache Max Size (Kilobytes)" option. (It defaults to 5MB, that image is 34MB.)
 

Moshe1010

Well-known member
#5
That appears to be from the "Image Cache Max Size (Kilobytes)" option. (It defaults to 5MB, that image is 34MB.)
So just to make sure. If I set the limit to 0 and choose to cache such images for let's say 7 days, after 7 days they would be gone from my server automatically (meaning it wouldn't affect my server's disk space more than 7 days)?
 

Mike

XenForo developer
Staff member
#11
Your issue is very likely unrelated. I would recommend posting a thread in troubleshooting with all the details you can provide.