- Posts: 21
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Autosize Images In Welcome message
- msalum1
- Topic Author
- Offline
- Junior Member
Less
More
1 month 1 day ago #263952
by msalum1
Autosize Images In Welcome message was created by msalum1
Please help us help you and fill where relevant:
Your LimeSurvey version: LimeSurvey Community Edition Version 6.0.2+230417
Own server or LimeSurvey hosting: LimeSurve
Survey theme/template: extends_fruity
==================
Hello,
Thank you again you all your help during the last few months. I need help on how to auto-resize an image in Welcome message when accessing the survey through mobile device.
I had been trying the following codes I saw in the forum , but no resolution: <img alt="" class="img-responsive" src="/EPHMSurvey/upload/surveys/895696/images/image002.jpg" />
I also tried putting the codes below at custom.css.Luckily, images auto resize in text questions but not in the Welcome page. .question-title-container img { display: block; max-width: 100%; height: auto;}
Any code you can recommend so images in the Welcome page can auto-resize as well?
Your LimeSurvey version: LimeSurvey Community Edition Version 6.0.2+230417
Own server or LimeSurvey hosting: LimeSurve
Survey theme/template: extends_fruity
==================
Hello,
Thank you again you all your help during the last few months. I need help on how to auto-resize an image in Welcome message when accessing the survey through mobile device.
I had been trying the following codes I saw in the forum , but no resolution: <img alt="" class="img-responsive" src="/EPHMSurvey/upload/surveys/895696/images/image002.jpg" />
I also tried putting the codes below at custom.css.Luckily, images auto resize in text questions but not in the Welcome page. .question-title-container img { display: block; max-width: 100%; height: auto;}
Any code you can recommend so images in the Welcome page can auto-resize as well?
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13173
- Thank you received: 4052
1 month 1 day ago #264088
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Autosize Images In Welcome message
Hi,
keep in mind that LimeSurvey is based on bootstrap 5 since version 6.x.
So use the respective docs
[url] getbootstrap.com/docs/5.3/content/images/#aligning-images [/url]
Meaning, this will do it.
Joffm
keep in mind that LimeSurvey is based on bootstrap 5 since version 6.x.
So use the respective docs
[url] getbootstrap.com/docs/5.3/content/images/#aligning-images [/url]
Meaning, this will do it.
Code:
<img alt="Responsive image" class="img-fluid mx-auto d-block" src="https://www.myServer.com/myImage.jpg" />
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, msalum1
Please Log in to join the conversation.
- msalum1
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
1 month 18 hours ago #264186
by msalum1
Replied by msalum1 on topic Autosize Images In Welcome message
Thank you, Joffm!
Your code solved my problem! I'll inform my team about that bootstrap since we're on Version 6.
Marlo
Your code solved my problem! I'll inform my team about that bootstrap since we're on Version 6.
Marlo
Please Log in to join the conversation.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11743
- Thank you received: 2760
1 month 1 hour ago #264307
by holch
Your installation hasn't received any updates, bug fixes, security patches, etc. for over a year now.
An update is highly recommendable.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Autosize Images In Welcome message
You are on a very early version of LS6. There are for sure quite a few bugs and issues that have been solved since.Version 6.0.2+230417
Your installation hasn't received any updates, bug fixes, security patches, etc. for over a year now.
An update is highly recommendable.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: msalum1
Please Log in to join the conversation.