If you have troubles since the update to WordPress 4.5 please read this post before opening a new thread.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #12988

    Hi Avisio,

    I m seeing two issues, could you please help:

    1. I m able to post the images using “feature image”. The issue is, when I click on the image it is opening in the browser instead of showing in the light box. When I checked the support forum, it said to choose “link manually”. I dont see any option like “link manually”, where can i find it. please help. Could you please give me the steps clearly.

    2. I m getting un expected error because of href=$mov in custom.js. After removing the items like mov youtube etc in the JQuery method in custom.js is working fine. How can I fix the error without removing the video support.


    Hi Avisio Support Team,

    I did not get any response on my previous post. Let me re-state my question:

    1. When I click on any image in my website based on Avisio is opening the image in the browser. Instead, I would like the image to be preview in a photo box. When I searched google for the similar question, I found answers provided by “Dude” for the similar issue. It said, in the featured image, choose”link manually”. But when in ‘Featured Image’ choose ‘link manually” is not available. Could you please help me with the step by step procedure to setup the images previewed in the box.

    2. Another issue is, in the firefox browser console i could see “an unexpected error” and did not see the images on the slide show. After debugging, I found a[href$=.mov] a[href$=.swf] a[href*=vimeo.com] a[href*=youtube.com] is the issue. After removing the array entries starting from href$=mov, the slide show is working fine. Could you please let me know how to fix this?

    jQuery(‘a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=.mov] , a[href$=.swf] , a[href*=vimeo.com] , a[href*=youtube.com]’).each(function()



    Which version of Avisio are you using? The latest version (I think it’s 1.2.1b) should be compatible with the latest jQuery version, WP3.3+ and the a href preg_match checks are fixed. If you want to fix the line by yourseld replace it with:

    jQuery('a[href$=jpg], a[href$=png], a[href$=gif], a[href$=jpeg], a[href$=".mov"] , a[href$=".swf"] , a[href*="vimeo.com"] , a[href*="youtube.com"]').each(function()

    Best regards,


Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Not able to preview image or video in lightbox’ is closed to new replies.