The album is displayed as a thumbnail for each item (but smaller as before - this may be a related problem). The click on the thumbnail anchors to https://***/index.php?id=64&galItem=137&galAlbum=38&galTag=
however, this does not show the big version of the image (as an inlet to the page). Instead, it displays the same page. It appears as if there is no link function at all, where in fact the link is followed, only the contents is identical to https://***/index.php?id=64. In other words, galItem=137&galAlbum=38& are ignored. The connector to prettyPhoto seems to be lost.
The gallery is inserted in the main template in a specific area with:
None of these, written in the resource shows anything. It is as if not a single album exists.
I checked it out in the network section of browsers debug console, and the only thing that shows something is the link https://***/assets/components/gallery/connector.php?action=web/phpthumb&ctx=web&w=200&h=200&zc=1&far=C&q=90&src=%2F***2%2Fassets%2Fgallery%2F6%2F11.jpg
but this is only because the position of the file is explicitly given.
A possible explanation is that the SQL which retrieves the album/item information fails for syntactical reasons.
In the pull request that I linked in your last topic, did you copy all 8 files to your system? Especially the file core/components/gallery/model/gallery/galalbum.class.php?
This code is wrong. [[!Gallery? &toPlaceholder=`gallery`]] → You never output the placeholder [[!+gallery]]. [[!GalleryItem]] → this will set the properties of the Item to placeholders that are never output.
Use the code from the examples I linked above or maybe use something like this
shows a larger version of the image. The click on the larger images leads to https://***/assets/components/gallery/connector.php?action=web/phpthumb&ctx=web&w=0&h=0&zc=0&far=&q=90&src=%2F***2%2Fassets%2Fgallery%2F6%2F11.jpg
which display the image on its own.
is supposed to show the gallery. It shows thumbnails smaller than before, but worse, the click on it does nothing at all. As I said, it calls https://***/index.php?id=64&galItem=137&galAlbum=38&galTag= which does not show the item but simply the page again. There are two options: either the generated link is not correct or the link is correct and it does not show the image.
Before the update, there were thumbnails for each item of an gallery. After a click on a picture, the original, large version of the image is shown with the caption below it. Unfortuantely, I don’t have the old page running to get more details. I do not know all details how it worked because I didn’t program it.
The caption gets put into the placeholder [[+galitem.description]]. So if you add this placeholder to the example code then you should see the description.
For other available placeholders please read the documentation.
If there is no call to [[!GalleryItem]] then there should be at least a call to [[!Gallery? ...]]. Can you post the whole content of the page that relates to the gallery?
It seems to half-work in the template (it shows the thumbnail) but not directly in the resource.
I’d be happy when I had a running version of gallery code, which resides directly in the resource, shows the thumbnail, and upon click opens the image with description.
From there on I would try to move it to the template (important) and couple it with prettyPhoto (maybe not essential). The template has the variable, whether to show the gallery, and this is set for ~50 pages.
The value of the TV “gallerieauswaehlen” defines the album where the images are loaded from.
But according to the documentation there is no property &width. Maybe try changing that property to &thumbWidth instead.
This adds the rel="prettyPhoto[...]" to match the JS code ($("... a[rel^='prettyPhoto']").prettyPhoto(...)) and title="[[+description]]" to show the description in the lightbox.
The placeholder [[+image_absolute]] links to the original image.
Maybe use [[+image]] instead (and define the different properties like &imageWidth, &imageHeight etc.) if you want to show a smaller image.