How do I remove the NO IMAGE text and the circle with the line through it on pages with images?

How do I remove the NO IMAGE text and the circle with the line through it on pages with images?

taylor_22
Visitor
1 0 0

Screen Shot 2022-10-13 at 2.30.03 PM.png

Replies 2 (2)

casey-customs
Shopify Partner
143 13 24

It looks like it pops up as a sort of "loading" image. So whatever function you've set up that's created that load screen, you'll want to either add an image or remove it! Without access to your shop I couldn't say if it's a theme function or an app but either way it looks intentional, just unfinished.

Cedcommerce
Shopify Partner
718 77 116

Hello @taylor_22,

 

To fix this problem, you can set a condition while rendering the image in your theme like given below:

 

{% if section.settings.image  != blank %}

    <img src="{{ section.settings.image | img_url: "widthxheight" }}" alt="xyz" />

{% %}

 

By doing this if the image picker doesn't have any images then this code will not run.

 

In case you have problems fixing this please connect with our team of experts. 

 

Regards, 

CedCommerce

CedCommerce || Shopify Expert
- Let us know if our reply is helpful for you. Like it.
- Was your question answered? Mark it as an accepted solution.
- For further discussion contact: Email ID- apps@cedcommerce.com
- Whatsapp:- Join Here