| [reply] |
For each image you can make the images URL refer to a CGI like the one he gave you so that each image is a call to the CGI.
| [reply] |
Just to clarify a little bit:
<img src="PATH_TO_CGI.cgi?whatever_params_youneed">
| [reply] [d/l] |
I'd actually suggest using PATH_INFO to pass around the parameters, as it makes it more likely that browsers will cache it, and not attempt to resubmit, because they see a QUERY_STRING, and shut off caching. (You can also send cache-control headers).
And don't forget your ALT attribute:
printf( '<img src="%s/%s" alt="%s" width="%i" height="%i" />',
$cgi_url, @image{qw(id description width height)} );
| [reply] [d/l] |
You could use the data: url scheme, but you'll find browser support a little lacking (Internet Explorer is among those browsers without support).
You'll need to, as previously mentioned, have the user agent make additional requests for each image.
| [reply] |