Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
I am using a custom theme, not dawn or something, and whenever I go to the favicon and lick change, I select an image, try and change it, but it gives my this error message "File name must be the ID of an image setting." Any idea what this means?
I'm getting this error also. So frustrating
I was getting this yesterday and was told by Shopify customer service that there was an issue on their end, and later told that it was resolved. However, I tried again today and am still getting the message. Hopefully they actually get it fixed soon.
This usually means you are calling the wrong ID from your schema. For example assuming your schema looks something like this.
{% schema %}
{
"name": "favicon",
"settings": [
{
"type": "image_picker",
"id": "favicon_img",
"label": "Favicon"
}
]
}
{% endschema %}
Then wherever you are rendering this you need to use the ID from the favicon settings like this.
<img src="{{ section.settings.favicon_img | img_url: 'master' }}" />
Thank you, where should I use the <img > code? what file should I put it in?
Did you generate a favicon image? If so you can render this inside the head tag of your theme.liquid file.
ok but WHAT DO WE DO?
We are also having this issue, hoping Shopify can update soon since we have a product launch today
Is this a new problem?
im getting this error on my Fastor Theme. Can change my main logo. tried to upload. tried to changed the fileformat.. cant change the URL.
Cant actually upload any logos for the other formats like Apple Retina.
This just started happening to us too when trying to simply update our home page slider images. Shopify was of no help (blamed it on custom coding which we haven't changed in a long time). Help!
I am unable to upload an image to my homepage, after being able to do this easily for years. I was able to upload a new image to the product page, but when I try to upload it to the home page, I get the same error message: File Name Must Be The ID Of An Image Setting. The recommended fix makes no sense to me. Please explain it. I have not done anything to my code, nor do I want to.
Same error here for days. Can't update my website's logo/favicon. "File name must be the ID of an image setting."
Has anyone discovered a fix?
same here, help!
After several back and forths with customer service, I have at least a temporary and not-ideal solution. This worked for slide images, but I'm sure it would work for other images as well.
That worked for me, though it's a pain compared to just being able to upload the image from the theme settings itself. I was told this is happening because we are using a deprecated theme (Minimal), but that doesn't explain why it just started happening last Thursday.
2m ago Learn the essential skills to navigate the Shopify admin with confidence. T...
By Shopify Feb 12, 2025Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025