ok, so i have a simple php file for outputting an image stream, it ends as the following:
imagejpeg($image);
then if i go to an html page, and insert image and point it to that php page outputting images dynamically, no problems, they load in the page fine, as if i were calling the image directly.
now, my question is the following:
i need to execute another page when this happens (the image loads), ie: some html page... all without distorting the image stream. i noticed its very picky, and if i try anything it just wont show the image.
how can this be done either pre or post imagejpeg, even possible in php? how about maybe create some rewrite rule for apache to maybe load 2 pages when that url is accessed? that one that is to display the image, and then another?
any ideas?