You know this link:
http://media.photobucket.com/image/graphics/PennilessTeacher/Graphics/monster.jpg?o=8
redirects to this link:
http://i1133.photobucket.com/albums/m581/PennilessTeacher/Graphics/monster.jpg
Well, let's say I have:
<img src='http://media.photobucket.com/image/graphics/PennilessTeacher/Graphics/monster.jpg?o=8' width='blah' height = 'blah'/>
A request to the image URL will be redirected. I want to know the URL end . So in this case it will be http://i1133.photobucket.com/albums/m581/PennilessTeacher/Graphics/monster.jpg .
Earlier, I asked about getting the status code of a request for a cross-domain image, which seems impossible without the server side of the script that performs the http request.
Server-side scripts are out of the question here. I need the request to be processed on the client side, as some sites that the image element will link to should point to some specific cookies that are on the client side, and I obviously can not help myself, because they are intended for completely different domain. If that makes sense ...
Any client language will work. I know it or not.
Suggestions of people? Or am I completely screwed?
user849137
source share