#2997 closed enhancement (wontfix)
Add filter for jpeg thumbnail quality
| Reported by: | ketsugi | Owned by: | pishmishy |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | 2.1 |
| Severity: | normal | Keywords: | thumbnail options admin has-patch needs-testing |
| Cc: | Focuses: |
Description
I would like to be able to specify how WordPress creates its thumbnail images. Some options I would like are:
- The minimum size above which thumbnails should be created
- The thumbnail image quality (for JPGs)
- The thumbnail size
This could be placed under Options > Writing.
Attachments (1)
Change History (9)
#3
@
19 years ago
- Milestone → 2.4 (future)
Maybe we should move wp_create_thumbnail to pluggable.php?
#4
@
19 years ago
- Owner changed from to
- Status new → assigned
ketsugi. See wp_generate_attachment_metadata() in wp-admin/includes/image.php where wp_create_thumbnail() is used. It appears that the filters wp_thumbnail_creation_size_limit and wp_thumbnail_max_side_length do half of what you need. I'm attaching a patch that adds a filter for the quality.
#5
@
19 years ago
- Keywords has-patch needs-testing added
- Summary Allow admin to configure thumbnail options → Add filter for jpeg thumbnail quality
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
+1 on this idea from me. I would also like to see the option to turn off thumbail creation.