Forum
Gallery: Get the first image link / path from an album
Hi,
I'm converting an existing static site to Perch and one of the things they use is a prebuilt javascript library for the slideshow.
I'm using the Gallery addon as it's the most sensible way to manage and generate the slideshow.
I need to be able to reference the first image from a given album on the 'click here' link that starts the slideshow.
Is there a straightforward way to get the image link / path?
Thanks,
Alex
Yes, you should be able to set the
count
option to1
to get just the first image.Of course, brains was fried. Thank Drew.