Added restriction on jpegPhoto