afup/haphpy-birthday

Check uploaded pictures

Closed this issue · 2 comments

⚠️ Starting to work on this issue? please indicate it in a comment below.

Uploaded pictures should be:

  • of PNG or JPG format
  • 1920 × 1080 pixels size

I think a client-side precheck could be a good thing.

None of the pictures uploaded yet are in a 16 ⨉ 9 aspect ratio.

There's a possibility to display the image how it will be cropped just modifying dropify (the file input of elaostrap) even without javascript.

Just a thought. (but is the most important point people must understand − uploaded images don't have to be this aspect ratio but user must not it will be cropped)

I'm working on it.

I'll probably just set up a cropping div with the media only once the media is uploaded. This allow both picture and video to be previewed.