Feature No Code Attached Yet
avatar M-u-e-c-k-e
M-u-e-c-k-e
11 Oct 2024

System information (as much as possible)

Joomla 5.1.4
Templates (Site): Cassiopeia

Multilingualism: Images: Missing size attributes (Mehrsprachigkeit: Bilder: Fehlende Größenattribute)

The site has the languages German & English

During the test (SEO) withScreaming Frog SEO Spider however, the images of the language module were criticised.

Pictures: Missing size attributes

Solution The image size of the flags should also be entered in the code.

Image

Image

avatar M-u-e-c-k-e M-u-e-c-k-e - open - 11 Oct 2024
avatar joomla-cms-bot joomla-cms-bot - change - 11 Oct 2024
Labels Added: No Code Attached Yet
avatar joomla-cms-bot joomla-cms-bot - labeled - 11 Oct 2024
avatar fgsw
fgsw - comment - 11 Oct 2024

Can you change the german- to english-sentences in title and description?

avatar chmst chmst - change - 11 Oct 2024
Labels Added: Feature
avatar chmst chmst - labeled - 11 Oct 2024
avatar chmst chmst - change - 11 Oct 2024
Title
Mehrsprachigkeit: Bilder: Fehlende Größenattribute
[5.1] Missing size attributes for language flags
avatar chmst chmst - edited - 11 Oct 2024
avatar M-u-e-c-k-e M-u-e-c-k-e - change - 12 Oct 2024
The description was changed
avatar M-u-e-c-k-e M-u-e-c-k-e - edited - 12 Oct 2024
avatar brianteeman
brianteeman - comment - 2 Apr 2025

Including height and width enables the aspect ratio of the image to be calculated by the browser prior to the image being loaded. This aspect ratio is used to reserve the space needed to display the image, reducing or even preventing a layout shift when the image is downloaded and painted to the screen. Reducing layout shift is a major component of good user experience and web performance.
Source MDN

Add a Comment

Login with GitHub to post a comment