Click to See Complete Forum and Search --> : help with random image displayer


wujomao
09-25-2003, 11:25 PM
i'm trying out Matt's random image displayer and also his SSI_image displayer. Since I am unsure what SSI means, I am going to try the simple version first. I placed "rand_image.pl" in my cgi-bin folder and set the rights to all read+execute.

my image link look like this: <img src="../cgi-bin/rand_image.pl">

so far it doesn't work. there're no error messages, it's just showing a broken link where the image is supposed to be.

wujomao
09-26-2003, 07:19 AM
opps, my site host currently does not support open cgi-bin. have to upgrade my plan to start using cgi. I answered my own question:p

I do have another question, is it better to use javascript or cgi to display random images?

thanks,
wujomao

Jona
09-26-2003, 04:37 PM
Originally posted by wujomao
I do have another question, is it better to use javascript or cgi to display random images?

Definitely CGI, since JavaScript random images will not work for ~13% of your visitors, and the WCAG (http://www.w3.org/TR/WCAG10/) and Section 508 (http://www.section508.gov) state that your pages should be accessible to those with disabilities.

[J]ona