unable to use binary classification for images using jsonl loader

Hi! The problem here is that when you load in your data via JSON(L), Prodigy will just take exactly what's in the data and render it in the UI – in this case, images from local file paths. However, images and other files from local paths are typically blocked by modern browsers for security reasons – you can disable this, but it's not usually recommended.

The image recipes use the fetch_media pre-processor to convert images from local paths to base64-encoded strings, so you can send them directly over the API. This works fine for smaller files and means you can store the data with the annotations. If your files are larger, it's usually better to serve them from a local web server or URLs instead. See my comment here for more details.

So if you want to load your images from a JSONL file instead of a directory, the easiest solution would be to either start a local web server in the top-level directory and use localhost paths, or to put them in an S3 bucket or similar.