Show title under photo in photoalbum

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JabirA
    Member
    • Apr 2012
    • 80
    • 4.1.x

    [Forum] Show title under photo in photoalbum

    Hello all,

    I made a photoalbum and uploaded pictures in it. My question is: Can I show the imagetitle under the picture in the overview of the album?

    I hope you understand.

    Thank you.

    Kind regards
  • Lynne
    Former vBulletin Support
    • Oct 2004
    • 26255

    #2
    It looks like you need to edit the album_picturebit template and change "picture.title" to "picture.caption_preview" in the second line and then add to additional.css:
    #thumbnails li .picturetitle {display:block;}

    (may want to also add width:90% )

    Please don't PM or VM me for support - I only help out in the threads.
    vBulletin Manual & vBulletin 4.0 Code Documentation (API)
    Want help modifying your vbulletin forum? Head on over to vbulletin.org
    If I post CSS and you don't know where it goes, throw it into the additional.css template.

    W3Schools <- awesome site for html/css help

    Comment

    • JabirA
      Member
      • Apr 2012
      • 80
      • 4.1.x

      #3
      So far it works Lynne! Thank you.
      Can you tell me exactly how to add the "90%"? I am sorry...still learning to understand everything.

      Comment

      • Lynne
        Former vBulletin Support
        • Oct 2004
        • 26255

        #4
        If it works fine, you shouldn't need to add the 90%. I just thought the title may go outside the window so I thought you might want to limit it. If you do want to try it, just add it to the CSS you already added:

        #thumbnails li .picturetitle {display:block; width:90% }

        Please don't PM or VM me for support - I only help out in the threads.
        vBulletin Manual & vBulletin 4.0 Code Documentation (API)
        Want help modifying your vbulletin forum? Head on over to vbulletin.org
        If I post CSS and you don't know where it goes, throw it into the additional.css template.

        W3Schools <- awesome site for html/css help

        Comment

        • JabirA
          Member
          • Apr 2012
          • 80
          • 4.1.x

          #5
          Yeah it is fine. But I was curious what the 90% would do. Just in case.
          I will leave it like this, If I encounter problems I will report them here.

          Thank you very much for your help !

          Comment

          • Nyenius
            New Member
            • Jun 2012
            • 5
            • 4.0.x

            #6
            Originally posted by JabirA
            Yeah it is fine. But I was curious what the 90% would do. Just in case.
            I will leave it like this, If I encounter problems I will report them here.

            Thank you very much for your help !
            AFAIK, it's to prevent the width of the 'picture box' goes wild one to another.

            To be safe, I set the caption preview length to 50 (in user profile:album option).

            Comment

            • John Lester
              Senior Member
              • Jul 2000
              • 412
              • 4.1.x

              #7
              Thanks Lynne I was wondering if there was a way to do this myself
              BrainTalk is a support group for friends, family, caregivers, and patients with neurological disorders and other health related diagnosis.

              BrainTalk Communities Inc
              sigpic

              Comment

              widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
              Working...