Closed evansmwendwa closed 3 years ago
I have managd to integrate with media library however the image paths are relative, making it impossible to use in production and in REST API. Below is a sample HTML inserted
<div><img src="../../../../storage/group-2-1607800073z1BAO.png" /></div>
Any advise on how to use public absolute URLs instead
Found a fix by adding the following to init
'init' => [ 'relative_urls' => false, 'remove_script_host' => false, 'convert_urls' => true, ],
I have managd to integrate with media library however the image paths are relative, making it impossible to use in production and in REST API. Below is a sample HTML inserted
Any advise on how to use public absolute URLs instead