[wp-trac] [WordPress Trac] #59740: Image scaling being applied inconsistently
WordPress Trac
noreply at wordpress.org
Wed Apr 17 15:45:53 UTC 2024
#59740: Image scaling being applied inconsistently
--------------------------+-----------------------------
Reporter: whistlerdan | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
--------------------------+-----------------------------
Changes (by antpb):
* keywords: => needs-patch
* milestone: Awaiting Review => Future Release
Comment:
Hi @whistlerdan ! Thanks for this ticket. This ticket was reviewed in the
recent Media component meeting and we think what you are experiencing is
the server being out of memory at the time of the scaling which could be a
variable occurrence depending on the current load of the server when the
task initiates.
I did some digging and found that this logic in current state
intentionally fails silently and continues on the upload process. See
https://github.com/WordPress/wordpress-
develop/blob/a26c655f852887168d67200a98769c3aa6ffe2e8/src/wp-
admin/includes/image.php#L312-L331
I'm changing this issue to focus on adding the errors so folks understand
better when a failure to make -scaled happens.
@swissspidy this might interest you and your recent browser processing
hacks. I cant imagine a browser would struggle as a fallback to process
large images like this. 🤔
--
Ticket URL: <https://core.trac.wordpress.org/ticket/59740#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list