simplify ImageUri handling and add 320px support