I can’t figure out why the image link isn’t working for me. When I click on the image, it just tries to open the image in lightbox or something. I can’t figure this one out, please help!!
Here’s the post: http://aftercredits.com/2015/01/official-android-app/
Hi,
I have checked your link and seems that the page doesn’t exist: http://screencast.com/t/tuyCwD0EzERE
Anyway I tested this on other post and it work fine: http://screencast.com/t/RQYQmrey
Please provide more details if you did not solve this!
Edit: If you refer to this image: http://screencast.com/t/j8WCUPn9v please edit the image: http://screencast.com/t/G9bOW2Ji and link to media: http://screencast.com/t/ZZHhixSNq
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].
Sorry about that @Alin, I updated the post date and that changed the path. The correct path is: http://aftercredits.com/2015/02/official-android-app/, but it seems you found it.
However, if I link the media file, then it won’t open the web page that I’m trying to link to. I want people to be able to click on the image and open up the linked page.
Hi,
Please edit that image and change link to custom url and add your link: http://screencast.com/t/4kJhWUd9
Also if you want to open link in a new web page: http://screencast.com/t/LZXpHrT8XSXB
Thanks!
Yes, I’ve tried that and the result was the first screenshot you posted (http://screencast.com/t/j8WCUPn9v), I’ve set the link to none until this is resolved.
Hi,
You have to turn off modal image, if you want to open a web page: http://screencast.com/t/DWuUIKg19c
If you still have this issue please deactivate all plugins, leave only Visual Composer active, empty cache and try again.
Let me know!
Thanks!
Yes, I’ve tried that, I suspect it’s because I had to force modal images on by following the instructions here: https://forum.tagdiv.com/topic/modal-image-default-on/#post-33922.
I had to do this as I had thousands of images and there was no way I could go back one-by-one and turn modal images on for each and every one.
Please respond. I found that ads are not working as well because of this image with the modal images. I need BOTH modal images on by default as I have THOUSANDS of images and simply cannot go back and fix every single one. Also, I need visitors to be able to click on ads and have them work properly.
Sorry, but you NEED to fix this. This theme is essentially broken without these issues corrected.
Hi,
@ned4spd8874 I have tested this, so please replace the code from your theme.js file created like you had been instructed here: https://forum.tagdiv.com/topic/modal-image-default-on/ with this code:
jQuery( document ).ready( function ($) {
if ( $( document.body ).hasClass( 'single' ) ) {
$( '.td-post-text-content > p a img' ).addClass( 'td-modal-image' ) ;
$( '.td-post-text-content > figure a img' ).addClass( 'td-modal-image' ) ;
}
} ) ;
If you make this change posts ads should work and for your images will be used light box by default.
Hope this helps!
-
This reply was modified 11 years by
Alin [tagDiv].
Sorry, but it’s still not working for me. I had to disable the ads for now that this isn’t working for, but here’s another post that does the exact same thing: http://aftercredits.com/2015/02/official-android-app/
If you click on the Amazon image, it’s supposed to take you to the Amazon Appstore, but instead tries to open up lightbox.
Hi,
The Amazon image is not an ad, so if you use that modification to all images on modal display it will apply also on Amazon image. You can try to place that images into a div: http://screencast.com/t/u5zgA2bs4
If you have modified theme.js like I suggested above, please also clear cache and try only with Visual Composer active.
Thanks!
I tried putting the images in a div, but that didn’t help. I put one of the types of ads that I’m having problems with on that example page: http://aftercredits.com/2015/02/official-android-app/. There’s a Fandango ad that does not work.
Also, if I disable using the theme.js, everything works just fine.
Hi,
Please copy the code of the theme.js file and paste it here, use pastebin – http://pastebin.com/ (copy-paste-submit and paste the link here), I’ll look into it.
Thanks!
Hi,
Unfortunately I cannot provide to you a temporally solution for this. We have this issue on our list and we will add an option to force modal for all images in future updates. Sorry for inconvenience!
Thanks for understanding!
This is very unfortunate. Please tell me this is high on the list of items to fix in the next update?
I (and who knows how many others) are loosing ad income and potential advertisers because we are limited on to what kind we can display right now. Please make this a high priority. I like this theme otherwise, but to be honest, if I’d have known about this at the beginning, I would not have purchased.
Hi,
We are sorry for the caused problems! This issue it will be fixed and it is a high priority for us, because it also has to be implemented on Newsmag theme. Please don’t force modal image so your ads not be affected and not loose ad income till we provide an option for this.
Thank you for understanding!
Yes, that’s what I’m going to have to do. I’ll have to go back a few months and fix the recent posts at least as those are the most active. Thanks for making this a priority.
Hi,
We did not tested this with adsense code, normally it should not affect it. You can test this using the above solution and click on your post ad to see if works properly or it open the modal for your ad image.
Unfortunately we did not find an accurate solution till now, but with adsense may work.
Thanks!
-
This reply was modified 11 years by
Alin [tagDiv].