HOME - - - / - - / - - / - - - TUTORIALS INDEX - - - / - - / - - / - - - Other material for programmers

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 time, by the way, is a function of the level of quality I chose for the images, not of the html delivering them...

Click here for my photos.

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 inadvertent 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.




Click here if you're feeling kind! (Promotes my site via "Top100Borland")
            powered by FreeFind
  Site search Web search
Site Map    What's New    Search This search merely looks for the words you enter. It won't answer "Where can I download InpOut32?"
The search engine is not intelligent. It merely seeks the words you specify. It will not do anything sensible with "What does the 'could not compile' error mean?" It will just return references to pages with "what", "does", "could", "not".... etc.

Also: This search only searches the material on one of my websites.

      Click here to visit another of my sites.

      Click here to visit my third site.




Click here if you're feeling kind! (Promotes my site via "Top100Borland")
Ad from page's editor: Yes.. I do enjoy compiling these things for you. I hope they are helpful. However... this doesn't pay my bills!!! Sheepdog Software (tm) is supposed to help do that, so if you found this stuff useful, (and you run a Windows or MS-DOS 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!
Click here to visit editor's freeware, shareware page.

Link to Tutorials main page
Here is how you can contact this page's author, Tom Boyd.


Valid HTML 4.01 Transitional Page WILL BE tested for compliance with INDUSTRY (not MS-only) standards, using the free, publicly accessible validator at validator.w3.org


If this page causes a script to run, why? Because of things like Google panels, and the code for the search button. Why do I mention scripts? Be sure you know all you need to about spyware.

....... P a g e . . . E n d s .....