prettyPhoto 3.0: Beta

March 15th 2010

Here it is! The beta version of prettyPhoto 3.0. Why beta? Because there are several big changes in this version and before making it official, I really want it to be working properly. I tested the usual stuff myself, but I really want to throw it out to the community so you guys can test it.

Summary of changes

  • Ability to initialize multiple prettyPhoto with different settings
  • When opening a gallery in prettyPhoto an inline gallery is presented over the photo. See post thumbnail.
  • Slideshow! See settings in jquery.prettyPhoto.js
  • Changed defaut theme, “facebook” theme is now default.
  • Changed the default speed to fast, feels snappier now.
  • Code optimization, removed about 70 lines of crap.

Download

So you want to test it? You can find the demo page here: http://no-margin-for-errors.com/demos/prettyphoto_3.0/

I suggest you test it on your website, you can find a zip file here: http://no-margin-for-errors.com/demos/prettyphoto_3.0/prettyPhoto_3.0b.zip


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 m y best to get them squashed to release that update as quickly as possible.

Thanks!

113 Responses to “prettyPhoto 3.0: Beta”


  1. By the way I changed my PrettyPhoto JS code so that it works better with smartphones.
    My simple hack:
    $(window).unbind(‘scroll’).scroll(function(){ scrollPos = _getScroll(); /*_centerOverlay();*/ });

    That way mobile phones can scroll and see the popup, and close it or whatever.

    It would be fine with a better solution for mobile phones/small screens, but my JS skills are not that high

    Hope it helps others

    Thanks

    Michael

  2. cstef says:

    Hi,

    excellent ce prettyPhoto! merci beaucoup de le partager!! :)

    J’ai relevé un p’tit “bug” (FF 3.5.11, Fedora 12): quand on clique sur l’icone en haut à droite de l’image, pour l’agrandir, si on referme la boite sans recliquer sur cette icone, à l’image suivante le clique pour agrandir l’image ne produit pas l’effet escompté mais il semble plutôt tenter de réduire l’image…

    Voilà j’espère que c’est clair cette description… (désolé de pas m’être inscrit sur le forum pour ce rapport de bug, mais c’est trop fastidieux l’inscription chez vous ><).

    Bonne continuation.

    Stéphane

  3. […] 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 […]

  4. Why do so many wingnuts have so many conclusions with regard to ?

  5. cat says:

    youtube and vimeo videos do not work in ie!

  6. jjpharwood says:

    I can’t seem to get flvs to play in the prettyphoto 3.0. am I wrong?

  7. adams says:

    Hi,

    Hope your well,

    My questions – Is there any reason why i cant load facebook.com inside the iframe.

    is there any solutions,

    Thanks for this.

  8. Stephane says:

    @adams: For security purposes, Facebook does not allow people to iframe the site. It cannot be done.

    Thanks!

  9. jt_morris says:

    The IFrame option doesn’t work in the new IE9 Beta. The prettyPhoto box is the correct width, but not the correct height. You can barely see any of the content. The only modifications that I’ve made are to change the location of the pictures in the CSS file, otherwise it’s a stock download.

    Eventually, I’ll sit down and try to figure out why it isn’t working. Right now my site is still in production. Just thought I’d let ya’ know.

  10. ip00 says:

    We have the same problem with IE 9 Beta. Height value is not interpreted the right way and you can see only upper part of an image.

  11. Jim says:

    >We have the same problem with IE 9 Beta. Height value is not interpreted the right way and you can see only upper part of an image.

    Evidently, this was a bug in IE9 beta. PrettyPhoto works again in IE9RC.

    (I’m just posting this for people who search for PrettyPhoto and IE 9 error)

  12. JC says:

    Thank you very much for your hard work on this. I found prettyphoto in 2011 and it’s made my life so much easier (and clients happier). Much appreciated!

Leave a Reply