prettyPhoto 3.0: Updated beta.

August 26th 2010

Hey I’m not dead. Neither is prettyPhoto. My last update dates back to March 15th, I’ve been quite busy. Part of it is job, the other part has been Final Fantasy 13 😉

But the good news is, I have been working on prettyPhoto during that time. So today I release an updated beta version with several bug fixes that were in the previous version.

Here are the full details:

  • Added: Keyboard event bindings as a setting.
  • Added: Inline galleries.
  • Added: Multiple prettyPhoto with different settings on one page.
  • Added: Slideshows!
  • Added: Custom markup support (will write a tutorial soon)
  • Fixed: Vimeo video ID parsing.
  • Fixed: Double click causing a where prettyPhoto would open without the faded background.
  • Fixed: Bug when an image would not resize after opening an iframe.
  • Fixed: Image resizing issues when allow_resize is set to false. Images now center properly.
  • Fixed: “Image cannot be loaded” message bug. Removed the toLowerCase, a bug I introduced…can’t really say why I did that 🙁
  • Changed: Vimeo video now uses their new universal player.
  • Changed: Default theme, now facebook.
  • Changed: Default speed, now fast, feel snappier.


So you want to test it? You can find the demo page here:

I suggest you test it on your website, you can find a zip file here:

Please note that since it’s a beta, you should retest everything on your own to make sure nothing breaks.

Bug reports

Please report any bug in that thread in the forums. I’ll do my best to get them squashed to release that update as quickly as possible.


39 Responses to “prettyPhoto 3.0: Updated beta.”

  1. thanks a lot for your scripts. they are really helpful.

  2. Sam says:

    Your bug forum link returns a 404.

    If i have an image that is larger then the screen and i click on the expand icon, everything works fine. If i set allowresize to false, the image appears at the original size (which is what i want), however something bugs out and i am unable to scroll down, which in turns means i am unable to close the lightbox. Tested on Chrome 6 beta (Mac OSX)

  3. Stephane says:

    @Sam: Thanks for the report. I’ve just uploaded the link AND prettyPhoto 🙂

  4. Jharbour says:

    Great script however I was wondering if you have a hack for IE6 so it can show a style instead of the white box style?

  5. steve bowyer says:

    Hello ,
    I wonder if we could add , adsense code in this?

    This is great script thanks alot.

  6. Barry says:

    Hey Stephane,

    Great plugin. Beta is working fine for me. I built a small gallery of youtubes. The iframe worked as well.

    Have you considered making this a wordpress plugin?

    thanks much from Chicago


  7. Stephane says:

    @Jharbour: You could, however, IE6 is such a pain that I keep supporting it but I just throw the basic theme to ease the pain a bit 😉

    @steve: It would be possible, but would required some javascript modifications. I do not plan to implement this feature right now.

    @Barry: Thanks. There’s already a wordpress plugin. It’s based on the old version. Should be updated once 3.0 goes final.


  8. Nelson says:

    Hi, great work! thanks!.

    Just a question. how do i change the speed of the “play slideshow” option?


  9. Stephane says:

    @Nelson: You have a setting called “slideshow” can either be false or an interval in MS, this will control the speed.

    slideshow: false, /* false OR interval time in ms */


  10. very nice plugin. thanks for sharing.

  11. Enrico says:

    Many tks.
    Maybe, some people do you have used it also with wordpress+thesis in the multimedia box? How you have integrate it?

  12. Stoker says:


    I found an easy improvement of the Youtube plugin. Makes it so that the default image is displayed:

  13. Stoker says:


  14. justin says:


    Love the code, just one problem. Can’t get swf to work. I copied your code from the setup demo. the window pops up but no playing.

    Also, what formats can 3b play?

    Thanks again

  15. Justin says:

    got the swfs working but can’t see controls for the player. Any clues?


  16. Chris says:

    Does this version of prettyPhoto play well with dynamic images and resizers? I need to reference external fully qualified URLs for my large images, but it seems to break.

  17. J says:

    Thanks so much, this update fixed all the little issues I had with prettyphoto, Thank you so much!

  18. The next time I read a internet site, I hope that it doesnt disappoint me as very much as this a single. I imply, I know it was my option to read, but I truly believed youd have a thing fascinating to say. All I hear is really a bunch of whining about one thing that you simply could fix when you werent too busy searching for attention.

  19. camsex says:

    I’m not able to love this particular internet site adequately for chrome I believe there’s problems.

  20. Taz says:

    Hi, this plugin is implemented on my site via BOLDY Theme found here:

    I would like to know, how do I update the plugin so that I can use it as a gallery?
    Any help would be appreciated.


  21. Taz says:

    I’ve just realised I didn’t post a link to my site where am having the problem:


  22. Michaelheef says:

    Life is not everlasting. Of course, this is a not a secret, but do we always remember about it? How can we find out the essence of life staying at home? They say if you don’t like the place where you are – move, you’re not a tree after all. By the same tenet, I want to say that traveling – is an important component of fulfilling life. Let’s not waste life for nothing but explore this wonderful world! It remains to start moving, just click world’s wonders and you will see all the riches of our world which are near to us. Very often various places for recreation are just round the corner, but we can’t find time for knowing the world. Start reading not fashion journals but brochures with travelling tips. A well known poem says “What is this life if, full of care, we have no time to stand and stare…” Let’s change our life!

  23. Cata says:

    I have built a simple and lightweight theme for prettyPhoto here:

    Check it out and let me know it´s good enough to be included into the prettyPhoto package as another available theme


  24. Monaco says:

    Really pretty photos and the app itself is great.

  25. נערות ליווי סקסיות ולוהטות מרוסיה באהבה רק באתר של מונאקו אסקורט.

  26. מונאקו אסוקרט הינו מכון שירותי סקס ליווי יוקרתי במרכז ישראל המספק נערות ליוי חמות להזמנה לדירות דיסקרטיות באזור ת”א והסביבה.

  27. kissmanga says:

    Well, the content container is shown on the second half of the screen, it seems that _center_overlay fails. Interestingly it only fails when loading the image, and after you scroll it is fixed. If you switch to “Compatibility View”, the content resizes fine after loading. But it looks great… i will put it in!!

  28. If you find any trouble while following the steps that we have provided to you then you can reach us at our Microsoft Outlook Support 1-877-337-0233 anytime in 24*7 hr. We will feel obliged to help you.
    Visit us:

  29. More information provided to me. Thank you for sharing this great article.

  30. kissanime says:

    Very useful info, thanks

  31. gogoanime says:

    I like it , great

  32. Alka says:

    Nice! thank you so much! Thank you for sharing. Your blog posts are more interesting and informative. I think there are many people like and visit it regularly, including me.

  33. Thanks for sharing this article. I am glad to see this amazing post.

  34. run 3 says:

    I agree, a great idea, will definitely work

  35. sare says:

    Now that I have the information, I hope to have more information
    run 3

  36. ask mantik intikam episode 4 clicksud says:

    faci o treabă grozavă. conținutul dvs. este foarte frumos. mulțumesc pentru partajare.Dacă sunteți în căutarea seriale turcesti subtitrat in romana. filme fast team iti ofera toate seriale turcesti cu subtitrat.

Leave a Reply