Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • suzyb 474 posts 932 karma points
    Aug 31, 2012 @ 10:24
    suzyb
    0

    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.

  • suzyb 474 posts 932 karma points
    Aug 31, 2012 @ 10:35
    suzyb
    0

    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.

  • suzyb 474 posts 932 karma points
    Aug 31, 2012 @ 11:11
    suzyb
    0

    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.

Please Sign in or register to post replies

Write your reply to:

Draft