Hey!
On my startpage are displayed all images uploaded to AUTOMAD as thumbnails. The images are linked to the respective project. On the project-page there are e.g. 20 images among each other and I would like to jump to the position where the clicked image is.
This is how my startpage looks:
<@ newPagelist { context: "/", type: "children" } @>
<@ foreach in pagelist @>
<@ filelist { glob: @{ files | def('*.jpg, *.png') }} @>
<@ foreach in filelist { crop: false } @>
<div class="grid-element">
<a href="@{ url }"><img src="@{ :fileResized }" alt="@{ :basename }" ></a>
</div>
<@ end @>
<@ end @>
Also, when going back to the startpage the visitor should be at the same position as before he/she clicked on the image.
Thanks so much for any help – I really love AUTOMAD!
Lukas