How Can I Set Fixed Image Ratio In A Page?
How can I upload a image just it is?
I uploaded picture in a banner, and it automatically crops the image.
this is the image I want to upload.
This is how it comes.
A user is experiencing automatic image cropping when uploading pictures to a banner section on their online store. They want to maintain the original image aspect ratio without automatic cropping.
Issue Details:
Troubleshooting Attempts:
</body> tag in their theme filestheme.liquid file showing article card rendering logicCurrent Status:
How Can I Set Fixed Image Ratio In A Page?
How can I upload a image just it is?
I uploaded picture in a banner, and it automatically crops the image.
this is the image I want to upload.
This is how it comes.
Thank you.
Could you check this please?
https://rinmo.jp/pages/%E3%82%B5%E3%82%A4%E3%82%BA%E3%82%AC%E3%82%A4%E3%83%89
There is no as well…
This is all I find in the heme.liquid
{% comment %}
Renders an article card for a given blog with settings to either show the image or not.
Accepts:
Usage:
{% render ‘article-card’ blog: blog, article: article, show_image: section.settings.show_image %}
{% endcomment %}
{%- if article and article != empty -%}
{%- liquid
assign ratio = 1
if media_aspect_ratio != null
assign ratio = media_aspect_ratio
endif
-%}
{%- if article.excerpt.size > 0 -%} {{ article.excerpt | strip_html | truncatewords: 30 }} {%- else -%} {{ article.content | strip_html | truncatewords: 30 }} {%- endif -%}
{%- endif -%}{%- if article.excerpt.size > 0 -%} {{ article.excerpt | strip_html | truncatewords: 30 }} {%- else -%} {{ article.content | strip_html | truncatewords: 30 }} {%- endif -%}
{%- endif -%}