If I understand you correctly, what you suggest I do is:
1) Make function to calculate koordinates
2) (In the same function draw the picture)
3) include the function when the picture is inserted in php
My postulate still is, that this is not feasible whre using the direct stream (ie the picture generated by gdlib is not saved before it is called)
The paradox still remains, that waht i try to accomplish is ultimately a pseudo-code like:
[...insert picture [A: function that calculates and streams picture] using the map [B: koordinates picked up at the same time as A] ]
I have solved the problem by:
1: generate picture and pick up coordinates
2: saved the picture
3: now make the call with reference to the saved picture and the koordinates picked up.
This however requires that the image be saved and then called again, which is time-consuming.
I again thank you for trying to solve the issue, but I´m afraid it is difficult for me to explain the paradox better than I have tried. If you for some reason should have 10 minutes to spare, I dare you (but in no way ask of you) to accomplish the following:
1: make a function that draws a 10x10 pixel box in a 100x100 pixel picture at a random spot.
2: Using _direct streaming_ (no saving) of that picture make an image_map of the 10x10 box so that when the user clicks on the spot he is taken to
http://www.google.com
I´m sure, that it can be done, but I have still to figure out how.
Thanks again for the time spent, and If I have totally misunderstood your posts, and you have in fact solved the problem, I apologize
Best wishes
Thomas