Pictures don't show on blog posts

Elizabeth_Ward
Tourist
25 0 3

Just what it says - I can upload the featured pictures but they don't actually show on the website.

Liz

0 Likes
JoesIdeas
Shopify Expert
1310 118 341

Sounds like the code in your article.liquid file is either missing or not set up right.

First, try your theme settings and see if it's a switch there.

If not, and you want to try and fix on your own, then look for a template or section called article.liquid.

Here is some basic html/liquid that you can use to show the featured image:

{% if article.image %}
  <img  id="article-featured-image" src="{{ article.image | img_url: '1000x' }}" alt="{{ article.title | escape }}">
{% endif %}

You might need to hire a dev to configure the placement and CSS, but it's a pretty quick task.

Founder of Speed Boostr (Shopify optimization experts, theme customization, custom app development).
Creator of Shopify Analyzer (first performance analysis tool for Shopify sites, free for the Shopify community).
Creator of Order Automator (auto tag orders and customers + auto fulfillment + more automations).
More apps: Theme Scientist (A/B testing), Tip Jar (add a tip button), File Optimizer (optimize CSS, JS, Liquid).
Elizabeth_Ward
Tourist
25 0 3

thank you, where does that piece of code need to go?  Liz

0 Likes
Jason
Shopify Expert
10360 158 2010

A link to one of your posts with missing images is a good place to start. Can you share one?

I jump on these forums to help and share some insights. Not looking to be hired, and not looking for work.

Don't hand out staff invites or give admin password to forum members unless absolutely needed. In most cases the help you need can be handled without that.


★ http://freakdesign.com.au ★
0 Likes
Rosalie4
New Member
1 0 1

Thanks so much, JoesIdeas! I was having the same problem. This worked like a charm. I messed with the size and alignment as well. 

 

George_Lav
Excursionist
22 0 9

@Rosalie4  Can you help me please with the code for the correct alignment and size?

0 Likes