June 30, 2011 at 1:22 pm #4845
I’m having a problem with lightbox and external links. When I try to use lightbox using images located internally on my server, everything is ok and works just fine. The thing is when i try to do the same with external links (both images and video) they immediately redirect me to the page of the image or video. For example, if i use lightbox with http://www.youtube.com/watch?v=HgcEZ8jz_Hc, lightbox is visible for a faint second before redirecting me to youtubes site. The same applies to external images.
Help please :)
MarcusJuly 1, 2011 at 4:43 am #47731July 1, 2011 at 7:04 am #47732
I have posted 2 examples of internal and external links in the Portfoliopart of the site.July 4, 2011 at 10:31 am #47733
and another problem here, in my portfolio posts, why do the images come out like this http://www.diw.se/?p=61 instead of like your example this http://www.kriesi.at/demos/display/trailer-lightning-thief/July 4, 2011 at 1:58 pm #47734
to be honest I couldn’t find the reason for your first problem (redirection) – maybe it’s related with the server configuration and the youtube video ajax call triggers something but firebug debugging didn’t help much.
Re 2) You need to set a preview image by using the “Display Preview Image Options” – it will be displayed above the post content like here: http://www.kriesi.at/demos/display/trailer-lightning-thief/July 4, 2011 at 2:11 pm #47735July 4, 2011 at 2:13 pm #47736July 5, 2011 at 6:11 pm #47737
I think you need to set the “Full Size Picture or Video for Lightbox” for post preview images – the medium sized image is used on the portfolio page only.July 6, 2011 at 7:19 am #47738
But I have a Video URL in “Full Size Picture or Video for Lightbox” and an Image URL in “Preview Picture Medium”. Shouldn’t that make it large?
For example in the post “Intervju med Mystling” I have in the field “Preview Picture Medium” the URL “http://www.diw.se/wp-content/uploads/2011/07/mystling-300×134.jpg”, and in “Full Size Picture or Video for Lightbox” I have “http://vimeo.com/16842707″ as an URL. Isn’t that the way to get it like this:http://www.kriesi.at/demos/display/trailer-lightning-thief/ ?July 6, 2011 at 9:53 am #47739
Sorry yes – I missed that. I’ve found the problem though :)
Use the “preview picture medium” field for the “small thumbnail” and the lightbox field for videos or fullwidth images. However make sure that you insert the fullsize version of the image and not the thumbnail version (wordpress shows a radio box option in the image uploader where you can select the image size).I.e. on this post: http://www.diw.se/?p=61 – you selected the thumbnail version: http://www.diw.se/wp-content/uploads/2011/06/Mall-bild-11-300×134.png instead of the fullsize version: http://www.diw.se/wp-content/uploads/2011/06/Mall-bild-11.pngJuly 6, 2011 at 11:38 am #47740
Thanks! That solved it :)
Any idea where I should turn about the redirect lightbox issue?July 7, 2011 at 7:23 am #47741
Maybe it’s related to the server configuration or to a plugin. If you use plugins try to deactivate them.July 7, 2011 at 1:18 pm #47742July 7, 2011 at 1:40 pm #47743July 7, 2011 at 1:46 pm #47744
By the way where can I find the code for “Read more” on the frontpage? That is, I want to change the text “read more” to something else.July 8, 2011 at 5:18 am #47745
The mainpage boxes code can be found in: displayframeworkclasseskclass_display_box.phpJuly 8, 2011 at 9:07 am #47746July 10, 2011 at 12:36 pm #47747
Please try if plugins like: http://wordpress.org/extend/plugins/contact-form-7/ work for you. Some hoster (i.e. hostgator) seem to cause problems with the standard contact form.July 11, 2011 at 7:52 am #47748July 11, 2011 at 8:51 am #47749
The topic ‘Lightbox redirects when using external images and videos’ is closed to new replies.