This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

stas.pih14582
stas.pih14582

Prompt please plugin or method output images page of any order from the collection. For example, I have five pictures, and need a 4th, on another page needs third. Thank you.

Crazymodder
Crazymodder

Simply write a component where you set a limit. So you can change in the component how many pictures should be fetched:)

stas.pih14582
stas.pih14582

Sorry for my English. But I meant not the quantity but the image number. I have a collection of 5 images. I need to bring a picture number 3. How?

Crazymodder
Crazymodder

You can do this with component too. You can make a property called image_id or somethink and only return this image. Alternativly you can also give back an array with all your images and simply access it by

$images[3];

1-4 of 4

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.