Skip Navigation

[Resolved] Image upload field not displaying thumbnail images

This support ticket is created 5 years, 2 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.

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

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 2 replies, has 2 voices.

Last updated by Jonathan Potter 5 years, 2 months ago.

Assisted by: Minesh.

Author
Posts
#1554325
how form thumbnails should work.PNG
form no thumbnails.PNG

On this page: hidden link

I have a post creation form with a couple of image file upload fields. (both a single and multi-image/gallery field). It seems to work fine, except that the image previews aren't loading (as you can see if you try to upload an image).

I'm basically trying to follow this guide, but I need users to be able to upload images through the front end of the site, rather than using the WordPress dashboard. https://toolset.com/documentation/user-guides/custom-content/create-image-galleries-using-toolset-and-custom-fields/

There's some weird CSS getting injected by the theme which makes the labels messed up (I can fix that no problem), but the fact that the image thumbnails aren't appearing is really making the interface difficult to use... It would be great if they worked just like the image upload on your ticketing system worked here...

Thanks so much!

#1554741

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I would like to know - is your form is set to use the "WordPress media library" to upload the image? If yes:

Please check the following doc - where we listed the permission per role for uploading the image and as you can see Visitors do not have permissions.
=> https://toolset.com/documentation/user-guides/front-end-forms/using-the-native-wordpress-media-manager-in-front-end-forms/#default-user-permissions-for-using-and-editing-existing-files

As a guest user, you are allowed to upload the image from your computer that will be submitted with the form.

#1554851

Yup, that checkbox enabled the functionality I was hoping for. Users will be logged in already by the time they hit this form, so that works great. Thanks so much!