You are here: Re: Generating images on the front page. « HTML « IT news, forums, messages
Re: Generating images on the front page.

Posted by Dave Kelly on 09/29/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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация