Issue with Image Loading

PennController for IBEX Forums Support Issue with Image Loading

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #7832
    topasnaa
    Participant

    Hello,

    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,
    Ana

    #7833
    Jeremy
    Keymaster

    Hi Ana,

    The PicturePrime cell 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 where PicturePrime references a URL

    There 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 the PicturePrime cell and an actual image filename in the next (unnamed) cell for most rows

    Once 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

    #7844
    topasnaa
    Participant

    Hi Jeremy,

    Thank you! I have given them the info and the experiment now works.

    -Ana

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.