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

Posted by Dave Kelly on 09/29/14 11:52

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.


TIA
Dave

 

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

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