Skip to main content
Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with
Search options questions only not deleted user 7164

The images tag is for questions related to the loading, formatting, saving,and display of images in the context of source code. This tag should also be used for assistance using various image libraries.

2 votes
1 answer
334 views

How can I add height and width attributes to an image in a menu?

Google is complaining that there is no height and width set on the HTML properties of some images in a menu. It's worrying about cumulative layout shift. … tried: $linktype = JHtml::_('image', $item->menu_image, $item->title, $image_attributes, ['width' => '308'], ['height' => '308']); but still no joy How could I add the height and width to these images
Eoin's user avatar
  • 2,043
1 vote
2 answers
413 views

Is there a way to use an SVG image in Cassiopeia

I'm using Cassiopeia and Joomla 4. I've adapted it very slightly to get to what I need but I really want to use a much smaller image size by using an SVG. Is there any way to do this? Previously you …
Eoin's user avatar
  • 2,043