Actions
Bug #72779
closedLightbox : grouping images
Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid Styled Content
Target version:
Start date:
2016-01-17
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
lightbox
Complexity:
easy
Is Regression:
No
Sprint Focus:
On Location Sprint
Description
Normaly the rel attribute is used (imho not the best way, but doesn't matter here) for grouping images that should be show in a lightbox
The "old" "css_styled_content" works with this TypoScript:
tt_content.image.20.1.imageLinkWrap.linkParams.ATagParams.dataWrap = class="lightbox" rel="lightbox{field:uid}"}]"
The field:uid contains the UID from the TCE, so all images get the same uid by the TCE
Now this contains "fluid_styled_content":
lib.fluidContent.settings.media.popup.linkParams.ATagParams.dataWrap = class="lightbox" rel="lightbox[{field:uid}]"
at the first look it should be the same, but the field:uid contains the page id, so all images at on page get the same id and grouping the images is impossible.
Im not sure, but it should be somthing like this:
lib.fluidContent.settings.media.popup.linkParams.ATagParams.dataWrap = class="lightbox" rel="lightbox[{data:uid}]"
At the long term: to use the data attribute like 'data-lightbox' is imho the better way to get a relation between the images, the rel attribute is for logical relations.
Actions