How can I rename by CarrierWave file versions?
- by AKWF
Upon the uploading of an image in my application, 4 different sizes are created and saved using CarrierWaves version functionality. However, I am converting all of these versions to JPEG. The source file that is uploaded remains unchanged.
So I can upload a TIFF file, and CarrierWave will create :large, :medium, :small, and :thumb versions.
My problem is that these files all still end in .tif. Yet they are indeed JPEG files, as I've verified this with the file command.
How can I write the filenames correctly for each version, and ensure that CarrierWave will report each version's name correctly?