Loading and displaying image
Posted: Mon Jul 12, 2010 4:34 am
Hi all,
It's been a while since I've needed help, but you guys are incredible. Here's my dilemma (and I did search for the solution first, but to no avail). I have an experiment where I need to load and display .gif files. There will be different version of this, but I will usually display 2 or 4 and the participant will choose 1 (of 2) or rank the 4 in a particular order. What I can't figure out is how to get the card to load and display the .gif file. I've tried a bunch of methods like:
get URL "binfile:/P1D16C2.gif"
put URL "binfile:/P1D16C2.gif" into image "pic1"
show pic1
as a start (obviously I'll need to tweak size and location). But I can't even get the file to load and display. If anyone can help, I'd immensely appreciate it. FWIW, I will be keeping all the files in the same folder/directory as the program, so identifying the location is a non-issue.
Thanks again,
Josh
It's been a while since I've needed help, but you guys are incredible. Here's my dilemma (and I did search for the solution first, but to no avail). I have an experiment where I need to load and display .gif files. There will be different version of this, but I will usually display 2 or 4 and the participant will choose 1 (of 2) or rank the 4 in a particular order. What I can't figure out is how to get the card to load and display the .gif file. I've tried a bunch of methods like:
get URL "binfile:/P1D16C2.gif"
put URL "binfile:/P1D16C2.gif" into image "pic1"
show pic1
as a start (obviously I'll need to tweak size and location). But I can't even get the file to load and display. If anyone can help, I'd immensely appreciate it. FWIW, I will be keeping all the files in the same folder/directory as the program, so identifying the location is a non-issue.
Thanks again,
Josh