Denis McMahon wrote:
> However, to save creating html files for each image, you could open them
> in a new window (or tab, depending on the viewers browser settings)
> using javascript to create the html that both loads the image and
> applies the styles.
Or better yet use a server side script to generate the page for each
image that would *always* work regardless of the user's browser
settings. Many scripts out there, but if you wish to roll your own it is
very simple in the language of your choice, and outline in pseudocode:
Get image name passed in query string
Filter value to insure safe
(
limit length to reasonable size
remove "bad" characters not allowed in filename
)
Validate value
(
compare to preset list
or
compare to listing that your script creates by reading the image
folder
)
If value valid image then
create page with image
Else
display error message
--
Take care,
Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com