1
risto
png transparency
  • 2004/4/17 15:57

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


hhttp://www.koivi.com/ie-png-transparency/

if you look here you will fin a very nice way of adding transparency to png files in ie. I'd very much like this to work in XOOPS anyone intrested in helping out?

I'd line to make a hack that dos this on all XOOPS pages!

if you have a look here: http://www.flashjab.com/pngtest/
you can try resizing the window! quite nice effect!
anyone els intrested in getting this implemented?

2
Herko
Re: png transparency
  • 2004/4/17 17:52

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


That's something for the themes department, I think It is a cool effect indeed, if you have a theme to fit this into. How and where would you want to implement this?

Herko

3
risto
Re: png transparency
  • 2004/4/18 12:08

  • risto

  • Not too shy to talk

  • Posts: 159

  • Since: 2003/4/16


well i havent gotten to realy start thinking about how. But the thing is, then a fuction like this will need to render all htem. so I was thinking it might need to go into preferances. It woul be a function that gos deeper into XOOPS then themes.

I'm not shour about this, but that is my susspission. but you like the idea I understand.

4
davidl2
Re: png transparency
  • 2004/4/18 12:12

  • davidl2

  • XOOPS is my life!

  • Posts: 4843

  • Since: 2003/5/26


I'm very interested in this, if someone could manage to implement it into a theme.

I use a customised version of the very nice "Microwhite" style - which I've added a background image.... But it means I've had to sacrifice images on the right hand side (actually it looks good in the case of this site I'm working on)

Please keep experimenting... I'm looking forward to seeing this in action!

5
Herko
Re: png transparency
  • 2004/4/18 12:17

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


If I understand this correctly, it could be made part of the image tag code of the text santiser class. I'll post this on the dev site to see if it has any potential

Herko

6
bobdt
Re: png transparency
  • 2004/4/18 13:13

  • bobdt

  • Just popping in

  • Posts: 38

  • Since: 2003/9/11


Hi to all, I've see http://www.koivi.com/ie-png-transparency/ explain an crazy idea if we put this code in the header.php :



and in to of the footer.php the final part of the code:

$x=ob_get_contents();
ob_end_clean();
echo replacePngTags($x);

// Paste function code here or use an include to a file that contains
// the function definition inside it.
?>
is possible of this work with all the theme?

Bob in crazybranstormingmode




7
Anonymous
Re: png transparency
  • 2004/4/18 13:30

  • Anonymous

  • Posts: 0

  • Since:


I like the idea to put a tag into the santiziser and also to force the using of png ( gif has still some license problems ) and png is free usable...

Due to this every Buttonset coming with the newbb will be only have png images...


8
bobdt
Re: png transparency
  • 2004/4/18 13:41

  • bobdt

  • Just popping in

  • Posts: 38

  • Since: 2003/9/11


Yes Predator, if this code solve the trasparence problem is great, 2 days ago I0ve xoopsed an web site of an no-profit association and I've put som png in download index page but this png is in gray bg. not in trasparent mode like that is made.

With this code is realy work properly the png are will be ok for all the theme.

Bob

9
Herko
Re: png transparency
  • 2004/4/18 15:00

  • Herko

  • XOOPS is my life!

  • Posts: 4238

  • Since: 2002/2/4 1


the issue here is that transparancy support for png in mozilla and other browsers isn't a problem, only for MSIE is this 'workaround' nessecary. This means that this code should only be activated when the user is using MSIE as it's brwoser, not when I'm looking at the page in my mozilla browser...

Herko

10
bobdt
Re: png transparency
  • 2004/4/18 15:06

  • bobdt

  • Just popping in

  • Posts: 38

  • Since: 2003/9/11


Ok, is only for ie but can create problem this code if is read from mozilla browser?

Login

Who's Online

386 user(s) are online (278 user(s) are browsing Support Forums)


Members: 0


Guests: 386


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits