making the photo view to support react engine