Make a gallery relations from ThumbnailedImageField