consider img size attributes when choosing flavor image