testing gallery camera function