Create and edit policies
Policies contain the optimization and transformation configuration settings to be applied to your images or videos. A image policy set can contain only image policies, and a video policy set can contain only video policies.
A default policy is automatically generated when a new policy set is created. You can create as many policy sets and policies as you need on a single contract.
Policies are created in one of two ways:
-
By setting Apply Existing Policy Set to No in the Image and Video Manager behavior that you add to your Image and Video Manager rule. This automatically creates a new policy set containing a default policy when the rule is saved.
-
By logging into Akamai Control Center, navigating to ☰ > CDN > Image and Video Manager, and using the Policy Manager tools.
All policies must be configured using the Image and Video Manager Policy Editor.
An IVM user's ability to view or edit a policy on staging or production is determined by the granular permissions that have been set.
Image and video policies
Image and video optimization settings must be configured in separate image and video policies.
Image policy
An image policy contains:
-
Image optimization settings such as derivative image quality, derivative image widths (breakpoints), and the quality value override for slow connections.
-
Image transformations and conditions such as Rotate, Resize, Crop, Watermark, If Dimension, If Orientation, and so on. If Dimension and If Orientation allow you to conditionalize the application of transformations based on image dimension and orientation.
Video policy
A video policy contains:
-
Video optimization settings such as derivative video quality and resolution.
-
an optional setting to add a placeholder video which will play while the requested video loads.
Default versus custom policy
Depending on the complexity of your configuration, you may decide to create additional, custom policies. Default policies and custom policies are edited in the same way.
Default policy
A default policy is automatically created when a new policy set is created in Policy Manager. A new policy set and default policy is also created when you create a new Image and Video Manager rule if Apply Existing Policy Set is toggled to No in the Image and Video Manager (Images) or (Videos) behavior.
The default policy contains the default settings that determine how Image and Video Manager generates derivatives for the policy set. You can configure the default policy to change optimization and transformation settings.
The default policy is automatically applied if both of the following are true:
-
The request matches a Property Manager rule that contains an enabled Image and Video Manager behavior.
-
The request does not include a query string parameter indicating another specific and valid custom policy name.
Custom policy
You can create and configure a custom policy to apply different quality settings and artistic transformations. Once configured, use Image and Video Manager parameters to associate the correct custom policy with each request. For more information about applying custom policies, see Apply your policies. You may also want to look at some of the use cases and examples.
Create a policy
Cache-Control header behavior
The Image and Video Manager modifies the
cache-control
header of all converted images toprivate
by default. This setting restricts caching to the user's local browser only. If you want to enable broader caching (that is, by CDNs or shared caches), you must include a downstream cacheability rule in your property configuration (in Property Manager) that applies to the same images or videos managed by Image and Video Manager.
-
In Akamai Control Center, go to ☰ > CDN > Image and Video Manager.
Image and Video Manager opens to the Policy Manager page.
-
Select the correct Contract from the list.
-
Click +Create and select Policy from the list that appears.
-
To create your new policy:
- Select the policy set to which you wish to add the new policy
- Give your new policy a name, for example, "Rotate"
- Click Create
-
The Policy Editor appears.
- If you are editing a image policy, configure image optimization settings and add image transformations and conditions.
- if you are creating a video policy, configure video optimization settings and add a placeholder video.
-
Once you are finished configuring your settings, click Save and Test on Staging.
Edit a policy
-
In Akamai Control Center, go to ☰ > CDN > Image and Video Manager.
Image and Video Manager opens to the Policy Manager page.
-
Select the correct Contract from the list.
-
Expand the policy set containing the default policy you want to edit.
-
Open the Actions menu for the default policy and select View/Edit policy on staging.
The Image Policy Editor appears.
-
Change your policy configuration settings as desired.
-
Click Save and Test on Staging.
Image Metadata Preservation
International Press Telecommunications Council (IPTC) metadata preservation is a standard that provides a framework of maintaining metadata within digital files, particularly images, throughout various stages of their lifecycle. IPTC metadata includes information such as captions, keywords, copyright details, and other descriptive metadata that provide context and organization to digital assets.
As part of the image processing and with the focus on providing the highest quality image with the smallest size, Image and Video Manager was stripping image metadata during processing. With the new feature, you can now decide which metadata fields you want to preserve. By preserving this metadata, you can ensure the utility, authenticity and integrity of digital assets. This feature is implemented for the following formats: JPEG, WebP, PNG.
Why use the IPTC metadata preservation feature
To enhance your control over image and video metadata, you can use the IPTC metadata preservation feature if you wish to retain specific metadata for your needs.
While it is generally best practice for many users to strip all metadata for privacy or other reasons, you may want to use this feature in case some jurisdictions have legal requirements for preserving certain IPTC metadata.
IPTC metadata elements
Below is a list of the IPTC metadata elements that you can strip. For more information about these elements, please visit IPTC website.
Metadata Field | Description |
---|---|
Iptc4xmpCore_AltTextAccessibility | Accessibility metadata (alt text) |
Iptc4xmpCore_CountryCode | Country code metadata |
Iptc4xmpCore_CreatorContactInfo | Creator's contact information |
Iptc4xmpCore_ExtDescrAccessibility | Extended description accessibility |
Iptc4xmpCore_IntellectualGenre | Intellectual genre of the image |
Iptc4xmpCore_Location | Location metadata |
Iptc4xmpCore_Scene | Scene description |
Iptc4xmpCore_SubjectCode | Subject code of the image |
Iptc4xmpExt_AboutCvTerm | Controlled vocabulary term about the image |
Iptc4xmpExt_AddlModelInfo | Additional model information |
Iptc4xmpExt_ArtworkOrObject | Information about artwork or object |
Iptc4xmpExt_Contributor | Contributor's information |
Iptc4xmpExt_DigImageGUID | Digital image GUID |
Iptc4xmpExt_DigitalSourceType | Type of digital source |
Iptc4xmpExt_EmbdEncRightsExpr | Embedded encoded rights expression |
Iptc4xmpExt_Event | Event metadata |
Iptc4xmpExt_EventId | Event ID |
Iptc4xmpExt_Genre | Genre metadata |
Iptc4xmpExt_ImageRegion | Image region metadata |
Iptc4xmpExt_LinkedEncRightsExpr | Linked encoded rights expression |
Iptc4xmpExt_LocationCreated | Location where the image was created |
Iptc4xmpExt_LocationShown | Location shown in the image |
Iptc4xmpExt_MaxAvailHeight | Maximum available height |
Iptc4xmpExt_MaxAvailWidth | Maximum available width |
Iptc4xmpExt_ModelAge | Age of the model in the image |
Iptc4xmpExt_OrganisationInImageCode | Code of the organization in the image |
Iptc4xmpExt_OrganisationInImageName | Name of the organization in the image |
Iptc4xmpExt_PersonInImage | Person in the image |
Iptc4xmpExt_PersonInImageWDetails | Person in image with details |
Iptc4xmpExt_ProductInImage | Product in the image |
Iptc4xmpExt_RegistryId | Registry ID |
dc_creator | Creator (Dublin Core) |
dc_description | Description (Dublin Core) |
dc_rights | Rights (Dublin Core) |
dc_subject | Subject (Dublin Core) |
dc_title | Title (Dublin Core) |
exif_GPSAltitude | GPS Altitude (EXIF) |
exif_GPSLatitude | GPS Latitude (EXIF) |
exif_GPSLongitude | GPS Longitude (EXIF) |
photoshop_AuthorsPosition | Author's position (Photoshop) |
photoshop_CaptionWriter | Caption writer (Photoshop) |
photoshop_City | City (Photoshop) |
photoshop_Country | Country (Photoshop) |
photoshop_Credit | Credit (Photoshop) |
photoshop_DateCreated | Date created (Photoshop) |
photoshop_Headline | Headline (Photoshop) |
photoshop_Instructions | Instructions (Photoshop) |
photoshop_Source | Source (Photoshop) |
photoshop_State | State (Photoshop) |
photoshop_TransmissionReference | Transmission reference (Photoshop) |
plus_CopyrightOwner | Copyright owner (PLUS) |
plus_DataMining | Data mining rights (PLUS) |
plus_ImageCreator | Image creator (PLUS) |
plus_ImageCreatorImageID | Image creator image ID (PLUS) |
plus_ImageSupplier | Image supplier (PLUS) |
plus_ImageSupplierImageID | Image supplier image ID (PLUS) |
plus_Licensor | Licensor (PLUS) |
plus_MinorModelAgeDisclosure | Minor model age disclosure (PLUS) |
plus_ModelReleaseID | Model release ID (PLUS) |
plus_ModelReleaseStatus | Model release status (PLUS) |
plus_OtherConstraints | Other constraints (PLUS) |
plus_PropertyReleaseID | Property release ID (PLUS) |
plus_PropertyReleaseStatus | Property release status (PLUS) |
xmp_Rating | Rating (XMP) |
xmpRights_UsageTerms | Usage terms (XMP Rights) |
xmpRights_WebStatement | Web statement (XMP Rights) |
How to remove metadata
To select which metadata to remove from your images, configure the IPTC Preserve Image Metadata settings as follows.
Updated 2 months ago