Add the following lines on your TypoScript Setup if you want to change the width or height from the original images
Property: | Data type: | Description: |
|---|---|---|
imageLightbox2maxW | int | max height of the image Example: tt_content.image.20.1.file.imageLightbox2maxW = 460 This example shows the original image with max width 460 |
imageLightbox2maxH | int | max height of the image Example: tt_content.image.20.1.file.imageLightbox2maxH = 460 This example shows the original image with max height 460 |
saveImageShow | boolean | Show saveimage icon 1/0 Example: tt_content.image.20.1.file.saveImageShow = 1 |
printImageShow | boolean | Show printimage icon 1/0 Example: tt_content.image.20.1.file.printImageShow = 1 |
presentMode | boolean | Show presentationmode Example: tt_content.image.20.1.file.presentMode = 1 |
Property: | Data type: | Description: |
|---|---|---|
imageLightbox2 | boolean | Activate the imagelightbox |
imageset | string | Name of the imageset |
caption | string | Imagecaption |
saveImageShow | boolean | Show saveimage icon 1/0 |
printImageShow | boolean | Show printimage icon 1/0 |
presentMode | boolean | Show presentationmode 1/0 |
Example:
page.20 = IMAGE
page.20 {
file = typo3temp/pics/92155cb1ea.jpg
imageLightbox2 = 1
imageLightbox2.imageset = myImgSet
imageLightbox2.caption= I am a imagecaption
imageLightbox2.saveImageShow = 1
imageLightbox2.printImageShow = 1
imageLightbox2.presentMode = 1
}
page.30 < .page.20
page.30.file = typo3temp/pics/0ef7e23f2a.jpg
page.30.file.imageLightbox2.caption= I am another imagecaption
page.30.imageLightbox2.printImageShow = 0
page.30.imageLightbox2.presentMode = 1