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

From Joomla! Documentation

Created page with "#Fare clic sul pulsante ''Inserisci'' per inserire l'immagine. La schermata Inserisci immagine si chiude e l'immagine viene visualizzata nell'editor. Oppure fare clic sul puls..."
FuzzyBot (talk | contribs)
Updating to match new version of source page
Line 1: Line 1:
<noinclude><languages /></noinclude>
<noinclude><languages /></noinclude>
Le immagini vengono aggiunte agli articoli utilizzando il pulsante "Immagine" posto sotto il riquadro del contenuto dell'editor nella schermata "Modifica Articolo". Nota: è possibile inserire immagini con l'editor di Joomla. Tuttavia, questa funzione fornisce un modo semplice di inserire le immagini memorizzate nella cartella "images" che si trova nella directory di installazione di Joomla.
== Introduction ==


#Aprire l'Articolo da modificare in uno dei seguenti modi:
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:
#* Cliccare la voce di menu "Contenuti {{rarr}} Gestione Articoli" per passare alla "Gestione articoli", selezionare l'Articolo e fare clic sul tasto "Modifica" nella barra dei pulsanti.
 
Cliccare su "Nuovo articolo" nel Pannello di controllo.
*'''Select''' {{rarr|Content,Articles}} in the Administrator menu.
Se si è fatto l'accesso e si hanno i necessari permessi per visualizzare e modificare l'Articolo desiderato, fare clic sul pulsante "Modifica".  
* '''Select''' the title of the article you wish to edit
#Scegliere con il cursore in quale punto del testo si desidera inserire l'immagine e fare clic sul pulsante "Immagine" sulla parte inferiore dell'editor.
 
Si aprirà la schermata pop-up per l'inserimento delle immagini. Scegliere un'immagine e fare clic sul pulsante "Inserisci".
After inserting the article text, place the cursor at the location where the image should appear.
#*Ci si può anche spostare tra le directory cliccando sulle icone delle cartelle.
 
#*Utilizzare il menu a discesa "Cartella" per selezionare rapidamente una directory e fare clic sul tasto "Su" per salire di un livello di directory.
== 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">
#Impostare le proprietà delle immagini, come desiderato:
#Impostare le proprietà delle immagini, come desiderato:
</div>
<div class="mw-translate-fuzzy">
#*'''Descrizione immagine''': Ciò diventa l'attributo '''alt''' dell'immagine, una caratteristica importante per l'accessibilità e la conformità con gli standard web.
#*'''Descrizione immagine''': Ciò diventa l'attributo '''alt''' dell'immagine, una caratteristica importante per l'accessibilità e la conformità con gli standard web.
#*'''Titolo immagine''': Viene utilizzato per la didascalia opzionale e diventa anche l'attributo HTML '''titolo'''.
</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">
#*'''Mostra didascalia''': Abilita la didascalia che mostra sotto l'immagine il Titolo dell'immagine.
</div>
'''In Joomla 3'''
<div class="mw-translate-fuzzy">
#*'''Allineamento (float)''': Imposta l'allineamento (sinistra, centro, destra) dell'immagine. Per impostazione predefinita, l'attributo "align" è '''Non Impostato'''.
#*'''Allineamento (float)''': Imposta l'allineamento (sinistra, centro, destra) dell'immagine. Per impostazione predefinita, l'attributo "align" è '''Non Impostato'''.
#*'''Mostra didascalia''': Abilita la didascalia che mostra sotto l'immagine il Titolo dell'immagine.
</div>
<div class="mw-translate-fuzzy">
#*'''Classe didascalia''': Applica la classe inserita all'elemento ''figcaption''.
#*'''Classe didascalia''': Applica la classe inserita all'elemento ''figcaption''.
</div>
<div class="mw-translate-fuzzy">
#Fare clic sul pulsante ''Inserisci'' per inserire l'immagine. La schermata Inserisci immagine si chiude e l'immagine viene visualizzata nell'editor. Oppure fare clic sul pulsante ''Annulla''' per uscire dalla schermata Inserisci immagine.
#Fare clic sul pulsante ''Inserisci'' per inserire l'immagine. La schermata Inserisci immagine si chiude e l'immagine viene visualizzata nell'editor. Oppure fare clic sul pulsante ''Annulla''' per uscire dalla schermata Inserisci immagine.
</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.


== Caricamento delle immagini, utilizzando la schermata per l'inserimento delle immagini ==
== Caricamento delle immagini, utilizzando la schermata per l'inserimento delle immagini ==


<div class="mw-translate-fuzzy">
Si può anche caricare una nuova immagine utilizzando la sezione "Carica file" della schermata per l'inserimento delle immagini.
Si può anche caricare una nuova immagine utilizzando la sezione "Carica file" della schermata per l'inserimento delle immagini.
</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">
#Fare clic sul pulsante "Sfoglia" per aprire il file browser.
#Fare clic sul pulsante "Sfoglia" per aprire il file browser.
</div>
<div class="mw-translate-fuzzy">
#Selezionare i file delle immagini che si desidera caricare. Fare clic su Apri nel file browser per confermare la selezione. Nota: Il tipo di file browser dipende dal browser e dal sistema operativo che si sta utilizzando.
#Selezionare i file delle immagini che si desidera caricare. Fare clic su Apri nel file browser per confermare la selezione. Nota: Il tipo di file browser dipende dal browser e dal sistema operativo che si sta utilizzando.
</div>
<div class="mw-translate-fuzzy">
#I file selezionati appaiono in basso sulla schermata di inserimento delle immagini. Fare clic su "Inizio caricamento" per avviare il caricamento dei file.
#I file selezionati appaiono in basso sulla schermata di inserimento delle immagini. Fare clic su "Inizio caricamento" per avviare il caricamento dei file.
</div>
<div class="mw-translate-fuzzy">
#*Quando il caricamento è completato un avviso verde apparirà nella parte superiore dello schermo.
#*Quando il caricamento è completato un avviso verde apparirà nella parte superiore dello schermo.
</div>
<div class="mw-translate-fuzzy">
#Ora è possibile selezionare e inserire nell'Articolo l'immagine caricata come descritto sopra.
#Ora è possibile selezionare e inserire nell'Articolo l'immagine caricata come descritto sopra.
</div>


<noinclude>
<noinclude>

Revision as of 15:36, 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. Impostare le proprietà delle immagini, come desiderato:
    • Descrizione immagine: Ciò diventa l'attributo alt dell'immagine, una caratteristica importante per l'accessibilità e la conformità con gli standard 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.
    • Mostra didascalia: Abilita la didascalia che mostra sotto l'immagine il Titolo dell'immagine.

In Joomla 3

    • Allineamento (float): Imposta l'allineamento (sinistra, centro, destra) dell'immagine. Per impostazione predefinita, l'attributo "align" è Non Impostato.
    • Classe didascalia: Applica la classe inserita all'elemento figcaption.
  1. Fare clic sul pulsante Inserisci per inserire l'immagine. La schermata Inserisci immagine si chiude e l'immagine viene visualizzata nell'editor. Oppure fare clic sul pulsante Annulla' per uscire dalla schermata Inserisci immagine.

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.

Caricamento delle immagini, utilizzando la schermata per l'inserimento delle immagini

Si può anche caricare una nuova immagine utilizzando la sezione "Carica file" della schermata per l'inserimento delle immagini.

  • First open the Media browser and navigate to the folder where you wish to store new images for the current article.
  1. Fare clic sul pulsante "Sfoglia" per aprire il file browser.
  1. Selezionare i file delle immagini che si desidera caricare. Fare clic su Apri nel file browser per confermare la selezione. Nota: Il tipo di file browser dipende dal browser e dal sistema operativo che si sta utilizzando.
  1. I file selezionati appaiono in basso sulla schermata di inserimento delle immagini. Fare clic su "Inizio caricamento" per avviare il caricamento dei file.
    • Quando il caricamento è completato un avviso verde apparirà nella parte superiore dello schermo.
  1. Ora è possibile selezionare e inserire nell'Articolo l'immagine caricata come descritto sopra.