#48278 closed defect (bug) (worksforme)
image is automatically resized even if it is not set
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Media | Keywords: | |
| Focuses: | Cc: |
Description
Hi,
don't want to resize images.
my media setting;
Thumbnail size Width 0
Thumbnail size Height 0
Medium size Width 0
Medium size Height 0
Large size Max width 0
Large size Max height 0
My theme not use post thumbnail support
Add new post, upload image auto resize image 768x419
Consists of 2 files
sample.jpg
sample-768x419.jpg
Change History (4)
Note: See
TracTickets for help on using
tickets.
Hi Gevv,
I think created an issue with some plugin.
So please add below function in your active theme.
function remove_image_sizes( $sizes, $metadata ) { return []; } add_filter( 'intermediate_image_sizes_advanced', 'remove_image_sizes', 100, 2 );Please let us know if this helps.
Have a good day in the meantime.
Thanks