[TYPO3] hl dam gallery
Lukas Mattsson
lukas at antroposofi.info
Fri Feb 15 11:41:29 CET 2008
I had a similar problem, where the ###GALLERY_IMAGE### template part
just yielded an empty img tag. The problem is that the sql query that is
supposed to return image information returns zero rows because wrong
field is requested.
I solved the problem by editing pi1/class.tx_hldamgallery_pi1.php
Change row #94: ' and tx_dam_mm_ref.sorting = ' . $imageOrderID, '', '',
'');
To: ' and tx_dam_mm_ref.sorting_foreign = ' . $imageOrderID, '', '', '');
Best regards, Lukas Mattsson
dave typo skrev:
> I need some help with hl dam gallery.
>
> My thumbnails of dam - referenced images do not correspond to the
> correct single view page.
>
> For example, I have images
>
> a
> b
> c
> d
>
>
> which are squared thumbnails on a page (dam-referenced images).
>
> When a user clicks on image a they are led to a single-view page
> featuring image d. Image b and c are referenced correctly.
>
> When a user clicks on image d, they are led to a single view page of image a.
>
> when I have fewer images, say 2 or three, no image replaces the
> ###GALLERY_IMAGE### template part.
>
> I have no idea why this isnt working.
>
> anyone have an idea
>
> *I have copied the author
>
> thank you
>
> -dave
More information about the TYPO3-english
mailing list