[wp-trac] [WordPress Trac] #48522: Attachment size not generated when large images uploaded

WordPress Trac noreply at wordpress.org
Thu Nov 28 22:31:23 UTC 2019


#48522: Attachment size not generated when large images uploaded
-------------------------------------------------+-------------------------
 Reporter:  vanyukov                             |       Owner:  (none)
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  5.3.1
Component:  Media                                |     Version:  5.3
 Severity:  normal                               |  Resolution:
 Keywords:  2nd-opinion has-patch needs-testing  |     Focuses:
  needs-unit-tests                               |
-------------------------------------------------+-------------------------

Comment (by vanyukov):

 Replying to [comment:21 azaozz]:
 >As WordPress is a web publishing software, thinking that the third option
 above is best for the great majority of users. Of course there may be
 cases where images are not uploaded for "web use", but these cases would
 be best served by more specifically targeted plugins?

 To a point, I do agree. But there will come a time when this won't be
 true. You can easily get your hands on a retina 6K monitor or 8k TV, so
 uploading a large image is not that uncommon. Future-proofing for the next
 2-3 years is a great idea, in my opinion.

 But for the time being, I guess, this will have to do:
 > Fail the upload and ask the user to upload a smaller image that is more
 suitable for web use.

 As for:
 >Uploading an image as-a-file, i.e. without post-processing.
 >Allowing sub-sizes to be uploaded separately and "importing" them in the
 image meta.
 >Having an UI to generate missing sub-sizes for a particular attachment.
 Those are some really nice ideas. A UI to generate missing attachments + a
 UI to indicate that there **are** missing attachments for an image - that
 would be the best-case scenario. Even if there's some small notice when
 adding an image that not all attachment sizes are available, that would
 also resolve

 >They expect the images "to just work". Failing to create some of the sub-
 sizes will prevent these images from working properly.

 Having a market share of 1/3 of the web, my opinion, WordPress should be a
 universal platform. All the use case scenarios should be supported "out of
 the box", without plugins and modifications. If it was my decision, I
 would prioritize for the future, not for the past. But it's easier to say
 than do, I understand that :-)

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48522#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list