[Résolu] CRED image field does not show progress bar and preview anymore
This support ticket is created Il y a 5 années et 1 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
I have a CRED form with the "Featured Image" field. It worked like this until some time ago:
1. I click on "upload or select image"
2. I select my image
3. A progress bar appears
4. The preview of the image is shown (when the progress bar is full)
With a CRED update, the field has changed and it now uses the WordPress Media Library to select and upload images.
I don't want to use it on the form so I unchecked the option "Use the WordPress Media Library manager for image, video, audio, or file fields".
I expected to see everything working just like before.
However, now the progress bar and the preview do not appear. After I select my image I can only see the filename.
Is this working as intended? Is it possible to show the progress bar and the image preview again?
Hello. Thank you for contacting the Toolset support.
The result you get is expected when you disable the use of WordPress Media Library to select and upload images.
Because when you disable the media library - you are not uploading anything actually, the selected images will get uploaded when you submit the form. There is no pre-uploading of files.
If you want to display the image file uploaded preview you must use the Media library.
In previous versions of the CRED the user could upload the images with the loading bar and see a preview of the image.
We have built a form that customers use daily with their mobile phones. So they don't have to use the backend to create custom posts.
The user takes the photo and uploads it in real time as he compiles the rest of the information in the form. Finished.
The WordPress Media Library is really unusable with the mobile phone and the user also sees the images uploaded by other users.
Vice versa, without the WordPress Media Library, the user does not see the preview of the image and the upload takes place only at the end, making the post saving very slow.
This is really a big problem for us and our users.
We kindly ask you to activate an option to be able to upload the images as before otherwise we will have to find an alternative solution to the CRED.