Seems that I've finally made the image uploads work.
I would like to customsize the upload path and include the images which the members of my site already uploaded to their gallery (Gallery model).
Redactor now places the images inside system/redactor_assets/pictures
But I want it to upload to uploads/galleries/current_user_id
And also I would like Redactor to read the members Gallery images from that folder so they can place it inside their blogposts when clicking on Choose option in the image popup window.
I can change the path in the Carrierwave uploader but since there is no relationship between members and the picture model I doubt it would work. Also is it enough to just change the path in Carrierwave or I need to change it elsewhere too to make this work?
Seems that I've finally made the image uploads work. I would like to customsize the upload path and include the images which the members of my site already uploaded to their gallery (Gallery model). Redactor now places the images inside system/redactor_assets/pictures But I want it to upload to uploads/galleries/current_user_id And also I would like Redactor to read the members Gallery images from that folder so they can place it inside their blogposts when clicking on Choose option in the image popup window.
I can change the path in the Carrierwave uploader but since there is no relationship between members and the picture model I doubt it would work. Also is it enough to just change the path in Carrierwave or I need to change it elsewhere too to make this work?
Best Wishes, Matt