remove photo from ajax resource type form, it doesn't work.
use photo url instead.