[wp-trac] [WordPress Trac] #50397: Warning: No images found. - when running wp media regenerate on specific image

WordPress Trac noreply at wordpress.org
Tue Jun 16 09:49:27 UTC 2020


#50397: Warning: No images found. - when running wp media regenerate on specific
image
--------------------------+------------------------------
 Reporter:  mattiasf      |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.4.2
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by mattiasf):

 I tried using this plugin: https://wordpress.org/plugins/regenerate-
 thumbnails/ to regenerate the specific media, and that worked fine.

 However, I noticed it said when it was complete:


 {{{
 The attachment says it also has these thumbnail sizes but they are no
 longer in use by WordPress. You can probably safely have this plugin
 delete them, especially if you have this plugin update any posts that make
 use of this attachment.

 medium (old): 273×300 pixels earring-anpe-jamie-273x300.jpg
 large (old): 932×1024 pixels earring-anpe-jamie-932x1024.jpg
 thumbnail (old): 150×150 pixels earring-anpe-jamie-150x150.jpg
 medium_large (old): 768×844 pixels earring-anpe-jamie-768x844.jpg
 1536x1536 (old): 1398×1536 pixels earring-anpe-jamie-1398x1536.jpg
 2048x2048 (old): 1864×2048 pixels earring-anpe-jamie-1864x2048.jpg
 lazy (old): 22×24 pixels earring-anpe-jamie-22x24.jpg
 woocommerce_thumbnail (old): 300×300 pixels earring-anpe-jamie-300x300.jpg
 woocommerce_single (old): 600×659 pixels earring-anpe-jamie-600x659.jpg
 woocommerce_gallery_thumbnail (old): 100×100 pixels earring-anpe-jamie-
 100x100.jpg
 shop_catalog (old): 300×300 pixels earring-anpe-jamie-300x300.jpg
 shop_single (old): 600×659 pixels earring-anpe-jamie-600x659.jpg
 shop_thumbnail (old): 100×100 pixels earring-anpe-jamie-100x100.jpg
 }}}

 I am not sure how it comes to the conclusion that the sizes are no longer
 in use by WordPress, but surely they are. They are in use for several
 products.

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


More information about the wp-trac mailing list