Questions tagged [prettyphoto]

prettyPhoto is a jQuery-based Lightbox clone that can be used to display media elements such as images, videos, and Flash.

PrettyPhoto is a jQuery lightbox clone. It supports images, videos, Flash, YouTube, iframes and AJAX.

PrettyPhoto is designed to be easy to use and flexible, and includes an API, allowing it to be controlled from other sources, including Flash.

375 questions
19
votes
1 answer

jQuery: PrettyPhoto API isn't working

i'm trying to use prettyPhoto API, but firebug says that $.prettyPhoto.open() isn't a function and don't work... CODE: http://jsbin.com/ihuje3/3/edit $(document).ready(function(){ …
cusspvz
  • 4,824
  • 7
  • 26
  • 43
14
votes
2 answers

how to remove the #prettyphoto from the url

i m using prettyphoto media wordpress plugin(version 3.1.4). its working fine for me but my problem is that when i click on any image and it opened in lightbox then there is some additional tag in url like:#prettyPhoto[landscaping]/0/ thats why the…
Manindra Singh
  • 759
  • 3
  • 10
  • 35
11
votes
4 answers

Is there a way to pass an initialization function to an Orbit slideshow?

I solved my original problem, but I'm wondering if there's a more elegant solution. I'm using Foundation's Orbit to create a slideshow. This is no simple slideshow, it is a slide show where each slide has a data-caption defined, and within this…
Tim O'Brien
  • 9,102
  • 5
  • 28
  • 36
9
votes
6 answers

Disable prettyPhoto WordPress (Visual Composer)

Hi I'm trying to get WP Featherlight setup as the default lightbox, right now Visual Composer is using prettyPhoto. So I need to disable it, so that WP Featherlight will overwrite it. I asked wpbakery and I got this response. Hello, you can…
user6285978
9
votes
5 answers

Optimize prettyPhoto lightbox for mobile devices?

I'm currently using prettyPhoto on a site I'm working on but have run into a small problem on mobile devices. The plugin has the option "allow_resize: false" which disallows resizing the photos bigger than viewport however the resulting downsized…
photoman355
  • 151
  • 2
  • 2
  • 7
8
votes
3 answers

How to enable next/prev with prettyPhoto when links are within
  • I have a gallery with the following markup:
    • some stuff here
    Quad6
    • 375
    • 2
    • 4
    • 18
    7
    votes
    1 answer

    How to show a video, and open in a lightbox on click, with jQuery prettyPhoto?

    I am trying to use the prettyPhoto for jQuery to add a video to my website. I did add the jQuery source code and the prettyPhoto js location in my head, and before the end of my body tag, and I also added the initializing code (as said in the…
    James
    • 73
    • 1
    • 1
    • 5
    7
    votes
    2 answers

    Owl-carousel and lightbox together? Or is there another solution?

    I would like to use Owl-carousel and PrettyPhoto lightbox together but before that, I would like to know if a similar all-in-one solution already exists. To be more specific, I would like to make an inline image/video content slider gallery with…
    dragoweb
    • 519
    • 1
    • 7
    • 15
    6
    votes
    3 answers

    embedding jquery.prettyPhoto causes script to show on page

    When I move: To: Then the script starts showing on the page from the bold part onwards: style="border:none; overflow:hidden; width:500px;…
    Hooli
    • 1,055
    • 2
    • 14
    • 42
    5
    votes
    2 answers

    WordPress Popup Iframe Youtube Https with PrettyPhoto

    A few days ago, I converted my website to https. I had many problems but they are solved. But the last problem I have is, youtube videos don't work anymore as a popup with prettyphoto, I get nothing but a black or white screen. When i inspect the…
    Arnout Pullen
    • 108
    • 1
    • 10
    5
    votes
    2 answers

    How to disable prettyPhoto?

    I now how to enable prettyphoto, but the problem is how to disable? Here i enable prettyPhoto $(document).ready(function(){ $("a[rel^='prettyPhoto']").prettyPhoto({ social_tools:false, }); }); How to disable?
    Miomir Dancevic
    • 6,071
    • 12
    • 53
    • 102
    5
    votes
    2 answers

    prettyPhoto not working, no errors in console

    Here is the code in my :