A peek into the WP core file – wp-admin/includes/file.php confirms it is not WP which is doing this. Can you try the following:
- Check functions.php file in your active theme
- Try switching to other themes and check if the issue persists
- Try deactivating all the plugins and then activating them one by one and checking the issue
- Check your wp-config.php file
- Also, can you check whether this plugin is able to convert images from png to jpg or not – https://wordpress.org/plugins/png-to-jpg/
and please reply with the results.
Related Posts:
- How to get a list of all the possible thumbnail sizes set within a theme
- How do I get the avatar URL instead of an HTML IMG tag when using get_avatar?
- Prevent WordPress from adding image’ title automatically
- Overide Gallery Default Link to Settings
- How to insert images into posts without using Add Media dialog
- How can I determine if a post has an image attachment?
- Img Src File path issue
- Images dont show in grid view, but do in list view
- Automating a Daily Picture Blog?
- Replace all of post’s image URLs with upload directory URLs
- Restrict the number of images to upload per post
- How to display a shortcode caption somewhere other than the_content
- Allowing post attachments without allowing to insert in text
- Get total number of pixels, size in megapixels and aspect ratio based on image width and height?
- How to link Gutenberg Gallery images To Media file automatically?
- Did I do it right? Deleting images after deleting product. Woocommerce
- unable to upload image locally
- Edit image preview is not displayed
- get attributes/part of the gallery shortcode
- extract post image to be featured images
- Sidebar slideshow widget [closed]
- Image file sizes increasing on upload
- How to set a Minimum Image Dimension for Uploading
- How to Change WordPress Image URLs
- Different upload path per file type
- Animated Gif image not uploading correctly
- Custom page template to display all image attachments
- HTML tags in WordPress image caption
- Creating page templates with image placeholders
- How can I upload an image for background use using the Theme Editor in WordPress?
- Can an image have more than one parent_post?
- Where are the resized images coming from?
- unattached media files that should be attached
- Migration to WP – Couldn’t load image
- How can I create more upload paths, like a post corresponding to a post title folder used to store images of the same product
- Multiple amp-image overlays. How to properly do this in wordpress?
- Update an image block style programatically
- Resize into square the single product image in woocommerce without cropping [closed]
- User-uploaded images without an account
- Image Upload HTTP 500 Internal server error
- Rewrite inline image markup
- URL through custom field returning null
- How to set a Background image in WordPress?
- Images don’t load erratically
- Weird encoded error when using wp_generate_attachment_metadata()
- big trouble with javascript
- I want to rel=nofollow wordpress images
- Local install not loading template images but is loading everything else XAMPP
- Display cropped thumbnail not featured image
- Hide image gallery in Woocommerce if NO image [closed]
- All 3?: Responsive resizing of images + image width of actual image for small images + max-width for all larger images
- How to get the cropped image from media library?
- wordpress makes duplicate images of different size
- Add a span tag around image
- fitting the thumbnail image into a div
- Attachments without images
- Responsive Images from S3 has no srcset
- How to only show div of caption if caption exists on featured image
- How to “lazy load” post thumbnail
- Editing already up-loaded images
- Landing Page with HTML CSS JS and Images on wordpress
- Change Image URL on upload to some random number automatically
- wp_insert_attachment() dupplicate attachment posts
- Image title replace with current date
- WordPress Responsive Image ( srcset ) not work properly
- Product Gallery Images to go into full size on Product Page
- Why does wp_get_attachment_image_src return the wrong size, when the correct size exists?
- add_image_size limiting sizes (???)
- WooCommerce Variation Swatches and Photos – get attribute thumbnail
- link image file path embedded HTML
- Responsive Images in WordPress
- Is it possible to remove spaces from existing images? [closed]
- Troubles with code for upload a image
- get_post_meta returning broken path in image src
- Custom WordPress Theme – No Slider(s) Images
- Get image from one page and show/add it on another page
- Featured image on page set as “Posts page” in Settings > Reading
- problem with updating metabox of upload image
- How to have a specific image show up for everyone who comments?
- Images not showing after moving site
- Adding Image Description below Images Inserted into Posts
- Using file extensions in image titles
- Show uploaded images in full size
- Garbled HTML pulled for page description “caption id=attachment…”
- Media upload in add comment meta box
- Create post thumbnails from images stored outside of uploads directory
- How do I set the sizes of my thumbnails when inserting a [gallery]?
- Featured Image not changing
- has_post_thumbnail() Returns False on Scheduled Posts
- Automatically adding blog images to a portfolio/gallery
- How do I insert a photo at the top of the sidebar?
- If image width bigger than height [duplicate]
- Uncaught Error: Call to undefined function file_is_valid_image()
- WordPress Theme: replace logo image with title site if file doesn´t exist on server
- WordPress update leads to 404 error on admin page and signup. CSS mishap with all plugin related functions
- Remove one srcset entry from wp_get_attachment_image
- How to get dimension of Logo and Crest
- WordPress Missing Images
- Display first image’s caption
- The uploaded images are only full-size (original)