None article files.
I have a bunch of .jpg files I want to quickly throw onto a website. I assume it's not possible to use a loop to identify each file (non-article) in a folder and create an entry for each in a loop?
CityScript loops currently only work with articles. You can put each image in a field, like extra1, and place the image where you want by pulling out extra1 using the loop.
What I do in this situation is create an article with the same name as the JPG. The body of the article contains the caption. The template has the code to display it:
Thats what I did in the end, but for a thumbnail gallery of 70-odd pictures, it wasn't the ideal solution.
If you want to publish only a couple of pictures, why not use an album generator? I'd recommend JAlbum (jalbum.net).
Fog Creek Home