• Resolved It’s Thomas!

    (@itsthomas)


    Hi there,

    I was hoping that the custom field type “File / Image / Video” would deliver a comparable functionality to let’s say a FTP webclient, meaning that:

    1.) uploaded files would be deleted from the server if they are deleted / removed from the custom field (after their initial upload through the custom field onto the server).

    2.) if there is file with the exact same name already in the upload folder of the server present, there would appear a prompt asking you to abort, override or rename.

    Now, I have added a custom field type “File / Image / Video” to the user pod and tried this out within my own admin account: it seems like 1.) and 2.) are not happening.
    Also, would it be possible have a separate upload folder for each user? Because right now, it seems that all uploaded files will be saved to the standard WP upload folder and when a file with the exact same name as an already present file is uploaded (see number 2.), it will simply be saved as filename “already-present-file-1.fileextension” without any prompt or notice.

    Is this the current state of the field type “File / Image / Video” or am I doing something wrong? (I am using WP 4.9.8 as well as Pods 2.7.9.)

    In any case: Pods is POWERFUL nevertheless. Keep up the great work!

    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Contributor Jim True

    (@jimtrue)

    You’re working with the Media Library, so fortunately or unfortunately, that’s how images work with the Media Library in WordPress. As far as I’m aware, no image handling plugins for custom fields in WordPress act the way you’re describing because we all have to integrate with the Media Library.

    That’s a ‘feature’ of working with the Media Library in WordPress; it doesn’t replace by default and it doesn’t delete the media unless you actually go in and delete it. It also creates multiple copies of the media at different image sizes.

    You are welcome to put in a Feature/Enhancement request to ask for an enhancement to our image handling in the way you describe, but that would require us to put in an entirely different file handling routine separate of WordPress (which would include directory/permissions management) and I’m not sure that’s something we could support.

    https://github.com/pods-framework/pods/issues/new/choose

    Thread Starter It’s Thomas!

    (@itsthomas)

    Hi Jim,

    thanks for getting back! I thought that by explicitly chosing “Upload only (Plupload)” as “File Uploader” under “Additional Field options”, I would dispense with the Media Library.

    Seems like it ain’t so ??
    Thanks for letting me know.

    Cheers,
    Thomas

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Field type “File / Image / Video” not working as I had hoped’ is closed to new replies.