Saturday 3 October 2020

Sprint 17 Boat Image Uploads and Live Trialling

Boat Image Uploads

I've tried to keep this very simple for the time being.  It allows equipment officers to upload a single image for a boat and will replace an existing image.   This is to keep the image storage as small as possible.  I've also not included any image manipulation.  This will be the responsibility of the equipment officers to crop the images so that they have a 16:9 aspect ratio.  I felt that it would be better to let the officers do this manually and verify that the results show the boats correctly than rely on an automated crop.

Live Trialling

I've sent an email out to the section reps with instructions on how to create an imaginary trip.  The plan is for the reps to create a 'typical' trip that the members can sign up for and try out all the features.  The reps can then 'advertise' the trip on the forum so we can see how the application handles the trip planning process, identify an issues or missing features

I've set up an advertised an example imaginary trip and posted on the forum.  Awaiting the section reps' trips to be advertised. 

Boat Image Uploads Update

Switched to using an image cropper component to ensure that images are uploaded as 16:9 aspect ratio.

To use this I needed to be able to convert from a data URI to an IFormFile (Blob).  This article contains function code to do this. 

For the test I used a blank image.

No comments:

Post a Comment