add setImageForCurrentView function to createpostcard