For consistency with MediaWiki, rename all references to type 'photo' to 'image'