fix the width of images, include thumb-generating