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 not deleted user 2314
1 vote

DXA 1.7: Nullpointer exception when using SVG images in MultimediaComponent

However if you try and output the SVG with <img src="${entity.image.url}">, it will work without error since the webapp doesn't try to scale the image. …
S. Gabriel's user avatar
4 votes
2 answers
145 views

DXA 1.7: Nullpointer exception when using SVG images in MultimediaComponent

I have created a new MultimediaComponent and uploaded a SVG image to it. When using this MultimediaComponent in a Component and publish it to my page, the image wont be displayed. … A nullpointer happens in the image resize function at: int sourceW = originalImage.getWidth(); Width and height of a SVG image are not filled because it has no defined width and height - its scale-able …
S. Gabriel's user avatar