Results 1 to 10 of 10

Thread: Question mark in lightbox

  1. #1
    User
    Join Date
    08-09-09.
    Location
    Zwolle, The Netherlands
    Posts
    73

    Default Question mark in lightbox

    When I use a question mark in the alt text/descriptive text for the lightbox image, the picture won't work anymore. It just displays a thumbnail, but not the large picture. How should I enter question marks?
    I am using TL 2.7.6, which is kind of old. I don't know if the problem lies there.

  2. #2
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Question mark in lightbox

    You could test it out in the 2.9.1 demo here to see if the issue still occurs. If so, you could submit this as a bug report.

  3. #3
    User
    Join Date
    08-09-09.
    Location
    Zwolle, The Netherlands
    Posts
    73

    Default Re: Question mark in lightbox

    Thanks for your answer. I tried it in the 2.9.1 demo, and the problem still occurs.

  4. #4
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Question mark in lightbox

    Did you submit a ticket?

  5. #5
    User
    Join Date
    08-09-09.
    Location
    Zwolle, The Netherlands
    Posts
    73

    Default Re: Question mark in lightbox

    Yes, I just submitted a ticket. It seems a little odd to me that nobody else has encountered this problem, but I couldn't find any previous references to it.

  6. #6
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Question mark in lightbox

    I just tested and I have no problems adding an Image CE and using alt text of "image?". The lightbox worked fine. What CE and what moo template are you using?

  7. #7
    User
    Join Date
    08-09-09.
    Location
    Zwolle, The Netherlands
    Posts
    73

    Default Re: Question mark in lightbox

    I added this:

    {{image::tl_files/music_academy/campus/campus_building.jpg?height=120&alt=This image?&mode=crop&rel=lightbox}}

    to an article on this page:

    http://demo.contao.org/impressions.html

    It only displays the thumbnail, but the lightbox doesn't work for me.

  8. #8
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Question mark in lightbox

    Oh, so you're using the {{image}} insert tag. Based on the syntax, it makes sense that there would be a problem. Have you tried putting the alt text in quotes?

  9. #9
    User
    Join Date
    08-09-09.
    Location
    Zwolle, The Netherlands
    Posts
    73

    Default Re: Question mark in lightbox

    Apologies, I was making an entire image gallery by hand with the {{image}} insert tag, not knowing there was a handy little Gallery tool. I have the gallery element point to a directory, inserted a meta.txt file and everything works fine now, question marks and all.
    It's all so simple when you know the proper solution. I should probably withdraw the ticket I submitted, no?

    Quotes didn't work on the {{image}} insert tag, btw.

  10. #10
    Experienced user
    Join Date
    06-10-09.
    Location
    Atlanta, Georgia
    Posts
    611

    Default Re: Question mark in lightbox

    Glad you got it worked out. I would leave the ticket. Leo can decide if he wants to accept or delete it.

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
  •