We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6531
    • 154 Posts
    I tried creating a png with transparency, but it didn’t work -- result was all black image.

    Is there any way to get this to work? I’d like to use transparency and add a white frame around the thumbnails -- I thought black around the edges, a white frame, and transparent in the middle (the hole for the image) -- but it didn’t work.

    what is the proper way to create an image mask? some of the demos have blue bits -- but they come out like a grey watermark.

    is the imagemask just converted down to a greyscale overlay?

    thanks
      • 7923
      • 4,213 Posts
      Have you looked at the example image masks in assets/snippets/maxigallery/imagemask/ ?

      This mask for example does this kind of masking. So transparency is not needed, white in the image mask is "transparent" area that shows the image.


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 6531
        • 154 Posts
        Yes, doze, I’ve tried that kind of basic black/white masking, and it works.

        But I was hoping I could use ’true’ alpha channel, to allow the mask to include a colored border around the image.

        E.g., some of the demo masks have a blue ’mac’ graphic -- which comes out grey, not blue.

        thanks
          • 7923
          • 4,213 Posts
          Only solid gray scale masks are supported, sorry.


            "He can have a lollipop any time he wants to. That's what it means to be a programmer."