RSS Feed/News externalDataUrl and non-friendly, friendly, and Cloudflare R2

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
25,933
Points
823

Reputation:

I have an articles add-on that I use and plan to release next year and I am having a bit of an issue making the articles image seamless.

Here are the 3 scenarios:

1) Non-friendly URLs

2) Friendly URLs

3) External URL (i.e. Cloudflare R2)

The linke for my image is: {$xf.app.config.externalDataUrl}/articles/{$article.image_url}

This link works in the scenario where I am either using Non-friendly URLs or Cloudflare (https://data.example.com) but does not work when I am using...

Read more

Continue reading...
 
Status
Not open for further replies.
Top