I have a script that shows random images on a page which I’d like to take log of via Javascript or PHP. The problem is, image source is something like /random.php. How can I retrieve image data without losing the actual random assigned to that page?
Thanks,
Does this javascript do the trick:
Usage with jQuery selector:
where omg is the id of your image