Added custom picture functionality