set first image if page is not set
Merge branch 'feature-allow-physical-pagename' into add-type-switch