Images
All media files are stored in and uploaded to Assets. Shared brand images are global, while each bank has its own local folder. The Image component is used to insert images and GIFs.
Best practice
Categories
- Together
- Confident
- Everyday Situations
- Places and industries
- The Oak
Formats
- Square: 2000 x 2000
- Standard: 2000 x 1200
- Panorama: 2000 x 625
Ratio:
- Square: 1:1
- Standard: 5:3
- Panorama: 16:5
Alternative text, or alt-text, is a description of an image for visually impaired users who rely on screen readers. Images, illustrations, and videos play a crucial role in complementing text, enhancing comprehension and engagement. While many people prefer visual content, not everyone can see images. Additionally, the WCAG directive mandates that we provide descriptive alt-text to ensure accessibility for all users.
Always try to avoid including text in images, unless the image is a logotype.
If the image must contain a small amount of text, you could use Stripe component
If the image contains a large amount of text, the text should also be placed elsewhere on the page.
If an image does not convey any meaning or value and is solely for design purposes, it should be marked as decorative. This ensures that screen readers skip the image, preventing unnecessary interruptions for the user. However, to enhance inclusivity, it can be beneficial to describe certain images, such as a photo of oak leaves, to provide context. Therefore, it’s important not to overuse the "decorative" label, as doing so may deprive users of potentially valuable information.
Do
- For images without any sense, mark the image as "decorative" instead of adding an alt text.
Don't
- Overusing the "decorative" property for images instead of writing alt texts.
- File names should not contain special symbols, characters (!@€äåö?) or spaces.
- Images with spaces or special symbols or characters will not work.
Do
File name: cutest-kitten.jpg
Don't
File name: sötaste kattungen.jpg
Do not exceed 500 kB
- Do not create images wider than 2000 pixels. Remember that the image will be smaller when rendered on the page, which will affect how the image looks.
- The size of the file is dependent on the pixel size of the image, but also to some extent on the colour and the details in the image. A 5000 x 3000 pixel colour image is going to have a larger file size than a black and white 1000 x 800 pixel image.
Use jpg for photos
Assets will render all images to jpg to optimise the file size.
Use png for graphics
Use png for graphics for optimal sharpness.
Note! Cropping and compression are not applied to png files in Assets, so they retain their original quality and resolution. If the original image is too large, this may negatively impact the layout and appearance of the design.
Configuration in AEM
Toggle Side Panel
In Edit mode, click on the side panel icon before you open the component (otherwise it won't open). The side panel icon is in the upper left corner.
Image search
When you click the side panel button, you'll navigate to Assets, where all images are stored.
In the Filter field, you can search for images, enter a path if you know the asset's location in DAM, filter by asset type (such as images and videos), and search for tags.
Various tags are available, which you can view by clicking the button on the right. The three image formats — standard, square, and background are also tags. To locate a standard image, for example, type “standard” and select the tag.
All published images are visible in the Toggle Slide Panel. Ensure that you’re using approved images.
Swedbank’s main brand image folder is located here:
Drag and drop
Drag and drop the image from the side panel into the component.
Image
Caption
You can add a brief description or title for the image. This text appears with the image on the page, providing context or additional information for viewers.
Alternative text
The alt text is a short written text description of an image that can't be viewed by the user, for example a visually impaired person using a screen reader, or users who choose to turn off image presentation. The alt text of the image is displayed - or read by the screen reader - when the image can't be viewed. How to write alternative text for images
Image is decorative
If an image does not convey any meaning or value and is solely for design purposes, it should be marked as decorative. This ensures that screen readers skip the image, preventing unnecessary interruptions for the user. However, to enhance inclusivity, it can be beneficial to describe certain images, such as a photo of oak leaves, to provide context. Therefore, it’s important not to overuse the "decorative" label, as doing so may deprive users of potentially valuable information.
Cropping
If the image folder has a cropping profile, there will be different cropping formats available to select.
Preset type
Default value is "Smart crop".
Select Cropping
Different cropping formats are available depending on which cropping profile has been applied to the image folder in which the image is saved. The most common format is Standard.
- Insert an Image, select it and click Edit in the toolbar.
- Click Enter Fullscreen.
- Click Launch Map and choose a map mode. Rectangular, Circular or Polygon.
- Place the figure and resize it to your liking. Click the figure to insert a link
- Save and close
Images and Assets (DAM)
From the start page, go to Assets > Files and navigate to the folder where you want to upload your file.
- Brand profile images and logos are located in the Global folder and are designated for Brand use only.
- Local images should be stored in the Swedbank and Savings Banks folders—please ensure you use the existing folders and avoid placing any images directly in the Sweden folder.
The Digital Content Management team manages the folder structure. If you require a new folder, please submit a request using this form.
- Click the Assets icon to navigate to your assets
- Click Create. Click Files to upload a file.
- Choose a file saved locally on your computer.
- Fill in metadata and publish the image.
- All images and media files must have metadata entered under Image Properties.
- This is essential for making images and videos easier to find and manage in Assets.
Mandatory metadata fields:
- Title: the meta title of the file. It will not be shown to users.
- Description: add a brief summary or details about the asset.
- Tags: add at least one tag. There are special Assets (DAM) tags.
- Accessibility alt-text in English
- Accessibility alt-text in Swedish
- Expire date: add an expiration date.The file will be unpublished on that date (it will not be removed from AEM, however).
Cropping profiles
- Cropping profiles are added to specific folders.
- When a cropping profile is added to a folder, all images in the folder will be processed according to the cropping profile.
- Sub folders can have another cropping profile.
Available cropping profiles
Brand images
This cropping profile is added on the brand images folder.
New path i Assets: /content/dam/global/brand/brand-images
- Standard
- Square
- Panorama
Portrait images
This cropping profile is added on the portraits images used for contacts built in Content Fragments.
- Portrait: 1440 x 2080 px
- Square: 2000 x 2000 px
How to apply a cropping profile to a folder
Note: This information applies only to Savings Banks' local image folders.
- Go to Image profiles: Tools > Assets > Image Profiles
- Select the image profile
- Click on "Apply Processing Profile to Folder(s)
- Navigate to the image folder to which you want to apply the image profile.
- Select the folder and press "Apply"
How to adjust the cropping with "Smart crop"
- Select the image folder in Assets
- Click on "Smart crop"
- Adjust the cropping of the images as needed
- Save and publish the image folder
- Keep in mind that it may take some time for the change to be visible externally
Reprocess Assets
The Reprocess Assets function must be run when applying a cropping profile to a folder that already contains images.
Note: Your ability to delete images in Assets depends on your access role in AEM.
- Select the image you wish to delete
- Go to Properties
- Click on References and update the image on the reference pages by clicking on the page path
- Save and close
- Select the image you wish to delete
- Click the three dots on the right and select Delete from the drop-down menu
Note: The visibility of the Delete button depends on screen size and the available options for the selected asset.
Note: Your ability to move images in Assets depends on your access role in AEM.
- Select the image you wish to move
- Go to Properties
- Click Move in the tool bar
- Rename the image if needed
- Click on Next
- Select the folder to which the image will be moved
- Click Next
- All references (pages that contain this image) should be republished. By default, all are selected.
- Click Move