simplifies image width