The prettyPhoto is designed to work with the portfolio template only, it’s not site wide. It would probably be easier to find a plugin to get the blog and any other images to open up using that same effect. I’d search over at WP.org, I’m sure they have plenty of plugins that will do this automatically.