Question about images and links
-
Hello,
I am very much an amateur with blogging and html. What I want to do is place is an image in my sidebar that is really a link to another website of mine. So it will be a clickable image, or even if it is framed within my blog that is fine too. . I have searched all day for code on this as well as info. on wordpress. I am not getting anywhere, I think if I knew the proper name for this it would help.
[Unneeded links removed – Mark]
Thanks so much!
-Kristine
-
The easiest way to get the html is to start writing a post. Add the image and the link using the visual editor. Switch over to the html tab and copy out the code from there. Then paste that code in a text widget. You can leave the post you started as a draft and use it for a sketch pad (for lack of a better term) or just delete it.
If you do this, you’ll see how the code is built.
In general the code looks like
<a href="http://www.website.com/"><img src="http://www.website.com/image.gif" alt="alternative text for special browsers to use"></a> -
-
Whenever I upload a transparent .gif to the Media Library and use it as part of a post, the image always appears with a black background. Is there any way to make the image transparent again?
-
There were some discussions on transparent gif’s a while ago, and I remember, the word was that transparent gif’s are not supported here at wordpress.COM.
-
@angelbearoh: That likely occurred when the image was resized. Did you insert it as a size different from the dimensions you uploaded? If so, try using it at full size. Let us know if you encounter any problems after trying that out.
- The topic ‘Question about images and links’ is closed to new replies.