asp.net with vue js FsLightbox lybrary Access to XMLHttpRequest origin has been blocked by CORS policy

asp.net with vue js FsLightbox lybrary Access to XMLHttpRequest at ‘https://localhost:44347/CarImages/3e0da2fa7fd0417ea2e2f4678229e264Logo.png’ from origin ‘http://localhost:5173’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource. error

when use FsLightbox library show this error , im use this images path in another slider its run good
and im use another images from internet to FsLightbox also run good
this problem just appear when use my images paths with FsLightbox !!??

// this is policy code from program.cs 
builder.Services.AddCors(options =>
{
    options.AddDefaultPolicy(
        builder =>
        {
            //you can configure your custom policy
            builder.AllowAnyOrigin()
                                .AllowAnyHeader()
                                .AllowAnyMethod();
        });
});
var app = builder.Build();
// Apply CORS policy
app.UseCors();

/////////////////////

// this in vue js FsLightbox like documntation
<FsLightbox :toggler="toggler" :sources="vehicleImages" />