- Posts: 3
- Thank you received: 0
Ask the community, share ideas, and connect with other LimeSurvey users!
Correct, the paths are already changed. So you just need to upload the files with same names to let them reappear.holch wrote: You probably have to upload the images for the new survey, then they should show up.
Thanks for the reminder. I had forgotten that section. Anyone knows why this not part of the import/export dialog?tpartner wrote: You can export/import all survey resources (images and files) in the survey settings.
<img src="/360survey/upload/surveys/643182/images/OIHHGN0.jpg">
<img src="/360survey/upload/surveys/{SID}/images/OIHHGN0.jpg">
domsson wrote: For anyone else who stumbles upon the problem of referencing pictures in a more portable way, I found a nice solution. Note, however, that I'm working with LimeSurvey 3, not sure if it also works in 2. Anyway, here goes: instead of hardcoding the survey ID, use the placeholder {SID}. So to stick with the OP's example:
Instead of this:
Code:<img src="/360survey/upload/surveys/643182/images/OIHHGN0.jpg">
Do this:
Code:<img src="/360survey/upload/surveys/{SID}/images/OIHHGN0.jpg">
Now, if you move/migrate the survey and it's ID changes, all should be well! Hope this will help someone.