We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 8895
    • 76 Posts
    for some reason the title of the thumbnails wont show properly.
    it shows like this:
    [IMAGE]
    image 1

    [IMAGE]
    image
    2

    *and sometimes*
    [IMAGE]
    image *<- only shows half of this ’e’ *
    3

    i think its because the paragraph isnt wide enough, but aparently the width of the paragraph is set dynamicly undecided

    can someone tell me how i can set the paragraph to be as wide as the thumb?

    thanks for your help grin
      • 7923
      • 4,213 Posts
      The width of the div should be set to the thumbnail width by default.. Do you perhaps have some other css in your site template that is messing it up?

      In gallerypicturetpl there is:
      		<p style="width: [+maxigallery.picture_width_thumb+]px;">
      		[+maxigallery.picture.title:htmlent+]
      		</p>
      

      And the width to that placeholder is taken via getimagesize. Is the width value wrong if you check it from the html source of the rendered page?


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 8895
        • 76 Posts
        the width varies between 97px and 100and something
        i havent got any css set for images in a undefined div

        yet i think that ure indication should help
        is it placed in the maxigallery.php?

        ill have a look and post a feedback asap

        cheers again grin
          • 7923
          • 4,213 Posts
          No, it’s in the template /assets/snippets/maxigallery/templates/gallerypicturetpl.html


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."
            • 8895
            • 76 Posts
            all workin fine now grin
            cheers for your help!