[wp-meta] [Making WordPress.org] #7854: Add Javascript validation to Photo Directory submissions
Making WordPress.org
noreply at wordpress.org
Tue Dec 17 06:54:39 UTC 2024
#7854: Add Javascript validation to Photo Directory submissions
-----------------------------+---------------------
Reporter: JeffPaul | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: Photo Directory | Resolution:
Keywords: |
-----------------------------+---------------------
Comment (by coffee2code):
There are already
[https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
/wp-content/plugins/photo-directory/assets/js/submit.js#L222 client-side
JS] checks for file dimensions (among various other things), though
admittedly that part is a bit hacky.
However, given what you've said, the image has proper dimensions? Your
minimum dimension is apparently 2268, which is greater than the 2000
minimum. So the JS wouldn't see the image as having incorrect dimensions.
Which suggests a server-side issue (wrong dimensions being detected, wrong
error being shown, hiccup with the processing, etc).
I'll reach out and request a copy of the image to debug this.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/7854#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list