Navigation überspringen

[Gelöst] Upload or Select image options

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:

The issue here is that the user doesn't want to use the wordpress media library to upload their files on the frontend forms but instead wanted to use the old uploader.

Solution:
In your forms disable this option "Use the WordPress Media Library manager for image, video, audio, or file fields"

This support ticket is created vor 5 Jahren, 5 Monaten. 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
- 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)

Dieses Thema enthält 4 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von leilaG vor 5 Jahren, 5 Monaten.

Assistiert von: Shane.

Author
Artikel
#1321397
media-library.jpg
upload-select-image.jpg

On a form the Upload or Select image option.

How do we make it so it's only upload, not select image, we do not want it to show the Media gallery

Access: we have this option unticked 'Use any Media Library file when adding files to front-end Post Forms'

It's not showing any media library files, which is fine, but is is possible to not show the media gallery at all. Currently you click upload file, it uploads it into the media gallery and there is no button to insert it.

#1321613

Shane
Supporter

Sprachen: Englisch (English )

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

Hi Leila,

Thank you for getting in touch.

So to get a full understanding of this, you want to be able to get the wordpress media uploader but not allow the user to see the media gallery option ?

Unfortunately this is not possible because we don't have a hook for hiding this. It should be noted that unless the user is an Admin they will only see images they upload.

The only other option is to use the default upload option where the user can just select a file from their pc to upload.

Thanks,
Shane

#1321629

Yes that's what we want the default upload option, how to we set that for the image, which will then show in a view and page result?

#1321631

Shane
Supporter

Sprachen: Englisch (English )

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

Screenshot 2019-08-21 at 3.55.03 PM.png

Hi Leila,

In your forms disable this option "Use the WordPress Media Library manager for image, video, audio, or file fields" See Screenshot.

Thanks,
Shane

#1321643

Awesome, thanks Shane