image appearing smaller | XM Community
Solved

image appearing smaller

  • 28 July 2023
  • 6 replies
  • 349 views

Userlevel 2
Badge +2

I'm having a problem with the images in my survey showing up very small, even though the file size in the graphics library is large, and they appear large in the survey builder. But in preview they show up small.

icon

Best answer by ManfredBM 31 July 2023, 16:53

View original

6 replies

Userlevel 4
Badge +9

Hi @LauraS244 ,

 

Are you using images in selection choices/ labels or anywhere else OR simply in Text/ Graphic/ Heat Map etc.?

 

Try manually setting the height and width.

<img src="MyURL" style="width: 700px; height: 300px;" />

Userlevel 2
Badge +2

The images are just in a Text/Graphic question and have large dimensions but still showing small in the preview.

Userlevel 5
Badge +32

It works for me in my survey. The image size is reduced to the available space on the screen (= standard width of a question), though.

Can you post a picture of how it looks like in your case? 

Userlevel 2
Badge +2

 Below is what it looks like in the builder. The dimensions are 2880 x 1136 although we don’t need it that big, but big enough so that you can easily read the details.

 

 

And this is what it looks like in preview. Obviously not close to the pixel size

 

 

Userlevel 5
Badge +32

Ok, thanks. So looks like the same behaviour I have in my survey. The picture is fitted into the available horizontal space.

What you could try is to enter the following to “Look and Feel” → “Style” → “Custom CSS”:

img { 
max-width: 200% !important;
}

The size of the image then theoretically can be twice the width of the available space. A scroll bar will be added automatically.

In case this works, please be aware that this setting applies to ALL images in your survey.

Userlevel 2
Badge +2

This worked! Thank you so much!

Leave a Reply