[wp-trac] [WordPress Trac] #58261: set_post_thumbnail_size interferes with "Cover Image Block"

WordPress Trac noreply at wordpress.org
Wed May 31 18:28:04 UTC 2023


#58261: set_post_thumbnail_size interferes with "Cover Image Block"
----------------------------+------------------------------
 Reporter:  RichWP - Felix  |       Owner:  (none)
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Media           |     Version:  6.2
 Severity:  normal          |  Resolution:
 Keywords:  close           |     Focuses:
----------------------------+------------------------------

Comment (by RichWP - Felix):

 Thanx for your reply and consideration.

 A "small" thumbnail image size of the featured image never makes if the
 image can appear in a large size context and the an src-set should be
 implemented instead. At least that would be the expected behaviour from
 the pre-gutenberg era: see <?php the_post_thumbnail(); ?>

 The current implementation would not allow the use of the cover block in
 single post / page templates (theme building) where a cover image would be
 displayed in the post header. It will only work when within the editable
 content area of a post or page.

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


More information about the wp-trac mailing list