I was using Lightbox2 for displaying pictures of posts in a BlogengineNet based website InAEA , but with jquery implementation plans, i decided to use jquery all over the website and found similar Lightbox2 script : PrettyPhoto .
I made little changes on Lightbox2 extension and done. My client websites low traffic and it works well for now. But some code parts can better, for example “Item_Serving” function. I don’t know could cause performance problem or not.
Some Notes:
- This extension works with PrettyPhoto Version 2.2.7
- JQuery required. “jquery-1.3.2.min.js” which i used jquery script, (but i didnt add with this extension, you can find an another extension about add jquery to blogengine, don’t want to my own extension before try with another jquery applications.)
- Placed prettyphoto.cs to “app_code/extensions” and “prettyphoto” folder to root. ( wrote in readme.txt )
- I just hardcode default path for folder as;
private const string defaultPath = "prettyPhoto";
- prettyPhoto.css is not gzipped.
- Please look PrettyPhoto website to how to use,
actually easy that you need to add rel tag to images like
for single photos => rel=”prettyphoto”
for photos as gallery => rel=”prettyphoto[ galleryname ]” (without spaces)
Please write comment for any problem or suggestions…


Nice work, you should submit it to BlogEngineTheme.com to help promote it. I’ll include a link back to this post as well. Just fill out the form completely so I don’t have to think. lol
Comment by Blogengine Extensions — May 8, 2009 @ 10:17 am
Thanks for comment and suggestion
Comment by Mehmet Efe Ozer — May 8, 2009 @ 12:03 pm
This is awesome. Looks great for movies and flash, will have to try it out.
On a side note, its interesting that you develop for BlogEngine, but you use wordpress.
Comment by James Archuleta — August 18, 2009 @ 11:12 pm
Thanks James,
, but develop existing website ( http://www.inaea.org ) and building my own blogengine website with some major changes.
prettyPhoto is a nice plug in, but i need to remembered you, for movies and flash you need to use “their” last version, what i put here for download is only work with images. I guess my code doesn’t need to change.
Yes i started with wordpress
Comment by Mehmet Efe Ozer — August 18, 2009 @ 11:28 pm