photo has to be approved before it is appeared in the resource