星期日, 27 12月 2020 13:25

Image Manager Extended

Upload, manage, insert and edit images.
About the Image Manager Extended
Interface
Inserting / Updating an Image
Advanced Options
Responsive Tab
Watermarks
Creating a Rollover Image
Thumbnail Editor
Creating Popup Images
Uploading an Image
 


About the Image Manager Extended


With the Image Manager Extended you can

Upload images and resize and thumbnail them on upload
Create folders
Rename, cut, copy, paste and delete folders and images
Create and delete image thumbnails
Edit Images in the Image Editor
Create Rollover images
Create Image Popups (requires JCE MediaBox or a compatible JCE Popup Extension)
Insert images into articles



Interface


The Image Manager Extended interface, like all standard 'Manager' plugins (Image Manager, File Manager, Media Manager etc.), consists of 2 sections, the Attributes section, and the File Browser section.
Attributes
This section is divided into 4 parts, each accessible by clicking on the named tab. The default tab display is of the Image section, which contains the fields that represent the main image attributes of the currently selected article image, or the image to be inserted into the article.
Image
Set the most common attributes for the image including URL, Description and Dimensions. See Inserting an image
Rollover
Create rollover images. See Creating a Rollover image
Popup
Create "lightbox" style image popups. See Creating Popup Images
Advanced
Set advanced attributes for the image. See Advanced Options
File Browser 
The Image Manager Extended Browser has the same basic features as the other 'Manager' plugins, but includes a few extra functions.

The Switch View Mode button  switches between a list view (above) and a thumbnail view (below)

The Create Thumbnail button  opens the Thumbnail Editor for creating thumbnails of images.
The Edit Image button  opens the Image Editor for resizing, cropping, rotating and applying effects to images.

Inserting / Updating an Image


To Insert an Image:
1. Select the image from the File Browser section by clicking on its name. The Display view will update with the image's details, and the image's attributes will be transferred to the Attributes section. There will be a slight delay as the image's dimensions are retrieved. The Insert button will be disabled while this happens.
2. Adjust the Article Image properties.
URL - The URL field represents the image's src attribute, and is the path to the image on the server. This should be absolute, ie: it should include the protocol and hostname in the url.
Alternate Text - This represents the alt attribute, and defines a short description of the image.
Dimensions - The width and height of the image, in pixels. Changing these values automaticaly updates the Style value. If the proportional checkbox is checked, changes to one value will automatically be affected on the other.
Margin - Represents the amount of space (in pixels) between the image and surrounding items. If the Equal Values box is checked, all margin positions will inherit the same value.
Alignment - The position of the image relative to surrounding text. In the case of Left and Right the float style is used, otherwise the text-align style is set.
Border - Although this would appear to represent the border attribute, as this has also been deprecated, the chosen values are used to assign a border style to the image. If any of the values is set false (ie: 0 or none or blank) the border stlye is not inserted or an existing one is removed.
Changes to the Margin, Alignment and Border attributes are all reflected in the sample image and text layout in the Preview sectio3. Click 'Insert'.
To Update and Image:
When the Image Manager opens, all relevant fields in the Attributes section are populated with the image's attributes. Any of these fields can be edited.
The folder where the image resides is opened and the image selected. The image's properties are displayed in the Details view.
At this point you can change the image by selecting a new one (follow the steps above) or alter any of the fields in any of the tabs  in the Attributes section.
Once you are happy with the changes, click the Update button.

Advanced Options


The Advanced tab contains fields to set additional attributes for an image.

Style
Represents the style attribute. Will be populated with styles set in the Image tab (margin, float etc). Additional styles can be added using the style element syntax, eg: text-align:right;vertical-align:middle;
Classes
A list of classes from your Joomla! template that can be applied to the image. Classes can be selected by clicking the drop-down icon, or typed into the field seperated by a space.
Title
Represents the title attribute. Used as a description of the image.
Id
Set the id attribute of the image.
Language Direction
Text direction of the element.
Language Code 
Language code of the element eg: en-GB
Image Map
Id of the associated image map.
Long Description
URL to a html or text document containing a detailed description of the image. To select and existing html file, or upload one to use, click on the File Browser icon on the right of the field.

Responsive Tab


The Responsive tab provides an interface for creating device reponsive images using the srcset attribute.
In brief, the srcset attribute provides a way to specify an alternate image for the browser to display based on the device the viewer is using. This is done by setting a device pixel ratio - the x field - or a width descriptor - the w field - for each image.

A full description of the srcset attribute is beyond the scope of this documentation, but an excellent article is available on Sitepoint - https://www.sitepoint.com/how-to-build-responsive-images-with-srcset
Device Pixel Ratio
The device pixel ratio is the ratio between the physical pixels and the device independent pixels of the display. So for example, a Retina iPhone with a physical width of 640 pixels displaying a viewport layout of 320 pixels will have a device pixel ratio of 2x. A useful list of common device pixel ratios is available here - https://www.mydevice....

继续阅读完整内容

请查看下方广告以解锁文章剩余内容

广告加载中...
查看 17021