-
Notifications
You must be signed in to change notification settings - Fork 625
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
[v3] Resized images not being served on local or production #1067
Comments
Have you tried without the .url param? %img.img-responsive{ src: "{{ project.image | resize: '100x100' }}" } |
@allanbreyes what's the HTML generated by your code? thanks! |
@manuchap - without @did - here is the HTML generated: <div class="col-sm-4 portfolio-item">
<a class="portfolio-link" data-toggle="modal" href="#portfolioModal1">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img class="img-responsive" src="/images/dynamic/W1siZmYiLCIvaG9tZS9hbGxhbi9Xb3Jrc3BhY2UvZW5kb3Ivc2l0ZXMvcG9ydGZvbGlvL3B1YmxpYy9wdWJsaWMvc2FtcGxlcy9wb3J0Zm9saW8vY2FiaW4ucG5nIl0sWyJwIiwidGh1bWIiLCIxMDB4MTAwIl1d/cabin.png?sha=a80b9458fcc03005">
</a>
</div>
<div class="col-sm-4 portfolio-item">
<a class="portfolio-link" data-toggle="modal" href="#portfolioModal1">
<div class="caption">
<div class="caption-content">
<i class="fa fa-search-plus fa-3x"></i>
</div>
</div>
<img class="img-responsive" src="/images/dynamic/W1siZmYiLCIvaG9tZS9hbGxhbi9Xb3Jrc3BhY2UvZW5kb3Ivc2l0ZXMvcG9ydGZvbGlvL3B1YmxpYy9wdWJsaWMvc2FtcGxlcy9wb3J0Zm9saW8vY2lyY3VzLnBuZyJdLFsicCIsInRodW1iIiwiMTAweDEwMCJdXQ/circus.png?sha=8f973b9810a6a727">
</a>
</div> Some other notes:
|
Actually, I'm almost positive that this is a routing issue. I'm not sure if dragonfly is getting mounted. I'm trying to just access without the SHA param, and getting a 404. According to: https://github.com/markevans/dragonfly/blob/241a4ed802f3b612e5a00f18a50605321c9f7323/lib/dragonfly/routed_endpoint.rb#L28 I should be getting a 400, correct? |
Okay, to clarify, I get a When deployed to either a local or production engine (heroku), I'm getting a I think this is related to this issue: markevans/dragonfly#387 Looks like the SHA algorithm changed on a patch update? I'll try downgrading to see if it fixes it... |
…et key used by Dragonfly in Steam directly in the locomotive config file
Wagon and Engine needs the very last commit of Steam in order to not run this issue anymore. |
👍 👍 👍 |
Example Liquid HAML call (modified from portfolio project example):
Getting either a 400 with message: "The SHA parameter you gave is incorrect" or a 404. Am I doing something wrong?
The text was updated successfully, but these errors were encountered: