- This topic has 7 replies, 3 voices, and was last updated 4 years, 1 month ago by Tom.
-
AuthorPosts
-
March 5, 2020 at 7:02 am #1185990Michael
Hi guys,
I’ve tried to find out about this online but haven’t had much luck. I have recently uploaded some jpgs via Media in the WP dashboard. For some reason it is appending numbers to the image filename eg:
trustalyze-logo-32x32.jpg
becomestrustalyze-logo-32x32-1.jpg
Can anyone suggest why this might be happening and how I can fix it? I had a look in FTP to see if perhaps trustalyze-logo-32×32.jpg already existed and the -1 was being added for that reason, but this does not seem to be the case.
Many thanks for your help.
Michael.
March 5, 2020 at 1:30 pm #1186370DavidStaffCustomer SupportHi there,
is this happening with all images you upload ?
March 5, 2020 at 1:40 pm #1186381MichaelHi David, no it’s happened on the last 4 I have uploaded and I’ll be damned if I can work out why. I just deleted them from the media library and uploaded by sftp instead, but it’s weird if I can’t add them in the library
March 5, 2020 at 1:45 pm #1186386MichaelActually, now I am looking at the library it seems that a lot of them have had numbers appended, so yes, it looks like it’s happened with more than the last 4….. If I look in SFTP the names look alright, so that is very weird. There are also a bunch that have had their names changed completely to random numbers (which I definitely didn’t upload like that) like 1179649260.jpg?! These ones have Detach written next to them, and I’m not sure what that implies? Sorry if I’m being a dunce but this has thrown me.
Also, looking in SFTP, most of the images have additionally sized images added via the media library:
photo.jpg
photo150x150jpg
photo300x158.jpg
photo1024538.jpg and so onMarch 5, 2020 at 3:09 pm #1186425MichaelIn this example numbers are being appended to the filenames:
https://www.dropbox.com/s/3hb38ygsypstiyc/appended-numbers1.jpg?dl=0
In this example the filenames have been completely changed (and it says Detach next to these – I have no idea what this means?):
https://www.dropbox.com/s/tnmx6yai1aklcyk/totally-changed-filenames.jpg?dl=0
March 5, 2020 at 6:31 pm #1186535TomLead DeveloperLead DeveloperHi there,
The numbers are image sizes defined by your WP installation or plugins. For example, if a plugin uses
add_image_size()
to add a new image, that size will be created every time to upload a new image.I’m not sure about the completely new filenames.. Perhaps a plugin you’re using?
March 6, 2020 at 4:20 am #1186815MichaelHi Tom, I think it may have something to do with Ecwid plugin but am having trouble finding concrete evidence! Thanks for your help and enjoy your weekend.
Michael.
March 6, 2020 at 9:16 am #1187231TomLead DeveloperLead DeveloperThanks! You too 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.