I got Cross-Origin Read Blocking (CORB) when html try to load photo from subfolder

Hello everyone,

i got “Cross-Origin Read Blocking (CORB) blocked a cross-origin response” after placing the photos (.jpg) in subfolders “/Families/FamiliesData/Rosaceae/Rosa/Rosaxdamascena” and not directly in “/htdocs”.

thank you

So? If you need help, start by filling up according to the template.
Vague posting will likely be ignored

8 Likes

I’m sorry to hear that, CORS issues can be quite confusing, so good luck with fixing that.

If you’d actually like us to help us solve that, please give us some bare minimum of details to be able to help you, such as:

  • On what page do you experience this option? Please provide the URL.
  • Which file are you trying to embed? What’s the URL to the file?
  • Can you please show the FULL error message shown, not just part of it?
7 Likes

sorry for vague description
this is the link: https://dpuh.42web.io/Families/FamiliesData/Rosaceae/Rosa/Rosaxdamascena/Rosaxdamascena.html
the problem is why photos are not loaded whither thumbnail or large. i want to know if this is an error in html structure, or because infinityfree do not accept some sort of storing data.
this is the issue shown by the browser:
"1. Cross-Origin Read Blocking (CORB) blocked a cross-origin response.

    1. Affected Resources*
  •  1. 15 requests*
    
  •   1. database.jpg*
    

1.jpg
5.jpg
6.jpg
7.jpg
4.jpg
1.jpg
2.jpg
3.jpg
6.jpg
5.jpg
2.jpg
3.jpg
4.jpg
7.jpg
3. * Learn more: CORB explainer"

I see this

So read this

6 Likes

solved, the file path of images was not correct
thanks.