Welcome, Guest
Username: Password:

TOPIC: Pb: Using Pictures in Questions

Pb: Using Pictures in Questions 3 years 5 months ago #90271

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
I uploaded jpg and gif files into my questions and when I preview the question group they are all there and it seems fine - but if I activate the survey and take it as a participant they do not appear in the questionnaire (I see placeholders only). I have changed their rights (and all folders of upload) to 755 and 777 but still I can only see them in the admin screen. If I right-click the placeholder to open picture in a different tab I get a 404 Error. What did I do wrong? I uploaded according to the guidelines.
the pictures were sucessfully uploaded in mypage.com/LimeSurvey/upload/surveys/279371/images/
as always any help appreciated, I couldn't find anything similar in the forums-
many thanks
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 5 months ago #90272

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
What is the (broken) path to the images in the activated survey.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90274

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
it's the same path where I found the pix on my server:
mypage.com/Screening/Survey/upload/surve...79371/images/xxx.jpg
The administrator has disabled public write access.

Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90275

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
Well, that's odd. A valid path to a file shouldn't be affected by activating the survey.

Can you activate a dummy survey for us to test?
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Aw: Re: Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90289

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
ok, this is getting weirder - it took me a while because the dummy survey I set up from scratch using only gif files displayed its pictures as it should do.
Then I made a new dummy, copying my original questions using jpgs and adding 2 more new questions also using jpegs and activated that - and suddenly, a few of the "old" pictures are showing, others are not. the newly uploaded pictures are also showing.
they are now all jpegs, all uploaded the same way.

try this link:
applicantperformance.com/Screening/Surve...n/tk-6sqayw9hmhs5k56
The administrator has disabled public write access.

Aw: Re: Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90291

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
Yes, that is weird. I don't understand how you can see the images when editing or previewing the question but not in the activated survey. The path to the images is the same when previewed or activated.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Aw: Re: Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90292

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
A solution would to FTP the images up to that directory. (Cures the symptom, if not the disease.)
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last Edit: 3 years 5 months ago by tpartner.
The administrator has disabled public write access.
The following user(s) said Thank You: marcomx

Aw: Re: Aw: Re: Aw: Re: Pb: Using Pictures in Questions 3 years 5 months ago #90293

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
I shall try that and report if problems persist - thanks!
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 5 months ago #90384

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
ok, i FTP'ed the pictures and on my original survey in admin mode all looks fine, although I had to upload one jpeg twice to make it work. But I think I am getting closer to the problem now: when I copy the survey to run it as a test dummy, I can access it once it is activated and I invited myself - but I cannot find the according folder, hence there is no place where the pictures are stored. how is this happening? i use my FTP program and can't see the dummy's folder, I use my web server control centre and cannot see the dummy folder - all I see is the original survey folder of which i did the copy. but how come i can take the survey but do not see the folder? i guess here is the reason I get a 404 - there is no image folder as there is no survey folder...
any ideas on this and why I don't get a survey copy folder?
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 4 months ago #90604

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
hi, I still cannot use the .jpg files in my questions. I started a new survey and imported the group with the same result: I cannot see them, now neither in the preview. Is this a problem with copying or downloading the group (i.e. img.-files or links to files are not downloaded when duplicating or exporting questions)?
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 4 months ago #90651

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
No, the resources (images) are not exported with a question or group.

If importing a question or group into a new survey, you will need to upload the images to:
installationRoot/upload/surveys/yourNewSurveyID/images/
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 4 months ago #90729

  • marcomx
  • marcomx's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 9
  • Karma: 0
there is no folder for that survey. just a folder for the first survey i made. i tried creating new surveys, but no folders appear - should they not be created automatically?
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 4 months ago #90745

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 5918
  • Thank you received: 1298
  • Karma: 522
The folder is not created when you import the survey. It's only created if you upload a resource for that survey.

You will need to copy the original survey's folder and rename it with the new survey ID.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Pb: Using Pictures in Questions 3 years 4 months ago #90792

  • DenisChenu
  • DenisChenu's Avatar
  • Online
  • Moderator Lime
  • Posts: 8951
  • Thank you received: 1257
  • Karma: 371
Think files are included in lsa files in 2.0, no ?

Denis
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.240 seconds