added support for custom image_sizes