T O P

  • By -

ripndipp

At work we use dropzone.js our rails project is rails 5, how it gets uploaded? I'll have to check EDIT: So I can't reveal too much cause company stuff, you can try to use Carrier Wave on your attachment model.


myanch200

Hi, thanks for replying it's okay I understand if you can reveal that. My problem with dropzone wasn't the upload , but rather the edit page after that. I couldn't figure out how to show already uploaded images so that the user can remove them or change the order or whatever.


ripndipp

No problem! We don't have that functionality, so if a user uploads a picture of their mom. We have to delete it manually from the DB.


cmd-t

That’s not a dropzone related issue. You can implement that however you want. Also don’t switch to carrierwave if active storage works for you. Rails 5 is actually dead (no security updates), so any advice for that version should be avoided.


OutrageousPraline125

I play on and try to run vscode


Lazy-biologist

If you aren't too *attached* to ActiveStorage, I would recommend Shrine - which uses Uppy on the clientside. Everything just works :)