cloudinary_gem icon indicating copy to clipboard operation
cloudinary_gem copied to clipboard

Using cloudinary-url in scss with webpacker

Open christofdamian opened this issue 7 years ago • 9 comments

We are switching from sprockets to webpacker in Rails. Our current setup is using cloudinary-url in scss a lot to host and scale the images on cloudinary. This doesn't seem to work with webpack. Is there any workaround for this?

christofdamian avatar Mar 13 '18 15:03 christofdamian

Hi @christofdamian. We currently do not support the cloudinary-url helper in webpack as it only works with the rails standard assets pipeline. We're currently working on a relevant cloudinary webpack loader (no ETA currently). We will update on any progress done in this matter.

roeeba avatar Mar 15 '18 12:03 roeeba

@roeeba Any update for this? We need to access images from both standard Rails code, preferably using the rails/webpacker helpers as well as React code that uses Webpack's processing of the client-side assets so that background images can be found per the Webpack fingerprinting.

Or is there a better way to have a DRY solution where images can be accessed via standard Rails and React code?

justin808 avatar Jan 29 '19 02:01 justin808

Hi @justin808. Sorry for the delayed reply. Please let me check it internally. Update to follow.

roeeba avatar Feb 03 '19 15:02 roeeba

@justin808 - The ETA is February 25th. stay tuned for our updates :)

shirlymanor avatar Feb 15 '19 19:02 shirlymanor

@roeeba Any progress on this by any chance? Thanks.

bbrassart avatar Jun 25 '19 09:06 bbrassart

Hi @bbrassart, checking with the team. Update to follow.

roeeba avatar Jun 27 '19 14:06 roeeba

Any update on this one ?

dacloutier-logmein avatar Nov 15 '19 13:11 dacloutier-logmein

Hi @dacloutier-logmein Just checking our internal ticket on the latest. Its status is 'in review' but I'll see if I can provide more details than that.

aleksandar-cloudinary avatar Nov 23 '19 16:11 aleksandar-cloudinary

Any updates?

hishammalik avatar Apr 28 '21 23:04 hishammalik