Fixed event logo image upload/preview persists if image is too small

alfa1

Well-Known Member
Browser: Chrome 58.0.3029.110
Device: Windows PC Win10 Pro 15063.296
Issue: when you create an event in a social group, and add an icon, if the icon you upload is too small, its image will persist in the preview window after you change it

Steps to reproduce:

-In a social group, create an event
-Click on "upload event logo"
-Choose an image for that event smaller than the required minimum size (280x280)
-observe the error box about the image being too small, close it
-Click on "upload event logo" again
-Choose an image that meets the size requirements, bigger than 280x280
-The first image (smaller than 280x280) will be displayed in the event logo image space; the second one (bigger than 280x280) will not
-Hit "save changes" without altering anything
-Now, the second image (bigger than 280x280) will be displayed correctly as the event logo


This same behavior happens when initially uploading a group icon image when creating a new social group.

This is likely caused by the same issue as this:
https://nobita.me/threads/image-pla...you-release-the-mouse-over-the-text-box.1344/
 
Back
Top