Adding an image to an article/es: Difference between revisions

From Joomla! Documentation

Created page with "#Has clic en el botón ''Insertar'' para insertar la imagen. La pantalla Inserción de Imagen se cerrará y la imagen aparecerá en el editor. O has clic en el botón ''Cancel..."
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 1: Line 1:
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
Las imágenes se agregan a los artículos usando el botón "Imagen" a continuación el contenido de la ventana del editor en la pantalla de  Edición del Artículo. Nota: es posible insertar imágenes usando el editor en Joomla!. Sin embargo, esta característica proporciona una forma sencilla de insertar imágenes almacenadas en el directorio "images" de tu instalación de Joomla!.
== Introduction ==


# Abrir el Artículo para la edición, ya sea por:
How best to add images to an article depends on which version of Joomla and which editor are in use. This article has illustrations for Joomla 4, with notes on differences in Joomla 3, and TinyMCE the Joomla default editor. To get started, open an article for editing:
#* Haciendo clic en el '''Contenido {{rarr}} Artículos''' el elemento del menú para ir al ''Gestor de artículos'', selecciona el Artículo y has clic en el botón ''Editar'' de la barra de herramientas.
 
#* Clic en el enlace  ''CONTENIDO {{rarr}} Nuevo Artículo'' del Panel de Control.
*'''Select''' {{rarr|Content,Articles}} in the Administrator menu.
#* Si has iniciado sesión en el lado cliente y tienes los permisos adecuados, al ver el Artículo que deseas editar: has Clic en el botón ''Editar'' de la barra de herramientas.  
* '''Select''' the title of the article you wish to edit
# Elige donde quisieras que tu imagen se coloque en el flujo del texto, mueve el cursor y has clic en el botón''Imágenes'' del editor en la parte inferior de la pantalla.
 
# La pantalla para la Inserción de Imagen se abrirá sobre la pantalla de Edición del Artículo. Selecciona una imagen y has clic en el botón ''Insertar''.
After inserting the article text, place the cursor at the location where the image should appear.
#* También te puedes mover entre directorios haciendo clic en los iconos de carpeta.
 
#* Utiliza el campo del menú desplegable ''Carpeta'' para seleccionar rápidamente un directorio y has clic en el botón ''Subir'' para subir un nivel en el directorio.
== Adding a local image ==
 
If the image is located in the images folder of your Joomla installation you should insert the image using the {{rarr|CMS Content, Media}} button In the TinyMCE edit toolbar (In Joomla 3: Select the Image button):
 
[[File:adding-an-image-to-an-article-cms-content-media.png|800|Adding an image]]
 
In the popup window, navigate to the image you want to use and click to select it. On selection a form will appear prompting for additional data. In Joomla 4 the form is to the left. In joomla 3 the form is at the bottom (scroll down):
 
[[File:adding-an-image-to-an-article-selected-image.png|800|Selecting an image]]
 
<div class="mw-translate-fuzzy">
# Establece las propiedades de la imagen según sea necesario:
# Establece las propiedades de la imagen según sea necesario:
</div>
<div class="mw-translate-fuzzy">
#* '''Descripción de la imagen''': Esto se convierte en el atributo '''alt''' de la imagen, una característica importante para la accesibilidad y el cumplimiento de los estándares web.
#* '''Descripción de la imagen''': Esto se convierte en el atributo '''alt''' de la imagen, una característica importante para la accesibilidad y el cumplimiento de los estándares web.
#* '''Título de la imagen''': se utiliza como leyenda opcional y también se convierte en el atributo HTML '''title'''.
</div>
*'''Image Class''': If an image is used without a caption some custom classes may be applied here. For example, in Joomla 4, '''float-end ms-2 mb-1''' will align the image to the right and float text around it with margins to the left and below to prevent text touching the image. In Joomla 3 the equivalent style is '''pull-right'''.
*'''Figure Class''': If a caption is set then an alignment class, if any, should be applied to the Figure. It is a html tag that encloses the img tag. Note that in Cassiopeia margins are applied by the template style sheet.
<div class="mw-translate-fuzzy">
#* '''Subtítulo''': Habilita el título que muestra el Título de la Imagen debajo de la imagen.
</div>
'''In Joomla 3'''
<div class="mw-translate-fuzzy">
#* '''Flotación de la imagen''': Establece la alineación de la imagen. De forma predeterminada, el atributo ''align' es '''Sin asignar'''.
#* '''Flotación de la imagen''': Establece la alineación de la imagen. De forma predeterminada, el atributo ''align' es '''Sin asignar'''.
#* '''Subtítulo''': Habilita el título que muestra el Título de la Imagen debajo de la imagen.
</div>
<div class="mw-translate-fuzzy">
#*'''Clase Caption''': Aplica la clase entrada al elemento ''figcaption''.
#*'''Clase Caption''': Aplica la clase entrada al elemento ''figcaption''.
</div>
<div class="mw-translate-fuzzy">
#Has clic en el botón ''Insertar'' para insertar la imagen. La pantalla Inserción de Imagen se cerrará y la imagen aparecerá en el editor. O has clic en el botón ''Cancelar'' para salir de la pantalla Inserción de Imagen.
#Has clic en el botón ''Insertar'' para insertar la imagen. La pantalla Inserción de Imagen se cerrará y la imagen aparecerá en el editor. O has clic en el botón ''Cancelar'' para salir de la pantalla Inserción de Imagen.
</div>
'''Tip:''' select the Toggle Editor button to see the applied Image and Caption styles.
=== Using Drag and Drop for Local images ===
In both Joomla 4 and Joomla 3 you can drag an image from the desktop or a file browser directly into the article text and the image will be uploaded to the media folder and placed in the article. The only snag is that all such uploaded images will be placed in the same media folder. The location of the Images Directory used for upload and whether this feature is enabled (On by default) are set in the TinyMCE configuration Options.
== Adding a remote image ==
If the image you wish to use is not in the images folder of your Joomla installation a slightly different procedure is needed.
*'''Select''' {{rarr|Insert,Image}} from the TinyMCE toolbar to open a dialog box. In Jooml 3, use the Image icon and the same dialog as used for local images.
*'''Insert''' the image url in the Source field.
*'''Fill out''' the other fields as required.
*'''Advanced''' provides some formatting options applied as in-line styles. Experiment with 1rem, 2, groove. (This feature is incomplete)
[[File:adding-an-image-to-an-article-insert-edit-image.png|center|border|Data for a remote image]]
=== Using Drag and Drop for Remote images ===
You can drag and drop an image from a remote web site directly into your article text. But be aware that this may also copy the image container html with class statements not valid for your site.


== Subir imágenes a través de la pantalla Inserción de Imagen ==
== Subir imágenes a través de la pantalla Inserción de Imagen ==


<div class="mw-translate-fuzzy">
También puedes subir nuevas imágenes a través de la sección de Subir archivo de la pantalla Inserción de Imagen.
También puedes subir nuevas imágenes a través de la sección de Subir archivo de la pantalla Inserción de Imagen.
</div>
* First open the Media browser and navigate to the folder where you wish to store new images for the current article.
<div class="mw-translate-fuzzy">
# Has clic en el botón Examinar para abrir un explorador de archivos.
# Has clic en el botón Examinar para abrir un explorador de archivos.
</div>
<div class="mw-translate-fuzzy">
# Selecciona los archivos de imagen que deseas cargar. Has clic en Abrir en el explorador de archivos para confirmar la selección. Nota: El estilo y el diseño del explorador de archivos depende del navegador y sistema operativo que estés utilizando.
# Selecciona los archivos de imagen que deseas cargar. Has clic en Abrir en el explorador de archivos para confirmar la selección. Nota: El estilo y el diseño del explorador de archivos depende del navegador y sistema operativo que estés utilizando.
</div>
<div class="mw-translate-fuzzy">
# El(los) archivo(s) seleccionado(s) aparecen en la parte inferior de la pantalla de Inserción de Imagen. Has clic en ''Iniciar subida'' para empezar a subir archivos.
# El(los) archivo(s) seleccionado(s) aparecen en la parte inferior de la pantalla de Inserción de Imagen. Has clic en ''Iniciar subida'' para empezar a subir archivos.
</div>
<div class="mw-translate-fuzzy">
#* Cuando la carga se haya completado, un aviso sobre fondo verde aparecerá en la parte superior de la pantalla.
#* Cuando la carga se haya completado, un aviso sobre fondo verde aparecerá en la parte superior de la pantalla.
</div>
<div class="mw-translate-fuzzy">
# Ahora puedes seleccionar e insertar la imagen subida como se indicó anteriormente.
# Ahora puedes seleccionar e insertar la imagen subida como se indicó anteriormente.
</div>


<noinclude>
<noinclude>

Revision as of 15:37, 29 November 2021

Introduction

How best to add images to an article depends on which version of Joomla and which editor are in use. This article has illustrations for Joomla 4, with notes on differences in Joomla 3, and TinyMCE the Joomla default editor. To get started, open an article for editing:

  • Select Content  Articles in the Administrator menu.
  • Select the title of the article you wish to edit

After inserting the article text, place the cursor at the location where the image should appear.

Adding a local image

If the image is located in the images folder of your Joomla installation you should insert the image using the CMS Content  Media button In the TinyMCE edit toolbar (In Joomla 3: Select the Image button):

Adding an image

In the popup window, navigate to the image you want to use and click to select it. On selection a form will appear prompting for additional data. In Joomla 4 the form is to the left. In joomla 3 the form is at the bottom (scroll down):

Selecting an image

  1. Establece las propiedades de la imagen según sea necesario:
    • Descripción de la imagen: Esto se convierte en el atributo alt de la imagen, una característica importante para la accesibilidad y el cumplimiento de los estándares web.
  • Image Class: If an image is used without a caption some custom classes may be applied here. For example, in Joomla 4, float-end ms-2 mb-1 will align the image to the right and float text around it with margins to the left and below to prevent text touching the image. In Joomla 3 the equivalent style is pull-right.
  • Figure Class: If a caption is set then an alignment class, if any, should be applied to the Figure. It is a html tag that encloses the img tag. Note that in Cassiopeia margins are applied by the template style sheet.
    • Subtítulo: Habilita el título que muestra el Título de la Imagen debajo de la imagen.

In Joomla 3

    • Flotación de la imagen: Establece la alineación de la imagen. De forma predeterminada, el atributo align' es Sin asignar.
    • Clase Caption: Aplica la clase entrada al elemento figcaption.
  1. Has clic en el botón Insertar para insertar la imagen. La pantalla Inserción de Imagen se cerrará y la imagen aparecerá en el editor. O has clic en el botón Cancelar para salir de la pantalla Inserción de Imagen.

Tip: select the Toggle Editor button to see the applied Image and Caption styles.

Using Drag and Drop for Local images

In both Joomla 4 and Joomla 3 you can drag an image from the desktop or a file browser directly into the article text and the image will be uploaded to the media folder and placed in the article. The only snag is that all such uploaded images will be placed in the same media folder. The location of the Images Directory used for upload and whether this feature is enabled (On by default) are set in the TinyMCE configuration Options.

Adding a remote image

If the image you wish to use is not in the images folder of your Joomla installation a slightly different procedure is needed.

  • Select Insert  Image from the TinyMCE toolbar to open a dialog box. In Jooml 3, use the Image icon and the same dialog as used for local images.
  • Insert the image url in the Source field.
  • Fill out the other fields as required.
  • Advanced provides some formatting options applied as in-line styles. Experiment with 1rem, 2, groove. (This feature is incomplete)
Data for a remote image
Data for a remote image

Using Drag and Drop for Remote images

You can drag and drop an image from a remote web site directly into your article text. But be aware that this may also copy the image container html with class statements not valid for your site.

Subir imágenes a través de la pantalla Inserción de Imagen

También puedes subir nuevas imágenes a través de la sección de Subir archivo de la pantalla Inserción de Imagen.

  • First open the Media browser and navigate to the folder where you wish to store new images for the current article.
  1. Has clic en el botón Examinar para abrir un explorador de archivos.
  1. Selecciona los archivos de imagen que deseas cargar. Has clic en Abrir en el explorador de archivos para confirmar la selección. Nota: El estilo y el diseño del explorador de archivos depende del navegador y sistema operativo que estés utilizando.
  1. El(los) archivo(s) seleccionado(s) aparecen en la parte inferior de la pantalla de Inserción de Imagen. Has clic en Iniciar subida para empezar a subir archivos.
    • Cuando la carga se haya completado, un aviso sobre fondo verde aparecerá en la parte superior de la pantalla.
  1. Ahora puedes seleccionar e insertar la imagen subida como se indicó anteriormente.