Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Picture's link is wrong when importing a survey

  • Frances
  • Frances's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #203694 by Frances
Hello!
I'm having a weird problem when importing a survey. I have already 4 different surveys that work well, but I have to modify some things and instead of doing it question by question (I have 50 questions for each survey, so this would take forever), I want to modify the script and then import a new survey.
In each question, there is a link to upload a picture, like this one: src=" umfrage.uibk.ac.at/limesurvey/allgemein/...40/images/EM0003.jpg "
The problem is that if I modify the script in txt file, when I import it again, the link is wrong, specifically, the slash between "allgemein" and "upload" disappears. The rest is perfect, the only thing that changes is that slash.
I can't understand why this happens. Do you have any idea?

Thanks a lot.

Francesca
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #203696 by Joffm
You exported as *.txt, changed things and imported again? Or did you use the *.lss export?

Well, I have an idea.
When you import a survey there is the option
"Konvertieren von Ressourcen-URLs und EM-Feldern?"

The default link to an image is
/limesurvey/upload/surveys/surveyID/images/myPicture.jpg

Yours is
umfrage.uibk.ac.at/limesurvey/allgemein/...images/myPicture.jpg

So I could imagine that trying to convert the link your first part is not treated correctly.

By the way: Which version are you using?

And: what happens if you use a double slash? Do both disappear?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Frances
  • Frances's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #203702 by Frances
Hello Joffm,
thanks for your reply.
To answer your questions, yes, I export and import in txt, and I use LimeSurvey 3.22.4
I already tried with two slashes, and it removes both of them. Concerning the option "Convert resource links and expression fields" I already tried to set it off, but nothing changes.
Thanks again,

Francesca
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose