successfully implemented query photo preview feature!!!!