Skip Navigation

[Geschlossen] Importar imagen des de un formulario

This support ticket is created vor 3 Jahre, 2 Monate. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 1 Antwort, has 2 Stimmen.

Last updated by Nigel vor 3 Jahre, 2 Monate.

Assisted by: Nigel.

Author
Artikel
#1919521
Captura de pantalla 2021-01-26 a las 17.02.50.png

Hola nigel, he creado unos formularios en donde se puede importar imagenes, hay vezes que me deja importar las imagenes pero hay vezes que no me deja, te adjunto imagen con el mensaje.
Pero si importo la imagen con el rol de administrador si que me deja sin problema.
Haber si puedes saber de que se trata.
Saludos.
Rafa Corts

#1920149

Nigel
Supporter

Languages: Englisch (English ) Spanisch (Español )

Timezone: Europe/London (GMT+00:00)

Hola Rafa

Cuando subes un imagen, WordPress automáticamente genera copias del imagen en varios tamaños, y este requiere recursos del servidor.

Según el error el servidor no tiene suficiente recursos.

Entonces, la primera cosa probar es ampliar la memoria disponible, ve: https://wordpress.org/support/article/editing-wp-config-php/#increasing-memory-allocated-to-php

Si no resuelve el problema, podrías desactivar como WordPress gestiona imagenes grandes (introducido en WP 5.3) con el siguiente:

add_filter( 'big_image_size_threshold', '__return_false' );

Según lo que he leido, suele pasar que puede provocar este error (incorrectamente) si el archivo subido tiene carácteres especiales en su nombre, no se si puedes confirmar o negar este.

Das Thema „[Geschlossen] Importar imagen des de un formulario“ ist für neue Antworten geschlossen.