allReady icon indicating copy to clipboard operation
allReady copied to clipboard

Create Campaign - Image Upload Limits

Open stevejgordon opened this issue 7 years ago • 4 comments

When logged in as a site admin or organization admin, the user can create new campaigns in allReady.

Currently there is an image upload option but we do not limit the size of the upload or scale the uploaded image. This may lead to unneccesarily large images being uploaded and affecting page load times.

We should do at least one of the following:

  1. Limit the max dimension on the long edge for the image and/or the filesize
  2. Ideally, scale the image or provide a client side image cropper and resizer before uploading the image.

We should also ensure that we only allow image file types to be uploaded. Currently it seems that any file can be chosen and will upload. This could present a security risk!

stevejgordon avatar Jan 15 '18 18:01 stevejgordon

Reserved for .NET South East codeathon

stevejgordon avatar Jan 15 '18 18:01 stevejgordon

I'll pick this up after #2228 as code has been created for that issue

Paul-Hadfield avatar Jan 20 '18 12:01 Paul-Hadfield

I think this was has been fixed and waiting to be merged into main code base.

Paul-Hadfield avatar Jan 21 '18 19:01 Paul-Hadfield

@stevejgordon or @MisterJames can you confirm that this issue is resolved?

stimms avatar Mar 06 '18 17:03 stimms