added re-sizing of carrierwave images