Change images

* Get main size (not large)
* Check if the image is undefined