- Posts: 16
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Having difficulties adding an image to the welcome and end pages
- IlanaWilken
- Topic Author
- Offline
- New Member
Less
More
6 years 4 months ago #160601
by IlanaWilken
Having difficulties adding an image to the welcome and end pages was created by IlanaWilken
Hello everyone
I would like to add our company logo to the welcome and end pages. When I click on the image button in the editor, and then on Browse Server, I get this message:
"Cannot find any of the supported PHP image extensions!"
What does it mean and how do I fix it so that I can add images?
(We are self-hosters, if that makes any difference.)
Thanks so much!
Regards
Ilana
I would like to add our company logo to the welcome and end pages. When I click on the image button in the editor, and then on Browse Server, I get this message:
"Cannot find any of the supported PHP image extensions!"
What does it mean and how do I fix it so that I can add images?
(We are self-hosters, if that makes any difference.)
Thanks so much!
Regards
Ilana
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 4 months ago #160605
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Having difficulties adding an image to the welcome and end pages
Hello, Ilana,
where is there an "image button" in the template editor?
But it doesn't matter.
You can use any picture in the internet as long as you know the url.
I suppose, you want to add the logo onl in the welcome page, not in the question page.
So edit the "welcome.pstpl".
Here the first lines with my included picture (very quick example).
Endpage analogue in "completed.pstpl"
Best regards
Joffm
where is there an "image button" in the template editor?
But it doesn't matter.
You can use any picture in the internet as long as you know the url.
I suppose, you want to add the logo onl in the welcome page, not in the question page.
So edit the "welcome.pstpl".
Here the first lines with my included picture (very quick example).
Code:
<div class="alert alert-danger" role="alert" id="checkjavascript"> {CHECKJAVASCRIPT} </div> <script> document.getElementById("checkjavascript").style.display = 'none'; </script> <!-- Survey Description --> <div class="row" id="welcome-container"> <!-- This Image-Tag you add wherever you want --> <img id='page_logo' src='http://www.example.com/path_to_picture/name_of_picture.jpg' class="img-responsive clearfix pull-left" /> <div class="col-sm-12 "> <h1>{SURVEYNAME}</h1><br /> <p class='surveydescription text-info'>{SURVEYDESCRIPTION}</p> </div> </div>
Endpage analogue in "completed.pstpl"
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
The topic has been locked.
- IlanaWilken
- Topic Author
- Offline
- New Member
Less
More
- Posts: 16
- Thank you received: 0
6 years 4 months ago #160625
by IlanaWilken
Replied by IlanaWilken on topic Having difficulties adding an image to the welcome and end pages
Hello Joffm
Thank you for your answer. I will attach a screenshot of where I found the image button. (Unless I incorrectly interpreted that "functionality"!)
The images/logo's I want to add aren't available on the internet and are stored locally on my PC. Is there a way of uploading images without them being on the internet?
Also, is there perhaps a simpler way of adding an image without fiddling with code?
Thank you again.
Regards
Ilana
Thank you for your answer. I will attach a screenshot of where I found the image button. (Unless I incorrectly interpreted that "functionality"!)
The images/logo's I want to add aren't available on the internet and are stored locally on my PC. Is there a way of uploading images without them being on the internet?
Also, is there perhaps a simpler way of adding an image without fiddling with code?
Thank you again.
Regards
Ilana
Attachments:
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12715
- Thank you received: 3926
6 years 4 months ago - 6 years 4 months ago #160639
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Having difficulties adding an image to the welcome and end pages
Hi, Ilana,
but this is something quite different.
You talked about the "welcome page", not about the "welcome message"
But nevertheless, just insert by the img-tag (of course in "source code mode")
You can set the width and height, but it's not necessary. Depands on the size of the picture.
Result:
Best regards
Joffm
but this is something quite different.
You talked about the "welcome page", not about the "welcome message"
But nevertheless, just insert by the img-tag (of course in "source code mode")
You can set the width and height, but it's not necessary. Depands on the size of the picture.
Result:
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last edit: 6 years 4 months ago by Joffm.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 4 months ago #160662
by jelo
@IlanaWilken:
What Limesurvey version/build is used? What webstack (PHP version, Webserver, OS) is used?
You PHP installation is missing some extensions.
Depending on the OS you need to install these php graphic extensions.
Have you tried to get past the error message about the missing extensions.
The upload should not be depend on these graphic extensions.
Or you upload the images via other ways (e.g. FTP or via a Controlpanel, if availble) to the webspace and follow the instructions of Joffm.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Having difficulties adding an image to the welcome and end pages
As long as the images are not uploaded to the webspace, the img-tags won't help.Joffm wrote: But nevertheless, just insert by the img-tag (of course in "source code mode")
@IlanaWilken:
What Limesurvey version/build is used? What webstack (PHP version, Webserver, OS) is used?
You PHP installation is missing some extensions.
Depending on the OS you need to install these php graphic extensions.
Have you tried to get past the error message about the missing extensions.
The upload should not be depend on these graphic extensions.
Optional PHP Extensions:
GD-Library with FreeType support installed is needed for captchas or nice charts in statistics - see PHP GD-Library Extension documentation
Or you upload the images via other ways (e.g. FTP or via a Controlpanel, if availble) to the webspace and follow the instructions of Joffm.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13912
- Thank you received: 2549
6 years 4 months ago - 6 years 4 months ago #160681
by DenisChenu
[edit]
Manual updated : manual.limesurvey.org/Installation_-_LimeSurvey_CE
GD (or convert or … ) is a really common PHP library
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Having difficulties adding an image to the welcome and end pages
Seems GD is needed by third_party extension kcfinder. I update manual according to this information.jelo wrote: […]
The upload should not be depend on these graphic extensions.
Optional PHP Extensions:
GD-Library with FreeType support installed is needed for captchas or nice charts in statistics - see PHP GD-Library Extension documentation
Or you upload the images via other ways (e.g. FTP or via a Controlpanel, if availble) to the webspace and follow the instructions of Joffm.
[edit]
Manual updated : manual.limesurvey.org/Installation_-_LimeSurvey_CE
GD (or convert or … ) is a really common PHP library
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 6 years 4 months ago by DenisChenu.
The topic has been locked.