WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] How to automatically rename file name when publishing file (5 posts)

  1. wely
    Member
    Posted 2 years ago #

    Hi,

    When using bloging tool such as Windows Live Writer, I notice that whatever file / photo we attached in the post, the file name will remain as it is on the server.

    For that, we need to be cautious that the file name must be unique.
    The issue comes when we copy-paste picture from powerpoint OR using snipping tools to paste the file, it will automatically name it as "IMAGE.PNG". As the result, it overrides one and another files as well.

    I actually expect the filename will be automatically rename to some sort of GUID or any unique name like what Community Server Blog Engine does. But look like it doesn't provided out of the box.

    Try to search on the internet but still can't find appropriate solution.

    Wondering if someone encounters similar issue and have some workaround. Appreciate the response.

    Regards,
    Wely

  2. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    we need to be cautious that the file name must be unique.

    WordPress will amend any identical images filenames during the upload process to stop over-writing

  3. wely
    Member
    Posted 2 years ago #

    Hi Esmi,

    Thanks for your response.
    I just verify that it will work in classic mode (saving the file in file system).

    However, I was trying to store my files in Windows Azure Storage using this plug-in http://wordpress.org/extend/plugins/windows-azure-storage/.

    It seems not working properly as it will always name my photo "image.png" without renaming it properly.

    Should I log this bug some where else or is this a correct place?

  4. esmi
    Theme Diva & Forum Moderator
    Posted 2 years ago #

    You need to post something in that plugin's dedicated forum via http://wordpress.org/extend/plugins/windows-azure-storage/

  5. wely
    Member
    Posted 2 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic