You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I thought I had done something wrong specifying the resources array map elements (alt, phototitle, description) for specific images in the _index.md file. But then I noticed it wasn't displaying on your Preview site either (https://kc0bfv.github.io/autophugo).
For instance, just considering the "cats" album. A snippet from the example _index.md file shows:
`resources:
src: cats/cat_01.jpg
weight: 1
alt: Cat in the grass
phototitle: Grass cat
description: This cat stalks through the grass
categories:
dark colored
src: cats/cat_02.jpg
alt: A cat in some sort of urban setting
phototitle: Cool cat
description: One of the coolest cats
src: cats/cat_03.jpg
weight: -1
---`
But none of this info is displayed anywhere.
It appears none of the metadata from _index.md makes it to the generated page source. For instance, for the ref to the first cat pic, shouldn't 'phototitle' and 'description' (as listed above) be listed here with the image? (regardless of what you may be doing with that metadata in your js):
In mine, when I upgraded, the scrach mapping thing started adding a preceding slash to the image URLs. When I changed src: cats/cat_03.jpg to src: /cats/cat_03.jpg it started working.
To be clear, I'm not sure if this is best but since I'm using it without an album, it is an okay work-around for me. If folks are using subalbums, I don't know if it'll cause trouble.
I thought I had done something wrong specifying the resources array map elements (alt, phototitle, description) for specific images in the _index.md file. But then I noticed it wasn't displaying on your Preview site either (https://kc0bfv.github.io/autophugo).
For instance, just considering the "cats" album. A snippet from the example _index.md file shows:
`resources:
weight: 1
alt: Cat in the grass
phototitle: Grass cat
description: This cat stalks through the grass
categories:
alt: A cat in some sort of urban setting
phototitle: Cool cat
description: One of the coolest cats
weight: -1
---`
But none of this info is displayed anywhere.
It appears none of the metadata from _index.md makes it to the generated page source. For instance, for the ref to the first cat pic, shouldn't 'phototitle' and 'description' (as listed above) be listed here with the image? (regardless of what you may be doing with that metadata in your js):
<article class="thumb"> <a class="gallery-item" phototitle="" description='' gallery_index="0" id="f6e7eb8d1940769c8d32cec244a6bcd8" downloadable="true" download_file="/autophugo/cats/cat_01_hub651534c51aef9866951796d908164af_637223_960x0_resize_q90_box.jpg" orig_name="cat_01.jpg" href="/autophugo/cats/cat_01_hub651534c51aef9866951796d908164af_637223_960x0_resize_q90_box.jpg"> <div id="image_number_0" class="gallery-item-marker"></div> <img src="/autophugo/cats/cat_01_hub651534c51aef9866951796d908164af_637223_480x0_resize_q50_box.jpg"> </a> <h2></h2> </article>
Many kind regards...
The text was updated successfully, but these errors were encountered: