Delphi: Automating the creation of an HTML photo album
This has good information, and a search button at the bottom of the page
Please don't dismiss it because it isn't full of graphics, scripts, cookies, etc!
Click here if you want to know more about the source
and format of these pages.
This particular tutorial is atypically sketchy... please don't judge the others from this. However, while it may lack guidance, there is source code for a program. The source code is heavily commented... see it for some of the "tutorial" element in this. I am working on a shareware version of the program, email me if interested (c. $20)
Click here to download a zip file with the source code.
First: What this ISN'T: It isn't a system to set up an image server for the internet.
What it is: The program reads a script file put together by the user. It generates some html which can be posted on the web to display jpeg files located in the same location on the web. The results look like my photo album of my South America trip, see the link below. The slow load ime, by the way, is a function of the level of quality I chose for the images, not of the html delivering them...
The script file is prepared using Notepad or similar. It essentially says "I want {this image}, {this size}, with {this caption}. That material is repeated once for each photo. The Delphi program in the zip file is then run, and suitable html is generated, for posting, with the images, on the web.
The program is incomplete. However, you can see things working in it, and see how they work. I'm quite pleased with the interlocking use I've made of OnExit and OnChange events for the edit boxes, and {button}.enabled:=true/false to error check filename specifications, and prevent inadvertant overwriting of already existing files.
You will also see a way to use memos to access small text files, e.g. ini files, or, as in this case, script files.
Apologies for the sketchy notes... I have to post this as it is now, or leave the material unavailable even longer!!! Let me know if anything here is seriously wrong or misleading?
Click here to download zip file with the source code.
Please click on this to rate this tutorial....
.. and click here, too, if you're feeling really kind! (Promotes my site via "Top100Borland")
.. and click here, too, if you're feeling really kind! (Promotes my site via "Top100Borland")
Ad from page's editor: Yes.. I do enjoy compiling these things for you...
hope they are helpful. However.. this doesn't pay my bills!!! If you
find this stuff useful, (and you run an MS-DOS or Windows pc) please visit my freeware and shareware page,
download something, and circulate it for me? Links on your page to
this page would also be appreciated!
Why does this site cause a script to run? I have the traffic to this page monitored for me by Jazar Top 200 Delphi, and they provide promotional services, too. Click the "Help get this site publicity" link above for more information.