fix container size for images