WordPress.org

Forums

Can I use <a href in a post (7 posts)

  1. johnbjr
    Member
    Posted 7 years ago #

    How can I use <a href in a post. The image doesnt show up. Im using it as a link for a banner ad.

  2. marzar00
    Member
    Posted 7 years ago #

    I think I know what you mean. In order to put an image into the post use: <img src="linktoimage" /> and for the link use the < a href="link">

  3. johnbjr
    Member
    Posted 7 years ago #

    actually im linking to a affiliat banner ad the code is

    <a href="http://www.welivetogether.com/main.htm?id=johnbjr">
    <img src="banner1ani.gif" width="469" height="80"></A>

  4. James
    Happiness Engineer
    Posted 7 years ago #

    Warning: Affiliate link is NSFW.

    John, with the current structure, you would need to have banner1ani.gif in the same directory as your blog. Is it there? Also, the last </a> tag needs to have a lower-case a.

  5. estjohn
    Member
    Posted 7 years ago #

    iirc, is there a "CODE" button where you are editing the post at? if so do <code> <a href="http://www.welivetogether.com/main.htm?id=johnbjr">
    <img src="banner1ani.gif" width="469" height="80"></a></code>

    that is if you arent using some type of plugin for wysiwyg editing

  6. johnbjr
    Member
    Posted 7 years ago #

    Holy crap I get it now I am supposed to save the banner then put this code in. I dont know what I was thinking that it would just go find it. Thanks everyone.

  7. estjohn
    Member
    Posted 7 years ago #

    right... the thing is.. unless the company that youg et images from says it is specifically alright to link to the graphic on their server..

    it is really not good (nor right) to "hotlink" (link to an image or other on someone elses server while it displaays on your site).. what happens is you are using their bandwith... the bandwith to view the graphic is taken from their server whens omeone views it.. yet your page or where you display it is the one that gets the credit.. also known as bandwith stealing.. not a good thing to do to anyones. (many places pay for X amount of bandiwth a month to host a website... and if you are using THEIR bandwith.. but their page isnt the one being seen.. then its kinda a way you are taking their money and they are not getting the traffic.)

    Even of a company says it is alright to do it, it is usually a good thing to download iot and then upload it to your server and link to it there.. mainly because:

    if you hot link to a graphic on server B .. and they give permission to do so... if their website goes down for 2 hours.. that image will not show on your website for those 2 hours. and in some cases, theis can break a page.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.