Added the picture fragment functionality.