Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox Ultimate – Shortcode for Anchor Image does not display the Anchor Image
- This topic has 4 replies, 3 voices, and was last updated 12 years, 8 months ago by wpCommerce.
-
AuthorPosts
-
March 4, 2012 at 12:08 pm #5748peter777Member
I am trying to incude the “Vimeo Video Lightbox Overlay Popup” on a post. I have added the “Shortcode for Anchor Image”. I have replace the default Vimeo URL with the Vimeo URL I want and have added the source URL for the image I want to appear on the page. When I update and view my post the image does not appear, All I get is a double quote mark followed by the first word of the title. This text acts as a link and this link does op[en the video in a lightbox. But of course I would prefer to see the image and for the image to act as the video link.
The code I included is:
[wp_lightbox_prettyPhoto_video link=”http://vimeo.com/33734464″ width=870 height=500 description=”Transcendental Meditation in Action” source=”http://tmmeditationlondon.org.uk/wp-content/uploads/2011/12/tm-in-action-300px.jpg” title=”Transcendental Meditation in Action”]
March 4, 2012 at 9:37 pm #42687PeterMemberCan you post a link to the page containing the problem?
March 6, 2012 at 2:26 pm #42688peter777Memberthe ost address is http://www.t-m.org.uk/meditation-news/2011/12/transcendental-meditation-an-effective-antidote-to-rising-stress-levels-in-schools/#!prettyPhoto
Go to the bottom of the post and the video link is “Transcendental-Meditation-in-Action” . This should not be a text link, but an image link.
March 6, 2012 at 11:25 pm #42689PeterMemberI think your theme might be messing things up here.
For instance, you appear to have a few javascript errors on this page:
Uncaught ReferenceError: Shadowbox is not defined
Failed to load resource: the server
Unsafe JavaScript attempt to access frame with URL http://www.t-m.org.uk/meditation-news/2011/12/transcendental-meditation-an-effective-antidote-to-rising-stress-levels-in-schools/#!wp_lightbox_prettyPhoto/0/ from frame with URL http://player.vimeo.com/video/33734464?title=0&byline=0&portrait=0&autoplay=1;. Domains, protocols and ports must match.
March 7, 2012 at 2:25 am #42690wpCommerceModeratorHi, There is something wrong with the HTML source of the shortcode. If you use that shortcode it should look like the following:
<div class="lightbox_ultimate_anchor lightbox_ultimate_image_anchor ">
<a title="Transcendental Meditation in Action" href="http://vimeo.com/33734464?width=870&height=500" rel="wp_lightbox_prettyPhoto"><img src="http://tmmeditationlondon.org.uk/wp-content/uploads/2011/12/tm-in-action-300px.jpg" alt="Transcendental Meditation in Action"/></a>
</div>Whereas the one you are using looks like the following:
<div class="lightbox_ultimate_anchor lightbox_ultimate_image_anchor ">
<a title=""Transcendental-Meditation-in-Action"" href=""http://vimeo.com/33734464"?width=870&height=500" rel="wp_lightbox_prettyPhoto"><img src=""http://tmmeditationlondon.org.uk/wp-content/uploads/2011/12/tm-in-action-300px.jpg"" alt=""Transcendental-Meditation-in-Action""/></a>
</div>It’s converting all the double quotes (“) to “&quat;”.
Please switch to the “visual” editor and use the exact shortcode from here:
[wp_lightbox_prettyPhoto_video link="http://vimeo.com/33734464" width="870" height="500" description="Transcendental Meditation in Action" source="http://tmmeditationlondon.org.uk/wp-content/uploads/2011/12/tm-in-action-300px.jpg" title="Transcendental Meditation in Action"]
Let me know how it goes.
-
AuthorPosts
- You must be logged in to reply to this topic.