Bug #1709
open[Webinars]The user is able to upload image with invalid dimension format.
0%
Description
By creating the webinars user can upload image less than 200 x 200 pixels and larger than 1000 x 1000 pixels.
Precondition:
User must be previously logged in with appropriate permissions for creating a webinar.
- Click on the "Webinars" via navigation menu at the left side.
- Observe the form.
- File is ordered under "Link"
- Click on the "Choose File" on the "Image" field.
- Image is upload file.
- Select the valid image file.
- Select the image with invalid dimension data, but valid format and size.
(a.[IMG_20220220_130135.jpg, max.5MB, 199x199 ];
b.[IMG_20220220_130135.jpg, max.5MB, 1001x1001 ]); - Click on the "Open" button to the down right corner.
- The Image will not be upload on the pages.
Expected result:
The selected image should not match the expected dimensions (min 200x200 pixels and max. 1000x1000 pixels), but should match the expected format (JPEG, PNG, GIF) and size ( max.5 MB), and the system should not accept the image dimension.
The message " Image dimension incorrect "
Actual result:
The selected image should not match the expected dimensions (min 200x200 pixels and max. 1000x1000 pixels), but should match the expected format (JPEG, PNG, GIF) and size ( max.5 MB) but the system accept the image dimensions. Webinar is created successful.
Files
No data to display