Skip Navigation

[Resolved] Custom path for images in a form

This support ticket is created 3 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 1.28 hours from now. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 1 reply, has 2 voices.

Last updated by Shane 3 years, 3 months ago.

Assisted by: Shane.

Author
Posts
#2152439

We have a custom field created in Types with the field type as Image.

A Toolset post form on the front end has this image field through which users upload an image. This image shows up in the WP media gallery inside WP admin.

Is there a way to not have such images show up in the WP media gallery – either by saving the images in a custom path or some other way? We'd prefer to have the WP media gallery show media uploaded by the website authors/admins on posts/pages and not show images uploaded through Toolset forms.

#2152883

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Cort,

Thank you for getting in touch.
Is there a way to not have such images show up in the WP media gallery – either by saving the images in a custom path or some other way? We'd prefer to have the WP media gallery show media uploaded by the website authors/admins on posts/pages and not show images uploaded through Toolset forms.

No this isn't possible to do as wordpress will upload all images to the media gallery by default. Also our Toolset plugins assumes that the images are in the media gallery when retrieving them to display on the frontend.

What you can do is to allow the user to only see their media files by using our Access permissions and setting up the Media permissions so that the user's aren't able to preview any images that aren't their own.

Please let me know if this helps.
Thanks,
Shane