How to use prettyPhoto in wordpress?

Integrating prettyPhoto into WordPress theme

  1. uploaded the prettyPhoto. css file into the /css directory.
  2. uploaded the jquery-1.3. min. js and jquery. prettyPhoto. js files into the /js directory.
  3. uploaded all of the image folders (fullscreen, prettyPhoto, thumbails) into the /images directory.

How do you use prettyPhoto?

To open YouTube content with it simply:

  1. Create a link ().
  2. Add the rel attribute “prettyPhoto” to it (rel=”prettyPhoto”).
  3. Change the href of your link so it points to the YouTube video page, the same link you would share with friends.

What is prettyPhoto?

prettyPhoto is a jQuery based lightbox clone. Not only does it support images, it also add support for videos, flash, YouTube, iFrames. It’s a full blown media lightbox. The setup is easy and quick, plus the script is compatible in every major browser.

What is prettyPhoto in WordPress?

WordPress prettyPhoto is a jQuery lightbox clone. Not only does it support images, it also support for videos, flash, YouTube, iframes and ajax. It’s a full blown media lightbox. It is very easy to setup, yet very flexible if you want to customize it a bit.

How do I add prettyphoto to my website or blog?

Basically, for using prettyPhoto you need to add some scripts to your website or blog like the jQuery library, prettyPhoto JS (JavaScript) and the prettyPhoto CSS in the head or footer of the page (s). It looks like this:

How to integrate prettyphoto with Lightbox for post images?

The easiest way to integrate prettyPhoto with lightbox for post images that’s using a WordPress plugin. You can try it with Simple Lightbox plugin. With this plugin you can many configuration options (for example: UI, label, activation (on page, post, menu…)) that’s great plugin for you look around.

How do I add pretty photo to a YouTube video?

Add the rel attribute “prettyPhoto” to it (rel=”prettyPhoto”). Change the href of your link so it points to the YouTube video page, the same link you would share with friends. Create a link ( ). Add the rel attribute “prettyPhoto” to it (rel=”prettyPhoto”).

How do I open multiple photos in prettyphoto?

One thumbnail can open multiple photos in PrettyPhoto. It’s a unique Justified Image Grid feature, everything is set up for you behind the scenes. This is possible with these sources: NextGEN Galleries / Tag albums, WP Real Media Library galleries, Facebook Albums, Flickr Collections.

You Might Also Like