Skip to content

Commit ecd2fb4

Browse files
committed
image correction -- don't use image_small
1 parent 9f48671 commit ecd2fb4

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

_includes/feature/image-gallery.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
{%- capture image_link -%}{{ '/items/' | relative_url }}{% if figure.parentid %}{{ figure.parentid }}.html#{{ figure.objectid }}{% else %}{{ figure.objectid }}.html{% endif %}{% endcapture %}
4242
{%- capture image_caption -%}{{ captions[forloop.index0] | default: figure.title }}{%- endcapture -%}
4343
{%- capture image_alt -%}{{ alts[forloop.index0] | default: figure.image_alt_text | default: figure.description | default: figure.title }}{%- endcapture -%}
44-
{%- capture image_src -%}{{ figure.image_small | default: figure.object_location | relative_url }}{% endcapture %}
44+
{%- capture image_src -%}{{ figure.object_location | default: figure.image_small | relative_url }}{% endcapture %}
4545
{% endif %}
4646
<div class="col-md {% if figcount == 1 %}text-center{% elsif forloop.first %}text-md-end{% elsif forloop.last %}text-md-start{% else %}text-center{% endif %}">
4747
<figure class="figure mx-3{% if include.width %} feature-w-{{ include.width }}{% endif %}">

_includes/item/image-gallery.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55

66
{%- endcomment -%}
77
<a class="spotlight gallery-img" data-download="true" title="{{ page.title | escape }}" href="{{ page.object_location | relative_url }}">
8-
<img src="{{ page.image_small | relative_url }}" alt="{{ page.image_alt_text | default: page.description | default: page.title | escape }}" class="img-fluid">
8+
<img src="{{ page.object_location | relative_url }}" alt="{{ page.image_alt_text | default: page.description | default: page.title | escape }}" class="img-fluid">
99
<div><small class="text-dark">Click to view full screen</small></div>
1010
</a>

main.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414

1515
<!-- Introductory Content Box -->
1616
<div class="intro-content-box">
17-
<h1 class="sedimentation-title">SEDIMENTATION</h1>
17+
<!--<h1 class="sedimentation-title">SEDIMENTATION</h1>-->
18+
<p class="w-100"><img src="/sediment/assets/img/sedimentation-title.png" alt="SEDIMENTATION" class="tributary-title-img float-end"></p>
1819

1920
{% capture intro_content %}{% include intro.md %}{% endcapture %}
2021
{{ intro_content | markdownify }}

0 commit comments

Comments
 (0)