|
Posted by Dave Kelly on 09/26/82 11:52
Jonathan N. Little wrote:
> Dave Kelly wrote:
>> I need to do the equivalent of this in HTML.
>> ===========#============
>> #!/bin/sh
>>
>>
>> for filename in *.jpg *.gif *.png; ##list all images in directory
>> do
>> <img src=images/"${filename}" width="190">
>> done
>> ============#============
>>
>> My O'Reilly book has only 1 paragraph on generating random images and
>> not code examples. I have googled and come up with some php and java
>> code. I wanted to keep away from that if I could because in the future
>> when someone else take over admin duties on the club website, they
>> probably will not know those languages.
>>
>> This directory is continually having images added. I want something
>> simple that I can drop into the from page of the website.
>>
>> Ideally, generate a new image every time the front page is accessed.
>> EV1 is the host server if that makes any difference.
>>
>
> Sorry, no can do. HTML is only markup not scripting, to do what you wish
> *requires* a script either server-side (best) PHP, Perl, Python, ASP,
> ColdFusion, ... or client-side (not-so-good) JavaScript.
>
OK, Thanks. Never know 'til you ask.
D
[Back to original message]
|