Results 1 to 2 of 2

Thread: colorbox captions

  1. #1
    New user
    Join Date
    07-16-09.
    Posts
    29

    Default colorbox captions

    Hi there,

    I use the JQuery script Colorbox to open bigger versions of images. Colorbox is also used to generate image galleries. The nice thing is that in image galleries the meta information (Caption) that is filled-in in the File Manager is automatically placed above the bigger version of the image.

    But that is not the case when you use Colorbox on a single image. The meta information is not displayed by Colorbox. Why? And is there a way to do it?

    Just

  2. #2
    User Andreas's Avatar
    Join Date
    07-11-09.
    Location
    Mönchengladbach
    Posts
    499

    Default

    Unfortunately the meta data is not supported in the single image element and also not in the single download element. There are some tickets regarding to this with feature requests. Some are sadly closed.

    Test with $this->showTemplateVars() to proof if I'm right.

    https://github.com/contao/core/issues/6711
    Web-Development, Freelancer, Burgtech, XHTML, HTML5, CSS, PHP, Javascript, MooTools, MySQL and more
    Amazon wishlist

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •