The renaming to test1.jpg is not due to any cropping / resizing functions WordPress. This is because you already had a file named test.jpg uploaded, and WordPress does not replace files if one exists in the folder that has the same name. If, for some reason you want it to replace files rather than rename it (not recommended) you can use a plugin like: https://wordpress.org/plugins/overwrite-uploads/ and it will not rename your files, it will replace existing files.
Related Posts:
- Upload images to remote server
- How to delete resized (cropped) image uploads and prevent future resizing?
- Using Images in WordPress – Best Practices
- Media Upload Folder – how to manage
- Image resize with image url
- How do i upload an image and return the image id?
- Alter media caption/description conflict in WordPress?
- Restrict the number of images to upload per post
- How to add a media with PHP
- What’s the best “insert all images” plugin?
- Different upload path per file type
- Rename media files generated during upload
- add_image_size() to crop images into squares?
- HTTP Error when uploading files above 7mb unless using GD Image Editor
- Change WordPress Media Manager
- Bulk edit of EXIF data for jpeg images uploaded in the media library?
- image in my post disappeared after I upload website to remote server
- Handling image uploads without thickbox
- How can I create more upload paths, like a post corresponding to a post title folder used to store images of the same product
- WordPress automatically downscaled images larger that original
- Ho to add “Create Slider” option to default “Add Media” popup?
- Show image crop window on image upload
- Edit image results in copies of file being created
- Images uploaded to the media library has strange colors. However, in the edit screen the color is ok
- Change wp-content/uploads to uploads/%postname%/%image%
- Blank upload.php page
- Upload media only to DB
- Get images attached to a specific page
- Is there a way in WordPress to convert images to WebP without a plugin?
- How can i identify media uploaded to my website that is not being used anywhere anymore?
- image URL changed in wordpress
- Serving Images from subdomain in wordpress
- User uploads image as “Featured Image” but WordPress resizes it?
- Profile image does not upload
- WordPress append -1 to the image name
- cant upload media/pictures to my wordpress site, cant upload anything to my database
- Upload error on localhost (at minimum, not yet tested online)
- unsharp thumbnails after uploading image
- Updated wordpress missing image upload area
- Missing Images in Uploads Directory (Server Only)
- Broken Media Library
- Media Library is not loading on grid view in admin panel
- Blurry Images WordPress 5.8.1
- How to get WordPress to resize images for srcset?
- Uploading media to wordpress API with C# HttpClient
- How to upload multiple images to use as gallery in Kirki Framework
- How do I display a PDF thumbnail as a link to the PDF without uploading the image
- Featured Image add tab
- Restricting users to view only media library items they have uploaded?
- Image Upload from URL
- Prevent WordPress from generating medium_large 768px size of image uploads?
- Custom image size / thumbnail – Crop to aspect ratio even when source image is smaller than set dimensions
- Reject upload of wrong-sized images using the Media Uploader
- Each custom image size in custom upload directory?
- Set default image link target in Gutenberg image block
- Download an image from a webpage to the default uploads folder
- After Moving a Site to Another Domain, All Images Are Lost
- Uploaded images don’t show in Media Library if there are special characters in IPTC Keywords
- Why WordPress automatic cropping all my images?
- Allow contributor role to upload images and not edit already published articles
- What’s the proper way to find and remove duplicate images from posts and the media library?
- Is there a hook which fires after all thumbnails are generated?
- Which filters or actions to use after a media upload and delete?
- Limit image resolution on upload
- Rename files on upload
- How to insert images into posts without using Add Media dialog
- How to set the default embed image size
- Adding a custom image upload size and making it selected by default?
- How to resize images in wordpress without adding any compression or changing the color profile of the images, possible?
- get_the_post_thumbnail_url with an unregistered size
- Cropped featured image replaces original image in gallery
- Prevent large image uploads
- Modifying an uploaded image with ‘wp_get_image_editor’ and ‘wp_handle_upload_prefilter’
- Settings in ‘Media > Settings’ is ignored when inserting images
- Upload multiple images in a custom metabox
- add_image_size() zoom-crop
- There’s a way to scale media (images) at 50%?
- hook into completed image upload filter
- Saving the pre-sanitized filename of an attachment as the Title or Caption
- Prevent image upload unless exact size
- getting uploaded SVG dimensions on front-end
- Adding upload button in metabox
- Use Media upload in custom widget on wordpress 3.5
- How to make WordPress use protocol indepentent upload files?
- Automating a Daily Picture Blog?
- How to copy and paste a picture found on the web to wordpress easily
- using media uploader to select image of specific size, enforce cropper
- add_image_sizes ignoring crop sizes and using proportion
- Force wordpress to see uploads folder media
- Images uploading to wrong folder
- “There has been an error cropping your image” when cropping image
- Get attachment ID of author_meta image – Attachment Metadata
- Replace all of post’s image URLs with upload directory URLs
- How can I add the “Use as featured image” to a custom metabox?
- Filter Media Library by author or post_parent
- Remove duplicate images from media library.
- Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)
- How can you upload an image from within a settings page?
- Insert Images at Master Uniform Height
- WordPress function: limit size, only jpg, jpeg, limit of uploaded files per account