+ Reply to Thread
Results 1 to 5 of 5

Thread: black background in png image???

  1. #1

    black background in png image???

    Dear Flynax Dev.,

    I have a problem with gallery image. In 4.6.1, if I upload a png image with transparent.

    In listing list: thumbnail image of listing shows image with transparent background, which is good. But when I click it. The image in listing detail show black background instead of transparent. How do I fix it so that it show transparent just like the thumbnail.

    Thanks

  2. #2
    Hello Wei Hong,

    Would you please show us screenshots where do you see black background?
    Viktor,
    Flynax technical department,
    Best wishes.

  3. #3
    Hi Viktor,

    Black background in listing detail page.
    In listing list you can see transparent background
    Screen Shot 2018-02-23 at 11.13.32 PM.jpg


    But in listing detail page it is black.
    Screen Shot 2018-02-23 at 11.13.42 PM.jpg

    You can reproduce it on flynax demo using any transparent background image

  4. #4
    Flynax developer Rudi's Avatar
    Join Date
    Dec 2014
    Location
    Planet Earth
    Posts
    3,174
    Hello,

    It will be corrected in the next update,

    until then, go to ftp > includes > classes > rlResize.class.php > find _resize($numWidth, $numHeight) > then find case 'image/png'

    change:
    PHP Code:
    Only registered members can view the code
    to:
    PHP Code:
    Only registered members can view the code

  5. #5
    Thanks Rudi.

+ Reply to Thread