add show picture function