Tag Archives: elixir

Elixir Phoenix models with images.

Today I’m going to talk about elixir and phoenix framework. It’s my first post about them and today I would like to tell you how did I solve quite common problem for web development – serving images for your domain models.

Problem:

In my app – users have avatars,  companies have logos and any other model can have referring image. I need to have ability to save images for my models. I want to have ability to save them to AWS S3 and locally(in future I want to add new providers).

Continue reading