# Import Images via Url

**URL:** <https://community.labelstud.io/t/import-images-via-url/578>\
**Category:** Label Studio Support\
**Created:** [June 18, 2025, 10:11am UTC](https://community.labelstud.io/t/import-images-via-url/578 "2025-06-18T10:11:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![gamba99](https://avatars.discourse-cdn.com/v4/letter/g/f19dbf/32.png) [@gamba99](https://community.labelstud.io/u/gamba99)\
**Post date:** [June 18, 2025, 10:11am UTC](https://community.labelstud.io/t/import-images-via-url/578/1 "2025-06-18T10:11:01Z")

</div>

Hello,

I am following the [“Improve OCR quality for receipt processing with Tesseract and Label Studio”](https://labelstud.io/blog/improve-ocr-quality-for-receipt-processing-with-tesseract-and-label-studio/) tutorial. . For my project, I selected the OCR template and used a dataset of my own captured receipts and invoices.

Before executing the script, I ran the `serve_local_files.sh` script as instructed. However, when I try to import the generated JSON file into Label Studio, I always get the following error:

```auto
There was an issue loading URL from $ocr value

Things to look out for:

    URL is valid
    URL scheme matches the service scheme, i.e. https and https
    The static server has wide-open CORS, more on that here

Technical description:
URL: http://localhost:8081/10781078.jpeg

```

What’s strange is: when I click on the image URL in the error message, it **does load correctly in my browser** — so the image path seems accessible.  
My Json:

```auto
[
{
    "data": {
      "ocr": "http://localhost:8081/10791079.jpeg"
    },
    "predictions": [
      {
        "result": [
          {
            "id": "5572e255-4",
            "from_name": "bbox",
            "to_name": "image",
            "type": "rectangle",
            "value": {
...

```

Thanks in advance for any insights!
