I have created an image gallery which is working fine. But I wish the user to be able to click on the image and the image open in a new page with a larger image and captions.
I thought I could do this by applying a paint layout to an image.
I cannot find how to do this.
Is there a better way to achieve this??
[quote]I have created an image gallery which is working fine. But I wish the user to be able to click on the image and the image open in a new page with a larger image and captions.
I thought I could do this by applying a paint layout to an image.
I cannot find how to do this.
Is there a better way to achieve this??[/quote]
Eric,
Did you ever get this working? I have a solution for my gallery…
We usually do this with multiple asset listings. Asset Listing A lists all the images (gallery layout) and each image is linked to Asset Listing B that has the same configuration, except it only lists 1 asset per page. You then link from Asset Listing A's Type Format bodycopy to Asset Listing B that "lists" a single image.
You can do this by using the URL parameter <asset listing B assetid>_result_page=%asset_position% when you build the URL to Asset Listing B. Essentially, the assets listed by A are in the same order as B. So A is telling B which "page" to display.
Does that make sense?
The reason Paint Layouts don't work for images is because once they are live with public read permission, they are served directly by Apache, so Matrix can't do anything to them.
This is the way I do it on my gallery, and was going to suggest this.
Thanks for beating me to it Avi! :)