Forum

Thread tagged as: Question

Buckets for every page

I am using an image-template in a page template, what means I reuse the same template in many pages. How can I define a unique bucket for every page? E.g. images from «favourites» should go into the bucket «favourites». The image-template I am using is very simple:

<img src="<perch:content type="image" id="image" label="Image"  />" alt="<perch:content type="text" id="alt" />" />

Thanks for your help!

Martin Stettler

Martin Stettler 0 points

  • 4 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

There's no way to do that. What's the use case where this would be desirable?

It's a photographer's website. For each topic there is a photo page using the same structure. It would be easier to handle over 150 images if they were in different buckets.

Drew McLellan

Drew McLellan 2638 points
Perch Support

You shouldn't need to handle the images manually - the CMS does that.

My experience is that they all go into the default bucket. The only structure that would help is to give each image a tag. Is it that what you mean?

Drew McLellan

Drew McLellan 2638 points
Perch Support

What problem are you experiencing?

It's not a problem, just looking for more convenience. It's fine, I'll do it for the moment with tags.