Adding default argument to getMainImageResized