Added model for images with different resolutions.