Extra dot being added to filename when inserting media
I have a site that seems to be added an extra period before the extension of images when pages are saved. I insert an image into the page using the default insert image dialog. The image is added with the correct filename and shows OK.
When I save the page however an extra dot is added so a filename /media/12345/test.jpg becomes /media/12345/test..jpg
Does anyone know why this is happening and how to solve it. The site uses umbraco 4.7.1.1.
It seems to be something to do with the length of the filenames of the images. I tried shortening the filename and re-uploading the images and it worked.
I still don't understand why it would work on our development server but not the live one though.
We use a customised version of the multiple file uploader which was leaving the dot in the extension when setting the media property. I guess umbraco uses this when inserting media.
Extra dot being added to filename when inserting media
I have a site that seems to be added an extra period before the extension of images when pages are saved. I insert an image into the page using the default insert image dialog. The image is added with the correct filename and shows OK.
When I save the page however an extra dot is added so a filename /media/12345/test.jpg becomes /media/12345/test..jpg
Does anyone know why this is happening and how to solve it. The site uses umbraco 4.7.1.1.
Update
It seems to be something to do with the length of the filenames of the images. I tried shortening the filename and re-uploading the images and it worked.
I still don't understand why it would work on our development server but not the live one though.
nvm think I found the problem.
We use a customised version of the multiple file uploader which was leaving the dot in the extension when setting the media property. I guess umbraco uses this when inserting media.
is working on a reply...