Προσθήκη εικόνας σε ένα άρθρο
From Joomla! Documentation
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):
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):
- Ορίστε τις ιδιότητες της εικόνας όπως απαιτείται
- Περιγραφή Εικόνας: Αυτό γίνεται το χαρακτηριστικό alt της εικόνας, σημαντικό για την προσβασιμότητα και τη συμμόρφωση με τα πρότυπα του ιστού.
- 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.
- Λεζάντα: Ενεργοποιεί τη λεζάντα που εμφανίζει τον Τίτλο Εικόνας κάτω από την εικόνα.
In Joomla 3
- Τοποθέτηση Εικόνας: Ορίζει τη στοίχιση της εικόνας. Ως προεπιλογή, το χαρακτηριστικό της στοίχισης είναι ορισμένο ως Κανένα.
- Κλάση Λεζάντας: Εφαρμογή της εισαγόμενης κλάσης στο στοιχείο figcaption.
- Κάντε κλικ το κουμπί Εισαγωγή για να εισάγετε την εικόνα. Η οθόνη Εισαγωγή Εικόνας θα κλείσει και η εικόνα θα εμφανιστεί στον επεξεργαστή. Ή κάντε κλικ στο κουμπί Ακύρωση για να βγείτε από την οθόνη Εισαγωγή Εικόνας.
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 Joomla 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)
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.
Μεταφόρτωση εικόνων μέσω της οθόνης Εισαγωγή Εικόνας
Μπορείτε επίσης να μεταφορτώσετε νέες εικόνες χρησιμοποιόντας την ενότητα Μεταφόρτωση της οθόνης Εισαγωγή Εικόνας.
- First open the Media browser and navigate to the folder where you wish to store new images for the current article.
- Κάντε κλικ στο κουμπί Browse για ν' ανοίξετε τον browser αρχείων.
- Επιλέξτε τα αρχεία εικόνων που θέλετε να μεταφορτώσετε. Κάντε κλικ στο Open μέσα στον file browser για επιβεβαίωση της επιλογής. Σημείωση: Το στυλ και η διάταξη του file browser εξαρτάται από τον web browser και το λειτουργικό σύστημα που χρησιμοποιείτε.
- Τα επιλεγμένα αρχεία εμφανίζονται στο κάτω μέρος της οθόνης Εισαγωγή Εικόνας. Κάντε κλικ στο "Έναρξη Μεταφόρτωσης" για να ξεκινήσει η μεταφόρτωση των αρχείων.
- Όταν ολοκληρωθεί η μεταφόρτωση, μια πράσινη ειδοποίηση θα εμφανιστεί στην κορυφή της οθόνης.
- Τώρα μπορείτε να επιλέξετε και να εισάγετε την εικόνα που φορτώσατε όπως προηγουμένως.