4images Forum & Community
4images Issues / Ausgaben => Discussion & Troubleshooting => Topic started by: 8o8o8.com on June 20, 2006, 10:00:11 AM
-
Hi
I have a problem in my gallery
when I upload an image with a link started with IP address it gives me " File not found "
for example :
if the images link is
http://127.0.0.1/data/media/2/any.jpg
it gives me file not found
please can you help me fix this problem.
-
1) "File not found" ? showing it were? on details page?
2) if you open type that address in the address bar, can you see the image?
3 If you are using 4images v1.7 or v1.7.1 that is the cause, because this issue was fixed in v1.7.2
In includes/functions.php find and comment out or remove: if (!preg_match("/^https?\\:\\/\\/[a-z0-9\-]+\.([a-z0-9\-]+\.)?[a-z]+/i", $url)) {
$url = "";
}
-
1) yes on details page
2) No I can not see the images what I can see is only this (http://www.8o8o8.com/gm/templates/8o8o82006/icons/404.gif)
3) I have done what you reply still the same thing.
by the way I am using 4images 1.7.1
-
2) No I can not see the images what I can see is only this (http://www.8o8o8.com/gm/templates/8o8o82006/icons/404.gif)
I think you missunderstood me.
You said you used an external address to the images with IP in it (http://127.0.0.1/data/media/2/any.jpg) now, if you open that address in your browser, can you see the image?
My point is, maybe the address is uncorrect....127.0.0.1 is your computer address and equal to localhost "domain" (I guess it was an example only)
-
the IP I include before is an example
to try it by your self see this link
http://70.85.237.218/data/media/11/111_5.swf
-
Just tested on a fresh v1.7.1 and after doing the changes I posted above, I was able added your .swf file as a remote media and it showed just fine on details page. Though, after the file was added, I revert the changes to original code and still, details page showed the flash without problem...
-
Really I have done upgrade to the 1.7.2 and the problem is fixed
thanks :D