[TYPO3-english] ext chgallery with multiple pages doesn't show filename in singleview
Loek Hilgersom
hilgersom at xs4all.nl
Wed Aug 26 16:05:04 CEST 2009
Hi,
I've configured chgallery to show (small) pictures over multiple pages, with a
singleview using pmkslimbox. All works well, except 1 thing: when you browse the
images in the lightbox, the lightbox stops showing the title (or filename) as
soon as you arrive at an image that was displayed on a different page in the
gallery view then the page on which you started.
See my TS below.
Is there a way to get this right?
Thanks,
Loek
plugin.tx_chgallery_pi1 {
gallery {
renderAllLinks = 1
renderAllLinks {
title.field = tx_chgalleryTitle // tx_chgalleryFilename
parameter.override.cObject = IMG_RESOURCE
parameter.override.cObject.file {
import.field = tx_chgalleryImageLong
maxW = 800
maxH = 600
}
ATagParams = rel="lightbox"
ATagParams.override = rel="lightbox[sb{field:uid}]"
ATagParams.insertData = 1
}
## Adds lightbox
image {
file {
maxW = 140
maxH = 110
}
imageLinkWrap = 1
imageLinkWrap {
enable = 1
typolink {
title.field = tx_chgalleryTitle // tx_chgalleryFilename
parameter.override.cObject = IMG_RESOURCE
parameter.override.cObject.file {
import.data = TSFE:lastImageInfo|origFile
maxW = 800
maxH = 600
}
# used lightbox is pmkslimbox
ATagParams = rel="lightbox"
ATagParams.override = rel="lightbox[sb{field:uid}]"
ATagParams.insertData = 1
}
}
}
}
single.image < .gallery.image
}
More information about the TYPO3-english
mailing list