[RSS Feed/News] Abstract file system and display image url

Status
Not open for further replies.

XenForo

Administrative
  • Thread starter
  • Admin
  • #1
I have an articles add-on that I am using with @digitalpoint Cloudflare add-on. Thus far my add-on correctly uploads the article image file to R2 without any change of code. Where I am stuck is how to display the image in the template. Below is my php code. Any insight on how to display this correctly in my template so the URL is correct?

PHP:

Code:
    $abstractedPath = \XF::app()->config('externalDataPath');
        $abstractedThumbPath = \XF::app()->config('externalDataPath')...

Read more
Read more about this Feed . . .
 
Status
Not open for further replies.
Back
Top Bottom