Project

General

Profile

Actions

Feature #62866

closed

Add additional features to "lightbox" click enlarge link

Added by Urs Braem about 10 years ago. Updated 5 months ago.

Status:
Closed
Priority:
Won't have this time
Assignee:
-
Category:
Fluid Styled Content
Target version:
-
Start date:
2014-11-11
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The "Lightbox" settings in css_styled_content are very helpful.

What I've been missing was the possibility to add e.g. the image's caption (file:current:description) to the lightbox link.

I added it as such:

tt_content.image.20.1.imageLinkWrap.linkParams.ATagParams.dataWrap =  class="{$styles.content.imgtext.linkWrap.lightboxCssClass}" rel="{$styles.content.imgtext.linkWrap.lightboxRelAttribute}" title="{file:current:description}" 

Now this could be either made a setting (lighbox link title), or simply combine all that into one constant, e.g.

class="lightbox" rel="lightbox[{field:uid}]" title="{file:current:description}"

so it can be edited directly, to avoid bloated constant lists.

Actions #1

Updated by Benni Mack almost 10 years ago

  • Target version set to 7.2 (Frontend)
Actions #2

Updated by Benni Mack over 9 years ago

  • Target version changed from 7.2 (Frontend) to 7.4 (Backend)
Actions #3

Updated by Susanne Moog over 9 years ago

  • Target version changed from 7.4 (Backend) to 7.5
Actions #4

Updated by Benni Mack about 9 years ago

  • Target version changed from 7.5 to 8 LTS
Actions #5

Updated by Riccardo De Contardi over 7 years ago

  • Target version changed from 8 LTS to 9.0
Actions #6

Updated by Susanne Moog about 7 years ago

  • Category changed from Content Rendering to Frontend
Actions #7

Updated by Susanne Moog about 7 years ago

  • Category changed from Frontend to Fluid Styled Content
Actions #8

Updated by Susanne Moog almost 7 years ago

  • Target version deleted (9.0)
Actions #9

Updated by Georg Ringer 5 months ago

  • Status changed from New to Closed
  • Priority changed from Could have to Won't have this time

Hey Urs,

thanks for creating this issue. As there are so many different lightbox variants and this is rather something an integrator needs to tackle I am closing this issue.

hope this is fine for you, otherwise feel free to contact me via slack to discuss it!

Actions

Also available in: Atom PDF