Pictures in Posts

 
Another question often asked in discussion forums (like The Honda Shadow Discussion) is "How do you add a photo to your posts?" Here are basic instructions on how to achieve this, plus a small program I had written to make it easier.

Really, you can add anything you like to your posts, all you have to do is add the HTML. The DiscussionApp program (which drives The Honda Shadow Discussion) just copies whatever is in the entry box over to the resulting page. One thing to remember however is that paragraph returns are written in HTML on webpages, and anywhere you press enter, or have a carriage return, the DiscussionApp program is going to enter a HTML return. This can really mess up your HTML, even stopping it from working in some circumstances. Therefore your HTML code should all be on one line. Its okay if it wraps in the textbox, there should just be no <Enter>'s in there.

To create your signature, just use a HTML editor and create anything you want. Then copy the resulting HTML out, delete the returns and spaces, and add it at the bottom of your posts. Bingo, you have a fancy signature. In case you really do not know HTML or webpage design, I include the following to help you out.

First you have to have your picture somewhere on the 'Net. Your ISP should have space available for you, or you can get some free space from somewhere on the 'Net... that's up to you. Once its there, just use the following code, replacing the relevant details with your own.

<a href="http://www.myserver.com/mywebsite/"><img border="0" src="http://www.myserver.com/mywebsite/myphoto.gif"></a>

 

A Program to Make it Easier: SignOn

 


The only problem with adding your picture every time is the effort it takes to go and get the HTML fragment you have created to paste into your post. To make this easy I created a program (originally for my use) which makes it very easy. All this program does is place whatever text you enter into it into the clipboard when you click it. This means all you have to do is click the shortcut to the program (I have mine on one of those Taskbar toolbars) and then click <CTRL+V> (paste) at the end of your post to insert the HTML. I figure if I can bother enough to post a message, then I can bother enough to click an icon and do one keystroke. I have offered this program to anyone who wants it below.

Instruction for Use

The program is very simple to use. Just download the program and unzip it into its own subdirectory (e.g. "SignOn"). If it does not run, telling you it requires vb40032.dll, then download that here and unzip it into the same directory the program is in. First, it will prompt you to enter the HTML fragment you have created. Just paste it into the textbox provided. Click OK. Then every time you run the program, it will not show itself, instead it will just copy the HTML you entered into the Windows clipboard. Important: If you want to re-enter the HTML portion, either delete the "signon.ini" file in the software's directory, or create a shortcut to the program, adding "/E" after the path to the program, such that the path might now be something like:

"C:\Program Files\SignOn\SignOn.exe" /E

This is handy if you want to change the HTML a lot, otherwise it would just be easier to delete the INI and start again.

Okay, download away!


SignOn.zip, ~4.5kb


If you ever decide you no longer want the program, just delete the directory you unzipped it to. It will be completely gone. The program makes no changes to your system settings, adds no files anywhere (except the signon.ini in its directory, which contains your HTML portion), and makes no file associations.

 

 

@ Sean Flanagan, 2004. All rights reserved.