dwyl / dwyl/imgup

What is the best way to allow for multiple image uploads?

Open
#45 2 comments 1 reaction 1 assignee Claimed by @Cleop View on GitHub
help wanted question technical
Dominant language
Elixir
Stars
108
Forks
20
Avg merge
21h 46m
Merged PRs (30d)
4

Description

What is the best way to allow for multiple image uploads?

For an e-commerce site where a product can has one primary photo plus multiple secondary photos, what is the best way to enable uploading multiple images?

1. If you upload multiple images one at a time just like a single upload app, what naming conventions should you follow in order to store the images linked to a particular product? E.g. product a1b has images a1b-1, a1b-2 etc. Is using an end number useful? Could this number go into double or triple digits if necessary?
2. How can you enable users to upload multiple images in one go? E.g.
![image](https://user-images.githubusercontent.com/16775804/48127822-8f221e00-e27c-11e8-9b55-3e2389e69e25.png)
3. How can you differentiate between the primary and secondary images? How do you update the primary image?

Question 1 is of the highest priority for me right now but I will also want to consider the other questions in due course.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.