How to enable certain cover images to be replaced by an admin user in a rails app?

52 views Asked by At

I want to enable my client to easily replace individual images directly from their website's front-end. Say for example there are 5 product images on their homepage and the client will want to change one (or all) of them from time to time.

Do I need to create 5 separate uploaders with CarrierWave (one for each of the 5 product images), and then add a column for each to a shared 'products' model?

As a complete Rails and Ruby noob I think this will work, but it seems a bit convoluted and not very DRY.

Thanks in advance for any help.

Alxs

0

There are 0 answers