|
Posted by dino d. on 10/01/07 20:22
> <img src=blah width=$batman[0] height=$batman[1] border=0>
> <img src=blah width=$boywonder[0] height=$boywonder[1] border=0>
> <img src=blah width=$catwoman[0] height=$catwoman[1] border=0>
>
To clarify, I'm generating 1 image and a <map> tag. The 1 image is a
bunch of images merged together using imagecopy. So, in your example,
the "src=blah" is pointing to the merged image. So, my php code looks
like this:
<img src=genimage.php?tags=5*4*3...
and genimage.php basically does this:
generate images for tags 5,4, and 3
stitch them together into one image
send them back as an image stream
So, since the sizes and locations are being generated inside genimage
script, there's no way to get the subimage size and locations. If I
want to just create a table of individual images, for example, then
your solution works.
Thanks for the reply.
Dino
Navigation:
[Reply to this message]
|