Cropping an Image Changes the File Name
-
I’m using a specific naming convention for my product images, to facilitate them being imported into my Woocommerce store. For example, the original, pre crop name off a file is Devil-Dinosaur-1978-9.jpg. When I crop the image within WordPress, a additional text string is appended to the name of the file, Devil-Dinosaur-1978-9-e1588977588590.jpg. Is this supposed to happen? Is there a setting I can change to preserve the original name of the file?
-
Hi there,
Your site is not hosted on WordPress.com, but using the open source WordPress.org software at another hosting provider. We’re only able to help with sites hosted on our servers at WordPress.com.
Please post in the self-hosted WordPress forums instead for help:
https://wordpress.org/support/forums
That said, this is expected – when you crop an image in the WordPress media library, the original file is not changed, but a copy is created and the changes applied to the copy. You can’t have two files with the same file name.
To avoid this, try cropping your images using photo editing software on your computer before you upload them to the media library instead.
- The topic ‘Cropping an Image Changes the File Name’ is closed to new replies.