incorporated MiniMagick and Carrierwave - messy but working