Sometimes you just need to get something done FAST and dirty, this will help with one of those moments….
You need to Insert a Linked Image into Your Conference or Event Website’s Sidebar
Let’s say that your conference website or event blog has a side bar like this site. You need to get an image, banner or sponsor’s logo embedded into that sidebar quick. This image needs to link to an outside site. This image must also have some text underneath. Oh crap.
Now let’s say that you are all alone, stranded with no outside help other than this post (it could happen)….or perhaps, you are just sick of waiting on everyone else and just want it done (more likely)..
Now let’s say that you have NO idea how to get the HTML code to make this happen.
Well, you can open up your image editor to get the text inserted, you could then Google HTML insert picture code and find a site that would help you out and then you could manually type it all out so that it is perfect and then you could insert it only to find out you made a mistake and then you would scream and then go back to the drawing board and try again, maybe getting it right, maybe not and then you can Google another solution…
OR you can use this little trick that will get it correct every time and will only take about 2 Minutes.
I am going to show you a real world example. We are now an affiliate of the Event Leadership Institute (Shameless Plug) and I need to put a logo and some text in the sidebar of this website.
Here are the simple steps to insert an image into your sidebar
Resize your image using an image editor (here is a link to my post on easy online image editors). Most side bars are between 200 and 300 pixels wide, so I always go with about 225 or 250.
Log into your WordPress site and open a new post…really, stop laughing, this shit works.
This is not a post that you are ever going to publish so you could name it Photo Code Generator and save it as a draft to use forever.
Insert a photo into the post using the tried and true method, the old insert picture button:
Fill out all of the relevant items including the alternate image text, the link where you would like site visitors to go, make sure that you have clicked insert full size and that it is centered….pretty much all of the spaces. I love the red arrows in this image, they make it look really complicated.
Now, insert the image into the post and it should look like this, now I want you to click on the HTML button as pictured.
Copy the code, but only the part between the < a> < /a> tags:
Save your draft, coast over to your sidebar widgets and insert a text widget, insert your code and click save.
The Final Product: A perfect image in the sidebar of you WordPress site.
How does it work?
I could explain it, but no one wants to hear it and they don’t care anyway, they just need something that works!
–A note, this little trick will actually work with most web and blogging platforms like Blogger, TypePad or Weebly…