• Resolved Chris

    (@web2guru)


    It is not a major issue – we can just change the filename to be a unique name before uploading – but it’s not clear to the user that this is the case, and if there are multiple users then they may not know the filename was already used.

    When you try to set the featured image using the WPUF form, it appears to upload but then displays an image from a previous post that has the same filename. Checking the media library shows the new image was never uploaded.

    This doesn’t happen when setting the featured image in the regular WordPress backend editor – it has no problem uploading a file with the same filename as a previously uploaded file, and it correctly sets the featured image on the post.

    Again, we can easily work around this, but I wanted to post about it here in case anyone else has similar issues, and maybe some changes can be made in a future update to make it work the same way the WordPress editor works.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Does this have to do with the recent plugin update? I thought I noticed in the changelog that this was added to prevent upload of same image. Not sure if this is the case or not.

    Thread Starter Chris

    (@web2guru)

    The changelog from today? No, but it looks like today’s update addresses the problem and that probably fixes the issue, as the file sizes would be different. I’ll run some tests later to see if the issue is fixed with this new update.

    There are no references related to this in the previous changelogs except in December 2018 when they fixed an issue with duplicates. So maybe at that time it was set to block uploads with just the same filename and the update today changes it to require the same filename and the same file size. That would solve the problem for me.

    You are probably right. I just assumed maybe you got the update before me. This probably fixes that issue. This latest update seems to have broke a few new things like the login redirect no longer works. I submitted a ticket here and on github for that. Cheers!

    @web2guru please update your plugin to v3.3.0, it should be fixed by now.

    The same thing happens to me, any user can edit their post and delete the images from the gallery uploaded by other users to other posts, previous versions solve that by adding -1, -2 … to the end of the image url.

    This way you can delete the entire WordPress upload folder.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Can Not Upload Featured Image With Same Filename’ is closed to new replies.