You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am trying to embed an image into the mail template.
I've implemented a custom S3 backend. My problem is that the result HTML contains a relative path. My expectation would be that the mail contains only absolute URLs, being rendered from people's inboxes.
I've tried to modify the UploadedImage model's url method to return an absolute URL instead of a path but still getting a relative path embedded
Am I doing something wrong ?
The text was updated successfully, but these errors were encountered:
Hey @pirvudoru, I think UploadedImage#url isn't actually used anywhere anymore. You'll need to modify your uploader's #url_to method to produce absolute URLs. Can you share the code for your custom S3 backend?
Hello,
i am trying to embed an image into the mail template.
I've implemented a custom S3 backend. My problem is that the result HTML contains a relative path. My expectation would be that the mail contains only absolute URLs, being rendered from people's inboxes.
I've tried to modify the UploadedImage model's
url
method to return an absolute URL instead of a path but still getting a relative path embeddedAm I doing something wrong ?
The text was updated successfully, but these errors were encountered: