Jump to:

7935 Posts in 1536 Topics by 943 members

DataObjectManager Module

SilverStripe Forums » DataObjectManager Module » support of transparancy/pngs

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 422 Views
  • hi-tech
    Avatar
    Community Member
    9 Posts

    support of transparancy/pngs Link to this post

    Hi!

    The whole ImageGallery thing looks really good to me! But we have a mass of pngs with transparent backgrounds, which I want some stuff members to upload in SS. I found out, that in the standard SS installation, files are uploaed untouched, e. g. as png (although when making icons of them, the original background of the picture is stretched to a rectangle with the sides filled white instead of keeping them transparent). However, DataObjectManger transforms my pics to jpgs.
    But pngs are absolutely necessary for my purpose. So is there any workaround to get them work??

    Thx!!

  • lerni
    Avatar
    Community Member
    80 Posts

    Re: support of transparancy/pngs Link to this post

    are you using fancybox?
    could it be related to jquery.pngFix.pack.js? you can set a different "Popup style" to check if this is the case.

  • hi-tech
    Avatar
    Community Member
    9 Posts

    Re: support of transparancy/pngs Link to this post

    Thx for your reply, lerni!

    I just messed it up. I tested it with the wrong pictures (a mass of it) from the jpg instead of the png directory... (gotta clean up my desktop right now!). So erverything works as it's supposed to.

    I'm sorry for that.

    422 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.