adds prettyPhoto class to all the image_tags in the gallery