Jump to content

Dawn Spears

School User
  • Posts

    3
  • Joined

  • Last visited

Posts posted by Dawn Spears

  1. Hi,

    I'm not sure of the best way to access the assets within my widgets assets folder. For example, if I have an image that I want to display on a canvas, I can use the following:

    imageObj.src = "https://disraeli-bucks.frogos.net/app/file/resource/10E354602003064E38AADFB27ECC0A08B6D928AC51D3E2CA?1506677717";

    To reference the image and it will display correctly. However if I use something like

    imageObj.src = "assets/rhino.jpg";

    nothing will display.

     

    Is it necessary to use the full URL each time or am I being a bit daft?

  2. Hi,

     

    I have set up a sildeshow, using a file drop as detailed in the tutorial below:

    http://www.frogcommunity.com/app/os#!filedrop/slideshow

     

    My first slideshow was working correctly, and I could add/remove files to the drop and the correct pictures were showing.

    I then tried to add another slideshow (on a new tab within the site), so set up a new file drop, got the new ID and created the HTML again as per the tutorial, however the second file drop won't work as expected. The pictures from the second file drop show up in the first slideshow, despite them having completely different IDs. If I set up a list of file names for the second file drop, the files are correct, but they are showing on the wrong page. Sometimes they appear as part of the slideshow, and other times the new pictures are above the first pictures. I will attach some screenshots so that hopefully you can see what I mean.

    Additionally, the first file drop will work correctly until I try and look at the second file drop, then when I go back to the first I have the problem (caching issue maybe?).

    First file drop showing Micky Mouse correctly:

     59c2684b3b164_filedrop1.thumb.JPG.339149cba215afe90407ee4c26583374.JPG

     

    2nd file drop showing only the file name (testing) widget. The file drop arrows show up but no pictures.

    59c26849daac8_filedrop2.JPG.9761a61ab33264e0f6d249602cba5a3b.JPG

     

    Now, I go back to the first tab and Goofy is showing despite him being on the other file drop.

    59c2684900ac9_filedrop1afteraccessingfiledrop1.JPG.4212ed3bc7188a3e37993635c5c5d8d2.JPG

     

     

    Any ideas?

     

    Kind regards

     

    Dawn

×
×
  • Create New...