fix upgrade function

allow for sequential upgrades
internationalize image size display

as per comment
https://github.com/gallery/gallery3/pull/394/files#r4643737