Adding an image to an article

From Joomla! ドキュメンテーション

This page contains changes which are not marked for translation.

Images are added to articles using the Editor Buttons below the content editor window in the Edit Article screen. Note: It is possible to insert images using the editor in Joomla!. However, this feature provides a simple way of inserting images stored in the images/stories directory of Joomla!

  1. Open the Article for editing either by:
    • Click the Content > Article Manager menu item to go to the Article Manager, select the Article and click the Edit toolbar button.
    • Clicking the Add New Article button in the Control Panel.
    • If logged in to the Front-end, you have appropriate permissions and are viewing the Article you wish to edit: Click the Edit toolbar button.
  2. Choose where you would like your image placed in the flow of the text by moving the cursor and click the Image editor button at the bottom of the screen.
  3. The Insert Image screen will open over the top of the Edit Article screen. Choose an image by clicking on it.
    • You may also move directory by clicking on the folder icons.
    • Use the drop down Directory field to quickly select a directory and click the Up button to go up a directory level.
  4. Set the image properties as required:
    • Image Description: This becomes the alt attribute for the image, an important feature for accessibility and compliance with web standards.
    • Image Title: Used for the optional caption and also becomes the title attribute in HTML.
    • Align: Sets the image alignment. If left blank the align attribute is not set.
    • Caption: Enables the caption which displays the Image Title below the image.
  5. Click the Insert button to insert the image. The Insert Image screen will close and the image will be displayed in the editor.
    • Click the Cancel button to leave the Insert Image screen.

Uploading images using the Insert Image screen

You may also upload new images using the Upload section of the Insert Image screen.

  1. Click the Browse button to open a file browser.
  2. Select the image files you wish to upload. Click Open in the file browser to confirm the selection. Note: The file browser style and layout depends on the browser and operating system you are using.
    • To remove selected files before uploading click the red icon next to the listed files.
    • If you are uploading multiple files in batches you can clear the list of completed files by clicking the Clear Completed button.
  3. The selected file(s) appear as a list at the bottom of the Insert Image screen. Click Start Upload to begin uploading files.
    • When the upload is complete a green tick will appear next to the file.
  4. You may now select and insert the uploaded image as before.