Replace resource with offering in OfferingPainter
Fix problems uploding files to the store