
prettyPhoto 3.1: New theme and ajax support
March 31st 2011
Here’s yet another update to prettyPhoto. It’s quite a big one too, I’ve decided to change the default theme and add ajax support…finally.
The theme is a collaboration between Orman Clark and Christian Budsched (Kriesi). I just saw it being used in a WordPress theme and found it so nice that I had to make it the default theme of prettyPhoto. So Orman and Christian, thank you very very much for saying yes!
Here’s the complete changelog:
Added: Ajax support.
Fixed: Long title would cause the box to jump up a bit.
Fixed: Namespaced scroll event.
Fixed: Browsing throught picture wouldn’t bring you back to the end when clicking previous while being on the first picture.
Fixed: Resize bug.
Fixed: Issue where the inline gallery would cause a preloading of the iframes.
Optimized: Gallery injection script, now 30% faster.
Changed: The YouTube embed code for the new iframe embed.
Changed: Slideshow are now enabled by default.
As usual, head over to the project page to download the latest version.
Hooray for 3.1! Love the new theme you added too. Thanks!
OMG! Love this script but it’s about to make me go mental! Am trying to get some inline content to work (iframe content works fine), however i keep getting a ‘Image cannot be loaded…” error!
I’ve searched for hours now, and it seems to be a common issue – however I can’t find a cure for it!
Please help!
Dear all:
Is there anyway to use the latest version without showing the image gallery thumbnails? We prefered the older version, much simpler. But the new code it is a requirement, given the problems found with the new IE9.
Thanks, César
hi Caro, does it works with wordpress? its a plugin for WP or in custom html use? tks! congrats!
Hello. Is it possible to add easing effect like http://codecanyon.net/item/jquery-lightbox-evolution/115655 you dont need to publish this wish. Just asked. Thank you for big project 🙂
And new wish. Add all images to prettyPhoto feature. If you are using wordpress and nextgen gallery. You can see this feature. Its perfect 🙂
Hi, I have a trouble….
I want insert a link, near social images, to download the photo is viewing…is it possible? How?
thanks!
Hi–
So using the new ajax stuff- it replaces the innerHTML, which does NOT cause javascript to execute from the loaded ajax code. Using the changepicturecallback() to call a method to make the new data “live” doesn’t work either, because in showContent(), this is being called before the DOM is altered by _insert_gallery().
My suggestion is either to move the changepicturecallback() to below the _insert_gallery() call, or if that might break historical code, add another callback – pictureloaded() or something.
Otherwise, script looks great. Thanks!
-R
Okay- disregard the above; I was looking at it wrong. The issue does still stand- the script elements aren’t executed after an ajax load. However, it can be fixed by doing this:
$(“a[rel^=’prettyPhoto’]”).prettyPhoto(
{
changepicturecallback: function() {
$(‘.pp_inline script’).each(function() {
eval($(this).text());
});
}
});
You might think about adding that as a default option?
Thanks!
-R
Problems with youtube videos chrome – pp 3.1 lightbox opens up shaded darker entire screen nearly black buttons prev next play etc unclickable and shaded over, then crashes. Works fine ie 9
Is there a way to make a minimum size for the pop up? Sometimes an image that is too small gets loaded and the top close button drops to the bottom and doesn’t work.
Maybe a way to make it a minimum size of 200×200 or something would work.
Hi, i’m having problem after an AJAX call. Simply this plugin stops working after i load a new content with ajax. I already tried re-initialiting the plugin in the “success” of the $.ajax but it didn’t work.
Hi, I’m wondering if it would be possible to have prettyPhoto open automaticaly when entering on a page with images ?
If yes, could you tell me which parameter I should change ?
Thanks in advance …
Hi , am new to prettyPhoto and my problem is Pretty Photo is not supported with jQuery 1.11
Is there any other alternative choice to avoid this version compatibility problem.
I am glad that i read prettyphoto them and support.
This is very great and brilliant information.
Full of star site it is https://passwordwindows10.com help the programme in the windows 10.
Very Nice Article keep it up…! Thanks for sharing this amazing information with us…! keep sharing this type of stuff…!
Thank you for taking to the time to write this informative blog post. It’s great article with good and useful information! I appreciate your work.
Very awesome theme. I like it experience and ask you all to try it and give your feedback. Visit https://windowstechsupport.org/
“I just saw it being used in a WordPress theme and found it so nice that I had to make it the default theme of prettyPhoto. So Orman and Christian, thank you very very much for saying yes!”…….
It’s really a nice and useful piece of information. I am satisfied that you shared this useful info with us.
Please keep us up to date like this. Thanks
for sharing.
In fact, you may enjoyable entertainment that you weren’t expecting to find.
Thank you for that information you article
I have read your post. It solved some aspects of the problem. I think you need to make the problem clearer
Thank you for the information, may be useful for all people of course who read this article
Dial our toll free number and book best flights from New York to Miami. Our experts will guide you throughout on every problem related to your flight flying from New York to Miami.
if you wants to enjoy comfortable and affordable journey Through airlince . Call Our Experts and Book flights from New York to atlanta in no time in no time .
if you wants to enjoy comfortable and affordable journey Through airline .Call Our Experts and Book flights from New York to atlanta in no time. For more information -: https://www.flightsinusa.com/new-york-to-atlanta/
if you wants to enjoy comfortable and affordable journey Through airlince . Call Our Experts and Book flights from New York to atlanta in no time .
Thank you very very much for saying yes
“”
Read more about prettyPhoto 3.1: New theme and ajax supportStéphane Caron – No Margin For Errors on:
http://www.no-margin-for-errors.com/blog/2011/03/31/prettyphoto-3-1-new-theme-and-ajax-support/comment-page-1/#comment-665729?utm_source=INK&utm_medium=copy&utm_campaign=share&
QuickBooks add-on software suggestively elevates the features of QuickBooks accounting software. QuickBooks add-on is a program or software that boosts the functions of QuickBooks financial application program. Also, a QuickBooks add-on can be defined as a program that adds much new functionality to the QuickBooks accounting software.Totally free QuickBooks support service is offered by a cloud hosting service and application hosting vendor. QuickBooks add-ons hosting service provider’s support team fully assist you. Visit : https://accountingsupportservices.com
Alitalia airlines provide an easy going service with cooperative and friendly staff. You can contact Alitalia Airlines Customer Service for detailed information about your flight.For more information -: https://airlinescustomerservices.org/alitalia-airlines-customer-service/
Some of these are really great ideas actually.
Hello friend, i am QuickBooks certify Proadvisor. QuickBooks is best accounting software
Thank you very much for these great cake recipes, I have learned a lot from your web blog
Great with these beautiful dishes, I don’t know how to cook but you inspired me
Thank you for sharing the information. It was exactly nice. We fix all Xero Issue like Xero Accounting Software, Payroll, Invoice, vat, Cloud etc then dial Xero Technical Support Helpline Number and get Instant online Support and Services from Xero.
Excellent post. Keep writing such kind of info on your blog. Im really impressed by your blog.
I have read your post. It solved some aspects of the problem. I think you need to make the problem clearer
QuickBooks Auto Data Recovery is a new feature that was introduced in QuickBooks 2011 R6 and QuickBooks 2010 R12, both of them are US editions, but only in the Premier and Pro versions. It was not something that we were familiar with, but now we are starting to see several questions from clients about this feature alone. What is it doing? If you have any query regarding the QuickBooks auto data recovery then you can contact QuickBooks auto data recovery support or quickBooks auto data recovery technical support. You can get QuickBooks auto data recovery help on our website. Visit : https://accountingsupportservices.com/quickbooks-auto-data-recovery/
Keep writing such kind of info on your blog.
This is very interesting information. Thank for sharing. For sure your suggestions will help me with
I have the same idea with you. Your post is so interesting your opinion is so good. I like it
great post. i like it. feeling great when reading your post .
nd scholars work under the team to provide you top most quality within a time frame. In order to score good grades with gaining knowledge as well to take assignment help at affordable price is a wise deed.
game io hot
one two
Thank you for sharing this great post, I am very impressed with your post, the information given is meticulous and easy to understand. I will often follow your next post. geometry dash
ewfwec
Quickbooks Support – If you are a smart businessman, it is always recommended that you should choose QuickBooks accounting software to handle all sorts of business transactions. As this QuickBooks accounting tool has always been a satisfying software that is used for managing all sorts of finance-related information in a type of genuine method. It is shortly known as QB and amazing accounting software which is developed by the Intuit for all small or medium-sized businesses.
Very awesome theme. I like it experience and ask you all to try it and give your feedback.