Resolving Image resize conflict