PennController for IBEX › Forums › Support › Issue with Image Loading
- This topic has 2 replies, 2 voices, and was last updated 3 years, 7 months ago by
topasnaa.
-
AuthorPosts
-
March 6, 2022 at 10:56 pm #7832
topasnaaParticipantHello,
I am working with a group to set up a semantic priming experiment and there seems to be an issue with long loading times for the pictures. I can not seem to find anything in the code that indicates why the loading time is taking so long. Is this because of PCIBEX or is there something I can change in my code?
Link to experiment:
https://farm.pcibex.net/r/wpxFeG/Thank you,
AnaMarch 7, 2022 at 12:20 pm #7833
JeremyKeymasterHi Ana,
The
PicturePrimecell of most rows in your table does not point to an image file (eg. at row 30 it points to an html file: https://etc.usf.edu/clipart/77700/77731/77731_sock.htm — which itself does not load either, but that’s an unrelated point). In that same row, however, the column after that does reference an image filename (sock.png) and that seems to be the case for most (maybe all) rows wherePicturePrimereferences a URLThere are other issues with your CSV table that will cause problems when generating trials and running your experiment. For example, row 19 (line 20) only defines four columns, and opens the fourth one with a double-quote but finishes before closing it. Then row 20 (line 21) starts with what must be the closing double-quote, and continues with empty cells (
",,,,,,). This will generate problematic trials (invalid filename for the former row because of the double-quote sign, empty cells for the latter)
You also seem to be adding unnecessary columns: your header row and all subsequent rows have a series of commas. I presume that you were working using a spreadsheet editor and, somehow, typed an email address in the tenth column of the first row (judging from the header row), thus creating a 10-column table. Maybe this is how you ended up with a URL in thePicturePrimecell and an actual image filename in the next (unnamed) cell for most rowsOnce you fix the issues with your table, PennController should be able to find the referenced pictures (assuming all the filenames are properly listed in the right column and match the files in your project’s Resources folder)
Jeremy
March 9, 2022 at 4:19 am #7844
topasnaaParticipantHi Jeremy,
Thank you! I have given them the info and the experiment now works.
-Ana
-
AuthorPosts
- You must be logged in to reply to this topic.