directory scanner debug missing image

Problem with Directory Scanner

Raconteur's picture

Hi all,

I have a very simple comp that uses a Directory Scanner to load up a bunch of images and display them. This seems as though it should be very simple, but man it has been a PITA.

First it took many searches to find out what the key of the filename member of the DS output structure was. In case anyone is wondering (which you probably aren't because I seem to be the only one who DIDN'T know this... :P) it is "url" in LOWERCASE.

But now my problem is no images appear. I can open the Console and see a series of messages that say

2/26/10 9:36:15 AM   Quartz Composer[230]   *** Message from <QCImageDownloader = 0x192A9910 "ImageDownloader_1">:
Failed starting image download for URL "file://localhost/Library/Desktop%20Pictures/Abstract/Abstract%207.jpg"

This happens for every image in the folder. I can plug that URL into a browser and it shows up just fine.

Any idea what is happening?

For reference, here is the comp outline: In the main comp

  • Directory Scanner <File List> ==> Structure Count <Structure>
  • Directory Scanner <File List> ==> Iterator <published Structure input>
  • Structure Count <Count> ==> Iterator <Iterations>

In the Iterator:

  • Iterator Variables <Current Index> ==> Structure Index Member <Index>
  • Structure Index Member <Structure is published and filled from the Dir Scanner>
  • Structure Index Member <Member> ==> Structure Key Member <Structure>
  • Structure Key Member <Member> ==> Image Importer <Image Location> ** key is set to "url"
  • Image Importer <Image> ==> Sprite <Image>
  • Iterator Variables <Current Position> ==> Math <input> (transformed by adding 20) ==> Sprite <X Position>

Everything seems to be in order, but like I said... no images show.

Thanks for any input!

Chris