HTML Logo by World Wide Web Consortium (www.w3.org). Click to learn more about our commitment to accessibility and standards.

Moving forward with Composr

ocPortal has been relaunched as Composr CMS, which is now in beta. ocPortal 9 will be superseded by Composr 10.

Head over to compo.sr for our new site, and to our migration roadmap. Existing ocPortal member accounts have been mirrored.


Background on logo image

Login / Search

 [ Join | More ]
 Add topic 
Posted
Rating:
#24877 (In Topic #5891)
Avatar

Community saint





Good afternoon,

uploaded a logo image using manage themes/images
has no background.

displays like this on the front page:

logo_bad


but when I go to edit the thing in the admin zone, it displays properly without the yellow background:

logo_ok


What did I do wrong ??

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#24878
Avatar

Try holding Ctrl+Alt+Shift down and refreshing the page.

Back to the top
 
Posted
Rating:
#24880
Avatar

Community saint

Emptying the cache is the first thing I tried.
Actually, it's the good image, but somehow it adds a yellowish background to it.
Does the same in image of the day block, if iotd has transparent background, it adds the yellowish thing around it as well.
Looks like it doesn't like transparent backgrounds.
Funny thing is, it doesn't do it everywhere.
The one on the first image is the same as the second one, just doesn't display the same when in different zones.

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#24881
Avatar

Community saint

Its a problem with IE it has trouble reading png files. I had to change my logo to .gif to get it to show up correctly.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24882
Avatar

Community saint

will change the thing to gif and give it a try.
thx  :thumbs:

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#24883
Avatar

Community saint

Your welcome.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24884
Avatar

Community saint

Changing it to gif works.
Quality isn't as good, though, pity.

Still doesn't explain why the same image displays two different ways depending on where you view it on the site.
Surely that shouldn't be.

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
Posted
Rating:
#24887
Avatar

Community saint

I know what you mean how ever I looked into that.
What I think is when viewing it in the admin zone its rendered though a different engine and not though IE's render engine.

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24888
Avatar

There's a hack in ocPortal to force IE to render PNG transparency properly, and this isn't being applied here.

Change line 14 of TOP.tpl from:

Code

<img usemap="#logomap" src="{LOGOURL*}" title="{HEADER_TEXT*}" alt="{HEADER_TEXT*}" />
To:

Code

<img usemap="#logomap" class="blend" src="{LOGOURL*}" title="{HEADER_TEXT*}" alt="{HEADER_TEXT*}" />

Back to the top
 
Posted
Rating:
#24890
Avatar

Community saint

I think I will incorporate that in my skins thanks phillip.
 

I run http://otakuplayground.com and am hopping to make themes and other things for ocportal even though I no longer use it for otakuplayground.com I still love it and feel it could go far with the right help. It needs themes and needs people to advertise for it.
Back to the top
 
Posted
Rating:
#24893
Avatar

Community saint

Edited template.
Works perfectly.
 :wub:

www.precorp.fr

Last one to leave the country, please turn off the lights.
Back to the top
 
1 guests and 0 members have just viewed this: None
Control functions:

Quick reply   Contract

Your name:
Your message: