squeezed resource image to fit