We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 2306
    • 7 Posts
    Hello, community!

    I would like to ask if it is possible to use a custom border (based on images) for the thumbnails. I have noticed that there is a dropshadow folder which has the images, but it seems that Maxigallery (0.5.2) does not use it. I verified it by removing the folder but the shadow is still shown. So, does anyone know how to use an images and have a custom border around thumbnail, cause the shadow does not suit our UI.

    Thanks a lot,

    Tair

    P.S> See attached image of the sample border.

      • 2472
      • 151 Posts
      AFAIK the border around the thumbnails in MaxiGallerie is ’part’ of the thumbnail image. Just display one of those thumbnails ( tn_some_image.jpg) in a viewer to see what I mean.

      I guess you can provide your own border using css for instance if you disable the ’border’ parameter in the snippet call... My snippet call looks like this:

      [tt]!MaxiGallery? &pics_in_a_row=`3` &max_thumb_size=`110` &max_pic_size=`600` &keep_bigimg=`1` &big_img_linkstyle=`slidebox` &big_use_watermark=`1` &big_watermark_txt=`[(site_name)]` &big_watermark_txt_color=`33CDFF` &thumb_use_dropshadow=`1` &thumb_use_watermark=`1` &thumb_watermark_txt=`[(site_name)]`!][/tt]

      The shadow is controlled by &thumb_use_dropshadow=`1`


        A thing of beauty is a joy forever ( John Keats)
        • 2306
        • 7 Posts
        Thanks for a quick reply. Unfortunately your snippet call does not work in my case. I still have the shadow on the thumb. Is it something to do with slimbox view I am using?
          • 20349 ☆ A M B ☆
          • 453 Posts
          Quote from: AssimovT at Jul 04, 2007, 05:26 AM

          Thanks for a quick reply. Unfortunately your snippet call does not work in my case. I still have the shadow on the thumb. Is it something to do with slimbox view I am using?

          can you write your call?
          P.S. check if you replaced the right image wink
            BASE - Web Design Studio
            MODX Ambassador

            Website
            • 7923
            • 4,213 Posts
            The shadow is done to the images on upload. It won’t disappear until you re-upload the image. You can change the dropshadow images to be what ever you want, maxigallery will use them.


              "He can have a lollipop any time he wants to. That's what it means to be a programmer."
              • 2306
              • 7 Posts
              Thanks for your help! I did not realize that the changes affect only the newly uploaded images. Now it works, and I am using a border as I wished.

              Cheers,

              Tair.