Make WordPress Core

Opened 3 years ago

Closed 2 years ago

Last modified 13 months ago

#53985 closed enhancement (fixed)

Change suggested maximum image size to 2560 pixel (like big image threshold)

Reported by: zodiac1978's profile zodiac1978 Owned by: adamsilverstein's profile adamsilverstein
Milestone: 5.9 Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch has-copy-review commit
Focuses: Cc:

Description

In #47872 we introduced and in #49280 we refined the error message for a broken image upload to this text:

Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2500 pixels.

But in #47873 the big image threshold is set to 2560 pixel which is not 2500 pixel but not much away.

I think this could be confusing for beginners. Which is the recommended maximum size? 2560 or 2500 pixels?

Would it make sense to change the last sentence to "Suggested maximum size is 2560 pixels."?

Attachments (2)

53985.diff (1.2 KB) - added by zodiac1978 3 years ago.
Change suggested maximum size to 2560 pixel instead of 2500 pixel
53985.1.diff (1.3 KB) - added by hellofromTonya 2 years ago.
Rewords per copy review (see comment 14)

Download all attachments as: .zip

Change History (28)

#1 @SergeyBiryukov
3 years ago

  • Milestone changed from Awaiting Review to 5.9

#2 @zodiac1978
3 years ago

  • Resolution set to duplicate
  • Status changed from new to closed

Duplicate of #53984.

#3 @zodiac1978
3 years ago

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Closed the wrong ticket :(

Created this ticket twice due to a internal server error on submission.

Last edited 3 years ago by zodiac1978 (previous) (diff)

#4 @zodiac1978
3 years ago

#53984 was marked as a duplicate.

@zodiac1978
3 years ago

Change suggested maximum size to 2560 pixel instead of 2500 pixel

#5 @mukesh27
3 years ago

  • Keywords has-patch added; needs-patch removed

Agreed with @zodiac1978. We have to use 2560 pixels instead of 2500 pixels so others don't get confuse.

Let's wait for core dev feedback then will make it commit

#6 @SergeyBiryukov
3 years ago

My initial though was that 2500 might have been chosen as a reasonable, easy-to-remember value below the default big_image_size_threshold filter value (2560), to avoid using additional resources for post-processing.

I was wondering what would happen if the image is exactly 2560 pixels on either side. Looking at [46076] / #47873, scaling the image down to use as the "full" size only happens if it's larger than the threshold value, so suggesting 2560 for consistency should still be fine.

#7 follow-up: @antpb
3 years ago

this came up in the recent Media component meeting. I agree, changing the message to be exactly the value is the right call.

@joyously mentioned that because the value is able to be filtered maybe we should directly use that filterable value in the place where this message mentions the size.

#8 in reply to: ↑ 7 @zodiac1978
3 years ago

Replying to antpb:

@joyously mentioned that because the value is able to be filtered maybe we should directly use that filterable value in the place where this message mentions the size.

Good thought! On the other hand is the error message a warning about an image that is maybe too big to handle for the server. Using the filtered value could give the wrong expression that the filtered value is something WordPress itself is recommending.

If someone uses the filter they should be aware of the implications, but we all know that copying & pasting code snippets happens a lot ...

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


3 years ago

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 years ago

#11 @antpb
2 years ago

  • Owner set to antpb
  • Status changed from reopened to assigned

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 years ago

This ticket was mentioned in Slack in #core-media by antpb. View the logs.


2 years ago

#14 @webcommsat
2 years ago

  • Keywords needs-copy-review removed

1) Agree having the actual maximum size of an image will be clearer for users.

2) We may need to check if there are any LearnWP resources which refer to 2500 pixels that would need to be changed to 2560 too. Will check with the Training team once this ticket goes through.

3) Suggest a reword of the text to make it easier to follow especially for new users. As we are approaching feature freeze, this reword has been re-reviewed with @marybaum.
Change from:
"Post-processing of the image failed likely because the server is busy or does not have enough resources. Uploading a smaller image may help. Suggested maximum size is 2560 pixels."
to:
"The server can not process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels."

Last edited 2 years ago by webcommsat (previous) (diff)

This ticket was mentioned in Slack in #core by abhanonstopnews. View the logs.


2 years ago

This ticket was mentioned in Slack in #core by hellofromtonya. View the logs.


2 years ago

#17 @hellofromTonya
2 years ago

As this ticket is improving the wording/copy, it can go past Feature Feature.

#18 @adamsilverstein
2 years ago

The updated working in https://core.trac.wordpress.org/ticket/53985#comment:14 looks good to me!

Version 0, edited 2 years ago by adamsilverstein (next)

@hellofromTonya
2 years ago

Rewords per copy review (see comment 14)

#19 @hellofromTonya
2 years ago

  • Keywords has-copy-review commit added

Marking for commit and has-copy-review.

This ticket was mentioned in Slack in #core-media by sabernhardt. View the logs.


2 years ago

#21 @adamsilverstein
2 years ago

Looks good @hellofromTonya - I will commit this.

#22 @adamsilverstein
2 years ago

  • Owner changed from antpb to adamsilverstein

This ticket was mentioned in PR #1905 on WordPress/wordpress-develop by adamsilverstein.


2 years ago
#23

Trac ticket:

#24 @adamsilverstein
2 years ago

  • Milestone 5.9 deleted
  • Resolution set to invalid
  • Status changed from assigned to closed

Fixed in r52189 where I left off the "#" hence this ticket not getting auto-closed.

#25 @sabernhardt
2 years ago

  • Resolution changed from invalid to fixed

#26 @SergeyBiryukov
13 months ago

  • Milestone set to 5.9
Note: See TracTickets for help on using tickets.