Viewing 20 posts - 1 through 20 (of 20 total)
  • Author
    Posts
  • #4845

    Hi

    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 :)

    -

    Marcus

    #47731

    Hey,

    can you post a link to your website please?

    #47732

    http://www.diw.se

    I have posted 2 examples of internal and external links in the Portfoliopart of the site.

    #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/

    #47734

    Hey,

    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/

    #47735

    Ok, where can I find that?

    #47736

    (I have Preview Picture Medium in all of them)

    #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.

    #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/ ?

    #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.png

    #47740

    Thanks! That solved it :)

    Any idea where I should turn about the redirect lightbox issue?

    #47741

    Maybe it’s related to the server configuration or to a plugin. If you use plugins try to deactivate them.

    #47742

    Apparently it was the Plug-in Slim-Stat that caused the problem.

    Thanks!

    #47743

    Glad that it works now :)

    #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.

    #47745

    The mainpage boxes code can be found in: displayframeworkclasseskclass_display_box.php

    #47746

    Thanks!

    And another thing, our contact form isn’t working. Any idea why?

    #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.

    #47748

    That worked! Thanks! :)

    #47749

    Glad that it works now :)

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

The topic ‘Lightbox redirects when using external images and videos’ is closed to new replies.