Solved post pics as files appear

January 24, 2014 at 17:02:17
Specs: Windows XP, 650 /256mb
using html how can i post pics from a folder in a webpage automatically adjusting for the number of images in the directory? files would be uploaded as 1.jpg, 2.jpg, 3.jpg etc.

If ther is no file e.g. "45.jpg" then the routine/loop would stop writing <img> tags

sorry for the terrible terminology
this is my 40 years code mixing...

10 read A$
20 if A$=0 then end
30 <img src="../images/A$>
49 goto 10

message edited by treveena

See More: post pics as files appear

January 25, 2014 at 00:22:42
✔ Best Answer
Use the wildcard asterisk instead of the actual number: *.jpg

The wildcard effectively means "any character or number".

Not sure you can use it in a batch file but no harm to try it.

Report •
Related Solutions

Ask Question