Home Forums Plugin Support WP User Frontend (Free Version) Rename uplaod files

This topic is: resolved

Tagged: 

This topic contains 8 replies, has 3 voices, and was last updated by  Mahi 5 years, 10 months ago.

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #6646

    Denis
    Participant
    Post count: 165

    Hello, how and where can I rename the uploaded images?
    Sometimes one image is used 2 two times even if an other image was uploaded. cause of the name I think.
    Hey-koelle.de
    the first post got an diffrent image! its not attached in the post if you check the post.
    I think this is because the same upload name.
    cheers,
    Denis

    #6653

    Tareq Hasan
    Keymaster
    Post count: 2831

    WordPress native functions handles the file/picture upload and there is no way of having the same file name after uploaded, they are automatically renamed. And also, WPUF doesn't store file names, it stores the attachment ID to reference the correct image. So I will suggest to recheck about the problem.

    #6660

    Denis
    Participant
    Post count: 165

    Yes i saw.
    I deleted all folders and all is fine.

    #6662

    Denis
    Participant
    Post count: 165

    Hi Tareq,
    can you please tell me which hook or filter I need to use to change the name before upload?
    cause the german language got some special charachters.
    maybe I take the timestamp to store the image.
    thanks for helping.
    Denis

    #6666

    Tareq Hasan
    Keymaster
    Post count: 2831

    There isn't any available filters, so you can't change the names.

    #6734

    Denis
    Participant
    Post count: 165

    It works with: File Renaming on upload
    If anyone is interessted

    #6737

    Mahi
    Member
    Post count: 1555

    @DenisCGN – can you please explain more?

    #6739

    Denis
    Participant
    Post count: 165

    I was looking for a way to rename the uploaded filenames.
    sometimes user upload filse like

    “öäü pl?§ name.jpg”

    This is what I wanted to change. With that plugin “File Renaming on upload”.
    the image names will be renamed to…

    “myDomainname_dateTime.jpg”

    Thats it.

    Cheers,
    Denis

    ps you can close this threat if you want.

    #6743

    Mahi
    Member
    Post count: 1555

    Aha… thank you. I am marking this topic as solved.

Viewing 9 posts - 1 through 9 (of 9 total)

The topic ‘Rename uplaod files’ is closed to new replies.