picture preview is working now