Hi all,
I am currently creating a website for a client and they have asked to have a gallery functionality on some of the pages. To achieve this, I am using Lightbox by Lokesh Dhakar.
Is there a way, using Couch, to make two sizes of a single image? In this example, I need a thumbnail 270 x 270 and a large version of the image that is shown when the visitor/user clicks the thumbnail (approximately 1000 x 1000).
My code for the gallery:
I am currently creating a website for a client and they have asked to have a gallery functionality on some of the pages. To achieve this, I am using Lightbox by Lokesh Dhakar.
Is there a way, using Couch, to make two sizes of a single image? In this example, I need a thumbnail 270 x 270 and a large version of the image that is shown when the visitor/user clicks the thumbnail (approximately 1000 x 1000).
My code for the gallery:
- Code: Select all
<cms:repeatable name='gallery'>
<cms:editable type='image' name='image' crop='1' width='270' height='270' label='Image' />
<cms:editable type='text' name='camption' label='Caption' />
</cms:repeatable>