-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
decoding of image url #5
Comments
Hi! Glad you use this API! I'm currently writing a blog which could partially answer your question. Basically, i don't decode the image in the text area, i just add the dragonfly config Contentful does a similar way to be able to display a contentful image in a middleman website. But i'm sure we could do something to does not rely on the CMS. |
Thanks a lot for your answer.
I'm not using the middleman-refinery gem. I need to remotely serve the
images and ressources directly to middleman from s3. I'm playing with
dragonfly before_serve and define_url at the moment and I think I'm not far
to find. I'll let you know.
Le 10 mars 2017 8:14 PM, "Brice Sanchez" <[email protected]> a
écrit :
Hi!
Glad you use this API! Do you use the middleman extension too:
https://github.com/refinerycms-contrib/middleman-refinery ?
I'm currently writing a blog which could partially answer your question.
Basically, i don't decode the image in the text area, i just add the
dragonfly config config.dragonfly_url_host = "http://myrefinerysaas.domain.
com" to be sure to have an absolute URL in the text area and so be able to
display it in a middleman website.
Contentful does a similar way to be able to display a contentful image in a
middleman website.
But i'm sure we could do something to does not rely on the CMS.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#5 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAgY_kzSTaZlBL61I9dYnCAwp2V23-hWks5rkaEQgaJpZM4MXEtQ>
.
|
Did you find a solution? If yes, could you copy/paste it here? Thanks! |
Hi,
I'm using the API to get the content for a middleman static site but I don't understand how you decode the dragonfly image url from format /system/images/XXXXXX/filename.jpg?sha=XXXXX in the text area of a page.
Could someone explain me how to do ?
The text was updated successfully, but these errors were encountered: