Modified add_image_size in functions