[wp-trac] [WordPress Trac] #2794: Make thumbnail creation pluggable

WordPress Trac wp-trac at lists.automattic.com
Wed Jun 7 08:31:00 GMT 2006


#2794: Make thumbnail creation pluggable
----------------------------+-----------------------------------------------
       Id:  2794            |      Status:  new                     
Component:  Administration  |    Modified:  Wed Jun  7 08:31:00 2006
 Severity:  enhancement     |   Milestone:  2.1                     
 Priority:  normal          |     Version:  2.1                     
    Owner:  anonymous       |    Reporter:  mdawaffe                
----------------------------+-----------------------------------------------
 Currently, there is no way to alter the way WordPress creates thumbnails.
 Users may wish to change the current method of producing thumbnails for
 images and/or create new ways of making thumbnails of other files (videos,
 pdfs, etc.).

 Attached File (trunk):

  1. Calls wp_thumbnail_attachment_{MIME type} to generate a thumbnail.
  1. add_filter('wp_thumbnail_attachment_image/(jpeg|gif|png)',
 'wp_image_thumbnail')
  1. Cleans up wp_create_thumbnail().
  1. Adds some no frills error handling/reporting of thumbnail creation.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/2794>
WordPress Trac <http://wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list