I’m not sure because I haven’t tested but
I mean if you use JS to dig in the directory (ajax)
that it will activate the hotlink protection
or it will give you a 403
if you have disabled dir listing
so I have no suggestion…
and then you should also edit the JS code from your owl carousel afterward which is an additional complication.