1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Wordpress image issue - seems crazy

Discussion in 'HTML & Website Design' started by silvastar, Apr 23, 2014.

  1. #1
    My wordpress banner images won't link to a URL but instead link to a larger image of the jpeg.
    Here is the code I am using:
    <p style="text-align: center;"><a href="http://forms.invast.com.au/gold-report-2014" target="_blank"><img class="aligncenter size-full wp-image-1469" alt="Gold-Report-free-download-research-banner-640x67" src="http://blog.invast.com.au/wp-conten...port-free-download-research-banner-640x67.jpg" width="640" height="67" /></a></p>

    The actual page can be viewed here: http://blog.invast.com.au/news/will-gold-surge-plummet-2014-new-gold-report-available-now
    The banner image is under the youtube video.

    What am I missing here? The code looks fine. Is this just a wordpress thing?
    Thanks
    Ash.
     
    silvastar, Apr 23, 2014 IP
  2. hdewantara

    hdewantara Well-Known Member

    Messages:
    536
    Likes Received:
    47
    Best Answers:
    25
    Trophy Points:
    155
    #2
    I guess it's this script:
    <script type='text/javascript' src='http://blog.invast.com.au/wp-content/themes/starkers-responsive/js/site.js?ver=3.7.3'></script>
    HTML:
    One thing it does is changing every <img> under your <article> to be lightbox's thumbs.

    Hendra
     
    hdewantara, Apr 23, 2014 IP
  3. silvastar

    silvastar Active Member

    Messages:
    449
    Likes Received:
    5
    Best Answers:
    0
    Trophy Points:
    58
    #3
    Ok, so basically there is some auto script that converts every image to have a lightbox thumb when clicked? Is that right?
    Is it just a matter of finding that script and then getting it removed or replaced?
    Thanks for your help hdewantara. I really appreciate it.
    Ash.
     
    silvastar, Apr 23, 2014 IP
  4. hdewantara

    hdewantara Well-Known Member

    Messages:
    536
    Likes Received:
    47
    Best Answers:
    25
    Trophy Points:
    155
    #4
    Hi Ash.

    Yes, right.
    I'm no WP expert though, so I can't be sure whether removing/ correcting it is the way to go. Another way without changing that script is perhaps by having your banner image stored as background:
    <p><a style="width:640px; height:67px; margin:auto; display:block; background-image:url(http://blog.invast.com.au/wp-content/uploads/2014/04/Gold-Report-free-download-research-banner-640x67.jpg);" href="http://forms.invast.com.au/gold-report-2014" target="_blank"></a></p>
    HTML:
    Hendra
     
    hdewantara, Apr 23, 2014 IP