Wonicon / notebook

Keeping information of various types based on topics for personal purposes
0 stars 0 forks source link

Support image uploading #1

Open Wonicon opened 6 years ago

Wonicon commented 6 years ago

Support uploading images for subject covers and illustrations attached with posts

Consider using CarrierWave to make my hands clean.

Wonicon commented 6 years ago

It seems that an uploader instance stands for only one uploaded file. Therefore, if I want to implement stand-alone image management function, I would better create a model to store all the images, mounted with an uploader class.

Wonicon commented 6 years ago

Nope, we can use uploader.retrieve_from_store!(filename) to get control over files.

Wonicon commented 6 years ago

But it would be better to add tags and source link to the image uploaded (except covers).