Event Images Aren't Verified #34
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
rework
Something existing needs to be redeveloped or modified
Images for events are intended to be stable URLs that resolve to a PNG or JPEG image; but there is no verification. While it was intended to be a decent solution allowing dynamic media to be referenced, it appears this usage is not implicit and officers are linking media that is impossible for browsers to resolve properly.
For example
https://drive.google.com/file/d/1XsOSfLbvJ1Z-RlByTvnMxPlR785qu2G5/view
https://acmutsa.notion.site/All-Logos-41efcfae57324beb816f136c0756b16a#5e9b9c427ae64d849ad0f0d468a20ce4
These URLs are pages - they won't resolve. Browsers won't HTTPS images back. Even worse, I believe if the officers had done it properly (gotten a valid Content-Type returned), the image used may have been unstable; temporary. And not resolve after days or even hours.
For now, before proper media upload is implemented, a verification process needs to be created. This process needs to be server-side to eliminate potential errors from locally available images (localhost, intranet).
The check should make sure of the following, and return the reason (if any) for failure:
Potential other checks:
*.google.com
,*.imgur.com
).W > 100 && H > 80
)The text was updated successfully, but these errors were encountered: