Image can't be loaded – Bottom Article ad

Posted in: Newspaper
Post count: 187

Hey fellahs. Can’t figure out a solution.

Am using this code for bottom of article ad –I made an image and want it to link to my advertising page.

http://brandinginasia.com/wp-content/uploads/2016/09/Screen-Shot-2016-09-03-at-10.27.17-PM.jpg

The problem is, unless I turn off “General Modal Image” in the theme panel it won’t open on the link.

If I click “General Modal Image” ON then I get the “Image can’t be loaded”

Of course, I’d like to have General Modal Image ON all the time for the rest of the images on the site, but the problem with this one ad image is preventing me from doing so.

What can I do?

Thanks as always.

Bobby

  • This topic was modified 9 years by bobbymc.
  • This topic was modified 9 years by bobbymc.
Post count: 22421

Hello,

If you want to use an image as an ad, you will have to use the div’s provided in this guide: https://forum.tagdiv.com/using-other-ads-non-adsense-ads/
Wrap your code inside the div tags and the modal image should no longer pick up the image.

Thank you!
Bogdan B.

Post count: 187

Thanks but still not working after swithing modal back on.

Here is what I have done. Is it correct?

http://brandinginasia.com/wp-content/uploads/2016/09/Screen-Shot-2016-09-05-at-5.30.42-PM.jpg

  • This reply was modified 9 years by bobbymc.
Post count: 187

Any feedback on this?

Thanks

Post count: 22421

Hello,
I have checked your site and did not see the bottom ad open in a modal image but rather lead to the specified link you added in the code.
If you still have issues with this please contact us via email at contact @tagdiv.com and provide wp-admin so we can investigate the issue.
Thank you!

Post count: 187

Correct. The ad is working because I switched off Modal in the theme panel –which I’d like to keep on.

Here is an example link of how it affects other images.

http://brandinginasia.com/sangsoo-chong-interview/

Thanks 🙂

Post count: 22421

Hello,

I have checked your ad code again and saw the issue. You are adding classes to the image and one of these classes is wp-image which our modal lightbox looks for in images. Please remove the classes on the image and simply add it like so:

<div class="td-all-devices">
    <a href="http://brandinginasia.com/advertise/"><img src="http://brandinginasia.com/wp-content/uploads/2016/09/Advertise-with-Branding-in-Asia.png" alt="Advertise with Branding in Asia" width="685" height="115" /></a>
</div>

Do not add classes to any images in the ads as the td-all-devices class is enough for the ad to position properly.

Thank you!

Post count: 187

Great. Can you take screenshot of that code? All I see is the banner Or send to me? brandinginasia@gmail.com

Great service as always –thanks

Post count: 22421

fixed it! 🙂
This forum will sometimes render the code directly.
Thanks.

Post count: 187

Ha. I had the same problem when putting it here.

Works great!

As always, thanks. You guys are the best.

Viewing 10 posts - 1 through 10 (of 10 total)
The forum ‘Newspaper’ is closed to new topics and replies.