Forum

Thread tagged as: Question, Gallery

Gallery Questions

Is there a way to change the gallery slug?

I tried this

<perch:gallery id="slug" type="slug" for="heading" editable>

but it isn't working.

Also, how do I add fields to my images to add things like a medium or image dimensions?

<perch:exsist id="dimensions"><b>Size:</b> <perch:gallery id="dimensions" type="text" label="dimensions" /></perch:exsist>

Also, Is there a way to make the Album Title, Image Title the page title?

b lewis

b lewis 0 points

  • 2 years ago

b lewis said:

Is there a way to change the gallery slug?

I tried this

<perch:gallery id="slug" type="slug" for="heading" editable>

but it isn't working.

I think the "Gallery App" uses an ID rather then Slug... you should be able to add a Slug field, but this would likely only aid you in filtering... but I am not really sure.

Also, how do I add fields to my images to add things like a medium or image dimensions?

<perch:exsist id="dimensions"><b>Size:</b> <perch:gallery id="dimensions" type="text" label="dimensions" /></perch:exsist>

This should help with sizes

<perch:gallery id="image" type="image" key="small" width="640" height="360" crop="true" />
<perch:gallery id="image" type="image" key="main"  width="1280" height="720" />
<perch:gallery id="image" type="image" key="thumb" width="160" height="160" density="2" crop="true" />

Also, Is there a way to make the Album Title, Image Title the page title?

b lewis

b lewis 0 points

Under the 'Listing all Albums' there is a 'Slug' and I can't figure out how to change it.

I got my image sizes down, that's not what I need.

What I need is to add more fields to the image details, so I can add more than just a description and title.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You should be able to add those to the image.html template within Gallery.