Skip to content
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

Featured image not appearing #5

Open
momolog opened this issue Jul 31, 2014 · 2 comments
Open

Featured image not appearing #5

momolog opened this issue Jul 31, 2014 · 2 comments

Comments

@momolog
Copy link

momolog commented Jul 31, 2014

The featured image, even though uploaded and shown in the backend, does not appear anywhere in the frontend.

@jandre3000
Copy link

True, although it's easy enough to add
<%= image_tag(blog_entry.blog_entry_image.attachment.url(:large)) %>
anywhere you need in the templates

@hpbruna
Copy link

hpbruna commented Feb 2, 2016

I found that I first have to build it in the template. Else the attachment.url won't be there.

<% blog_entry.build_blog_entry_image unless blog_entry.blog_entry_image %>

krazedkrish referenced this issue in krazedkrish/spree-blogging-spree Mar 20, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants