I have images that I keep on AWS S3. The URI of one of them is below. Is it possible for me to have these appear in a report if i know the URI from my mysql?
S3 URI
s3://rso-lockers/richb201-gmail-com/assets/uploads/thumbnails/8a0d7-screenshot-from-2021-06-11-19-39-06.png How would I reference this in a report? Right now I get them from my hard drive like this:
Table::create(array(
"dataStore" => $this->dataStore("patents"),
"showFooter" => true,
"columns" => array(
"description",
"thumbnail_url" => array(
"formatValue"=> "<img width='500px' height='400px' src='".base_url()."/@value' />"
),
/*
"file_url" => array(
"cssStyle" => "text-align:right",
"prefix" => base_url() . "assets/uploads/",
)
*/
),
How about this?
Object URL
https://rso-lockers.s3.amazonaws.com/richb201-gmail-com/assets/uploads/thumbnails/8a0d7-screenshot-from-2021-06-11-19-39-06.png
How can I work this into the above table to be able to get the image appear in a report directly from S3?