Friday, February 06th, 2009 | Author: pluc | Views: 1,767
WP-prettyPhoto allows you to use prettyPhoto by Stéphane Caron, a themeable jQuery-powered Lightbox clone with WordPress. Check it out on WordPress Extend!
Category: WP-prettyPhoto



February 10th, 2009 at 2:01 am
Great job! the Mobile browser check is a nefty feature! good to see you working on Wordpress plugin
February 11th, 2009 at 8:48 am
Hi,
as a user of nggallery which is widely used there seems to be a conflict as it also uses jquery – firebug gives the following errors: $ is undefined
$.fn.prettyPhoto = function(settings) {
$ is not a function
$(document).ready(function(){
by adding $pretty = jQuery.noConflict(); at the top of the jquery.prettyPhoto.js and replacing every instance of $ with $pretty there and in wp-prettyphoto.php where i had to change the EOTHM to a classical php echo got me free of errors and both work together now peacfully
best regards
bee
February 19th, 2009 at 2:48 pm
I’ve tried to integrate pictures on a blog of mine and got into several problems:
* There’s no documentation on how to put pictures into wp-prettyphoto galleries, when you are not following the link on this page to Caron’s prettyPhoto. There should be at least a sentence like “Documentation on how to include pictures can be found at…”
* There seems to be a bug altering the way Caron’s prettyPhoto works compared to WP-prettyPhoto: You have to write rel=”prettyPhoto[]“. It seems not to work without the brackets! At least not in my installation
* There’s a compatibility issue with the Wordpress theme k2, as it uses the jQuery.noConflict function, so your $ code doesn’t work any more without changing your or k2’s code!
Nevertheless your plugin is one of the best lightbox plugins for Wordpress I’ve seen so far! Thanks.
February 19th, 2009 at 2:59 pm
@Volker E. Thanks for the feedback. There’s no documentation on how to put pictures into WP-prettyPhoto galleries because you do not need to put pictures into WP-prettyPhoto. It will do so on its own. That’s also why I haven’t mentioned to write rel=”prettyPhoto[]” anywhere, it’s automatic (providing you’re selecting the “Auto-prettify image links” in the settings). WP-prettyPhoto wasn’t tested (or made for) users who choose not to auto-prettify image links. Support for that will be introduced progressively over the next few versions.
We’re aware of the compatiblity issues, and a fix is coming tonight (1.2.1) that will make WP-prettyPhoto compatible with other jQuery-powered plugins.
Thanks!
February 20th, 2009 at 10:12 am
Very nice plugin … impress that you make a Wordpress plugin…
very good job…
March 1st, 2009 at 6:00 pm
whats the other name to the script just like this, but costs less?
March 1st, 2009 at 6:02 pm
@Julya: This plugin does not cost anything. Both prettyPhoto (the javascript) and WP-prettyPhoto (the WordPress plugin) are opensource and free.
March 3rd, 2009 at 2:49 pm
Hi pluc,
just by accident i stumbled upon this trying to activate plugin within php4 Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or ‘}’ in /blabla/blabla/wp/wp-content/plugins/wp-prettyphoto/wp-prettyphoto.php on line 180
problem was gone as i forced use of php5
best regards
bee
March 3rd, 2009 at 2:55 pm
@bee You’re absolutely right, and it’s intended. PHP4 celebrated its end of life (end of support) on 2008-08-08. Everyone should have switched to PHP5 by now. If you haven’t, it’s unfortunate. I don’t develop anything and intend it to fail on Internet Explorer 6 and PHP 4, but I develop without caring if it does.
I hope that answers your question.
March 3rd, 2009 at 4:13 pm
Hi pluc,
totally agree with you but could make sense to mention in installation part to avoid confusion or do some detection of php version with a warning. For example running on shared server hosting default there is php4 just forgot to switch to 5 per .htaccess this time. So this might happen not only to me.
best regard and thanks for the plugin
bee
March 3rd, 2009 at 4:15 pm
@bee You’re absolutely right again. WP-prettyPhoto is fully object-oriented since the last version (1.1.3), I have indeed neglected to update the requirements. Thanks for the heads up!
March 14th, 2009 at 5:11 am
hi
i have install WP-prettyPhoto what there is no working in website when will click on “rel=”prettyPhoto[]” add link to it is working what i will need it work auto
March 14th, 2009 at 2:10 pm
@shrink You need a string between the brackets if you’re trying to pop a gallery. Like prettyPhoto[g123]. And your quotations syntax is off. If you want to do it automatically, simply check the “Auto-prettify Image Links” in the options.
April 8th, 2009 at 12:21 pm
Hi,
I have installed your plugin on my wordpress script (localhost: Xampp), but for some reason I can’t get it to work. I have chacked option Auto-prettify image links and ad rel into my picture. I have also used other plugins such as Flexible Lightbox but nothing seems to work. Is there some java script code that I need to paste into my header or do I need to install additional plug in.
October 20th, 2009 at 10:29 pm
So, I’m using this plug in, and it works when you click on images on the permalink pages for posts, but not on the main page (they just open fullsize in the browser window). The theme I am using is called Minimalist, and its main page is a little funky. I was wondering if you could give me any tips on how to modify the theme in order to get your plug in to work properly. Thanks either way.
October 21st, 2009 at 1:22 pm
Are you guys seriously going to hijack this thread because I closed the main one? Which part of “use the support forums” isn’t getting through?
I will help each and everyone of you, but for the time being, I’ll just lock this thread too.
Use. The. Support. Forums. PLEASE.
http://support.eratech.ca – I even made a reaaallly simple domain alias just for this. USE IT.
http://forums.no-margin-for-errors.com/?CategoryID=8