Start Page Graphics
© 2002 Walt Howe.
In order to put graphics on your Start page on Delphi, there are several things to learn:
(last updated 19 January 2007)
Let's take them one at a time...
- You need to know how to prepare the picture(s) to use in your Start page.
- You need to know where to put graphics on the web and how to upload the graphics files.
- You need to know some simple HTML code to call it into the Start page.
- This help file assumes you already have a picture file you want to use. Your graphic must be in either JPEG or GIF format. BMP will work with the MSIE browser, but it is a poor choice for a format, because the files are huge and take a long time for people to download. Whether you should use JPEG or GIF depends on the type of picture. In general, JPEG is best for photographs and GIF is best for drawings, text art, cartoons, sketches, etc. For a lot more help with this, read Creating Small, Fast-Loading Graphics.
You can convert your graphic to GIF or JPEG with many common graphics programs, even the Paint program included with Microsoft Windows. You may want to resize the picture, too, if it is a large one. Try to keep the resulting file under 15K in size and under 300 pixels wide.
- Now where do you put the graphic so that it can be called into your Start page? You can't just leave it on your hard drive, because nobody but you can access that location. Delphi gives you a text/HTML window for your Start page reached from Controls/Forum Publishing menu, but it just holds text and HTML code, not graphics files. The GIF or JPEG file must be uploaded or FTPed to a web location. There used to be many places on the nets where you could post graphics files and call them with HTML, but with the collapse of ad revenue on the nets, there are very few left. If your ISP gives you some storages space, you can probably post files there. Another choice is the DelphiPlus membership, which gives you 5 MB of storage space for about $4 per month.
Other choices are to put graphics on web sites outside Delphi and call them from there. Some web sites invite you to store graphics; others block outside calls to them, considering it an imposition. Read the policies of the site you select carefully enough to understand whether they support outside calls to graphics or not. Check the remote site for instructions on uploading or using FTP to upload the files.
- Once the graphic is in place at a web location, then you need to add the HTML code to the signature block in the My Preferences page to call it into your signature. It uses the IMG tag, and it will look something like this:
<IMG src="http://some.web.address/imagename.jpg" height=?? width=?? alt="short description of graphic">
Adjust the IMG tag above with the right address and filename and the actual size (height and width) in pixels of the graphic.
For example, if your membername is FISH and you have a graphic uploaded to your DelphiPlus member web space named logo.gif which is 250 pixels wide and 50 pixels high, your IMG tag would look like this:
<IMG src="http://people.delphiforums.com/fish/logo.gif" height=50 width=250 alt="My Forum Logo">
If you want to learn a little more HTML code, you can learn to control font color, size, and style, too. See HTML Resources for some ways to get started.
As you work on graphics for the first time, you will probably have some questions. Feel free to ask your questions in the Publishing on the Web Forum