Png jpg logo

Is there some limitation somewhere that is causing RT to not display a
logo that is either JPEG or PNG? If I save the same image as GIF, it
renders in the browser. This is so odd to me.

David Smithson
ActivSupport, Inc.
Your Flexible IT Partner
Microsoft Gold Partner – Small Business Specialist

Director of Technical Services
Direct: (415) 869 2991
Technical Support Hotline: (415) 979 9285
CLICK HERE FOR ONLINE SUPPORT

Where are you putting it?On Tue, Aug 15, 2006 at 10:43:05PM -0700, David Smithson wrote:

Is there some limitation somewhere that is causing RT to not display a
logo that is either JPEG or PNG? If I save the same image as GIF, it
renders in the browser. This is so odd to me.

David Smithson


ActivSupport, Inc.
Your Flexible IT Partner
Microsoft Gold Partner – Small Business Specialist
http://www.activsupport.com
Director of Technical Services
Direct: (415) 869 2991


Technical Support Hotline: (415) 979 9285
CLICK HERE FOR ONLINE SUPPORT


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Source looks like this:

ActivSupport, Inc.

That file definitely exists and is readable. I’m missing something
simple. Mind degenerating quickly. That potion of Enlightenment is
around here somewhere.

David Smithson

CLICK HERE FOR ONLINE SUPPORT-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Tuesday, August 15, 2006 10:43 PM
To: rt-users@lists.bestpractical.com
Subject: [rt-users] PNG JPG LOGO

Is there some limitation somewhere that is causing RT to not display a
logo that is either JPEG or PNG? If I save the same image as GIF, it
renders in the browser. This is so odd to me.

David Smithson
ActivSupport, Inc.
Your Flexible IT Partner
Microsoft Gold Partner – Small Business Specialist

Director of Technical Services
Direct: (415) 869 2991
Technical Support Hotline: (415) 979 9285
CLICK HERE FOR ONLINE SUPPORT

http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

Full path is /opt/rt3-dev/share/html/NoAuth/images/activlogo2006.png.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: Todd Chapman [mailto:todd@chaka.net]
Sent: Tuesday, August 15, 2006 11:04 PM
To: David Smithson
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

Where are you putting it?

Apache error_log doesn’t complain, access_log shows that the file is
being accessed: “GET /NoAuth/images/activlogo2006.png HTTP/1.1”.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Tuesday, August 15, 2006 11:01 PM
To: Todd Chapman
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

Full path is /opt/rt3-dev/share/html/NoAuth/images/activlogo2006.png.

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: Todd Chapman [mailto:todd@chaka.net]
Sent: Tuesday, August 15, 2006 11:04 PM
To: David Smithson
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

Where are you putting it?

The media browser in Firefox’s page info shows the type as: text/html,
when it should be image/png. Don’t know if this is interesting or not.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: David Smithson
Sent: Tuesday, August 15, 2006 11:12 PM
To: David Smithson; Todd Chapman
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

Apache error_log doesn’t complain, access_log shows that the file is
being accessed: “GET /NoAuth/images/activlogo2006.png HTTP/1.1”.

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Tuesday, August 15, 2006 11:01 PM
To: Todd Chapman
Cc: rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

Full path is /opt/rt3-dev/share/html/NoAuth/images/activlogo2006.png.

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: Todd Chapman [mailto:todd@chaka.net]
Sent: Tuesday, August 15, 2006 11:04 PM
To: David Smithson
Cc: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

Where are you putting it?

The media browser in Firefox’s page info shows the type as:
text/html, when it should be image/png. Don’t know if this is
interesting or not.

My first reaction is that this means the webserver doesn’t recognize
the .png extension as indicating that it should be served as image/png,
and it’s defaulting to serving it as text/html instead.

If you fetch it manually, with wget or curl or their ilk, does it come
back as image/png, or text/html?

/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B

If I grab something like
http://rtdev.activsupport.com/NoAuth/images/css/dark-arrow.png it
displays as expected.

If I grab http://rtdev.activsupport.com/NoAuth/images/activlogo2006.png,
I get a verbose error from Mason. It seems to be trying to execute the
PNG.

I also confirmed that it has nothing to do with the css/ path, as
expected.

Baffled.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of der Mouse
Sent: Tuesday, August 15, 2006 11:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

The media browser in Firefox’s page info shows the type as:
text/html, when it should be image/png. Don’t know if this is
interesting or not.

My first reaction is that this means the webserver doesn’t recognize
the .png extension as indicating that it should be served as image/png,
and it’s defaulting to serving it as text/html instead.

If you fetch it manually, with wget or curl or their ilk, does it come
back as image/png, or text/html?

/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

If I scopy the same image to another Apache server ( no Mason ), I can
view the PNG through Apache. Why is Mason trying to interpret this PNG?
pulling hair out throwing stuff at cat

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Wednesday, August 16, 2006 12:05 AM
To: der Mouse; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

If I grab something like
http://rtdev.activsupport.com/NoAuth/images/css/dark-arrow.png it
displays as expected.

If I grab http://rtdev.activsupport.com/NoAuth/images/activlogo2006.png,
I get a verbose error from Mason. It seems to be trying to execute the
PNG.

I also confirmed that it has nothing to do with the css/ path, as
expected.

Baffled.

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of der Mouse
Sent: Tuesday, August 15, 2006 11:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

The media browser in Firefox’s page info shows the type as:
text/html, when it should be image/png. Don’t know if this is
interesting or not.

My first reaction is that this means the webserver doesn’t recognize
the .png extension as indicating that it should be served as image/png,
and it’s defaulting to serving it as text/html instead.

If you fetch it manually, with wget or curl or their ilk, does it come
back as image/png, or text/html?

/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I did some experimenting and found that the file size matters. I don’t
exactly know why yet. Maybe something to do with
/NoAuth/images/autohandler.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: David Smithson
Sent: Wednesday, August 16, 2006 12:31 AM
To: David Smithson; der Mouse; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

If I scopy the same image to another Apache server ( no Mason ), I can
view the PNG through Apache. Why is Mason trying to interpret this PNG?
pulling hair out throwing stuff at cat

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Wednesday, August 16, 2006 12:05 AM
To: der Mouse; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

If I grab something like
http://rtdev.activsupport.com/NoAuth/images/css/dark-arrow.png it
displays as expected.

If I grab http://rtdev.activsupport.com/NoAuth/images/activlogo2006.png,
I get a verbose error from Mason. It seems to be trying to execute the
PNG.

I also confirmed that it has nothing to do with the css/ path, as
expected.

Baffled.

David Smithson

CLICK HERE FOR ONLINE SUPPORT

From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of der Mouse
Sent: Tuesday, August 15, 2006 11:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

The media browser in Firefox’s page info shows the type as:
text/html, when it should be image/png. Don’t know if this is
interesting or not.

My first reaction is that this means the webserver doesn’t recognize
the .png extension as indicating that it should be served as image/png,
and it’s defaulting to serving it as text/html instead.

If you fetch it manually, with wget or curl or their ilk, does it come
back as image/png, or text/html?

/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com
The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

David Smithson wrote:

If I scopy the same image to another Apache server ( no Mason ), I can
view the PNG through Apache. Why is Mason trying to interpret this PNG?
pulling hair out throwing stuff at cat

David Smithson


CLICK HERE FOR ONLINE SUPPORT

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of David
Smithson
Sent: Wednesday, August 16, 2006 12:05 AM
To: der Mouse; rt-users@lists.bestpractical.com
Subject: RE: [rt-users] PNG JPG LOGO

If I grab something like
http://rtdev.activsupport.com/NoAuth/images/css/dark-arrow.png it
displays as expected.

If I grab http://rtdev.activsupport.com/NoAuth/images/activlogo2006.png,
I get a verbose error from Mason. It seems to be trying to execute the
PNG.

I also confirmed that it has nothing to do with the css/ path, as
expected.

Baffled.

David Smithson


CLICK HERE FOR ONLINE SUPPORT

-----Original Message-----
From: rt-users-bounces@lists.bestpractical.com
[mailto:rt-users-bounces@lists.bestpractical.com] On Behalf Of der Mouse
Sent: Tuesday, August 15, 2006 11:49 PM
To: rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

The media browser in Firefox’s page info shows the type as:
text/html, when it should be image/png. Don’t know if this is
interesting or not.

My first reaction is that this means the webserver doesn’t recognize
the .png extension as indicating that it should be served as image/png,
and it’s defaulting to serving it as text/html instead.

If you fetch it manually, with wget or curl or their ilk, does it come
back as image/png, or text/html?

/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com


The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I had this same problem but never found a solution other than to put the
file in a location other than the default. I believe I placed it at the
root of html/NoAuth. Even then the image was coming out all kinds of
screwed up. I ended up just creating a jpeg copy and using that instead.
Mathew Snyder

If I scopy the same image to another Apache server ( no Mason ), I can
view the PNG through Apache. Why is Mason trying to interpret this PNG?
pulling hair out throwing stuff at cat

Yes. I found an answer via google (and it was painful, as “mason” seems to
be linked with other things and not just web development). The following
gets rid of the mason handler to allow graphics to NOT be interpreted:

<Location /rt/NoAuth/images>
AddDefaultCharset UTF-8
SetHandler default-handler

This allowed everything to work… yeah, trying to find the danged reason that
the page was failing was a pain in the butt.

AlanC
| Alan Clegg, CISSP, IAM
| Hosted Solutions, Inc.
| +1-919-882-3039

Yes. I found an answer via google (and it was painful, as “mason” seems to
be linked with other things and not just web development). The following
gets rid of the mason handler to allow graphics to NOT be interpreted:

<Location /rt/NoAuth/images>
AddDefaultCharset UTF-8
SetHandler default-handler

This allowed everything to work… yeah, trying to find the danged reason that
the page was failing was a pain in the butt.

It is also mentioned here:

http://wiki.bestpractical.com/index.cgi?ApacheConfig

AlanC
| Alan Clegg, CISSP, IAM
| Hosted Solutions, Inc.
| +1-919-882-3039

If I scopy the same image to another Apache server ( no Mason ), I can
view the PNG through Apache. Why is Mason trying to interpret this PNG?
pulling hair out throwing stuff at cat

Yes. I found an answer via google (and it was painful, as “mason” seems to
be linked with other things and not just web development). The following
gets rid of the mason handler to allow graphics to NOT be interpreted:

Can you tell us what version of RT you’re working with? This is
something that should have been fixed within the RT 3.4 series, but
certainly in RT 3.6.

Jesse

3.6.1, recently upgraded from 3.6.0, which was installed clean.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: Jesse Vincent [mailto:jesse@bestpractical.com]
Sent: Wednesday, August 16, 2006 8:30 AM
To: Alan Clegg
Cc: David Smithson; der Mouse; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

If I scopy the same image to another Apache server ( no Mason ), I
can
view the PNG through Apache. Why is Mason trying to interpret this
PNG?
pulling hair out throwing stuff at cat

Yes. I found an answer via google (and it was painful, as “mason”
seems to
be linked with other things and not just web development). The
following
gets rid of the mason handler to allow graphics to NOT be interpreted:

Can you tell us what version of RT you’re working with? This is
something that should have been fixed within the RT 3.4 series, but
certainly in RT 3.6.

Jesse

<Location /rt/NoAuth/images>
AddDefaultCharset UTF-8
SetHandler default-handler

This allowed everything to work… yeah, trying to find the danged
reason that
the page was failing was a pain in the butt.

AlanC

                                       | Alan Clegg, CISSP, IAM
                                       | Hosted Solutions, Inc.
                                       |    +1-919-882-3039

The rt-users Archives

Community help: http://wiki.bestpractical.com
Commercial support: sales@bestpractical.com

Discover RT’s hidden secrets with RT Essentials from O’Reilly Media.
Buy a copy at http://rtbook.bestpractical.com

I knew I should have searched the wiki again. Thanks, Alan. This will
work fine for me.

David Smithson

CLICK HERE FOR ONLINE SUPPORTFrom: Alan Clegg [mailto:alan@clegg.com]
Sent: Wednesday, August 16, 2006 5:13 AM
To: David Smithson
Cc: der Mouse; rt-users@lists.bestpractical.com
Subject: Re: [rt-users] PNG JPG LOGO

Yes. I found an answer via google (and it was painful, as “mason”
seems to
be linked with other things and not just web development). The
following
gets rid of the mason handler to allow graphics to NOT be interpreted:

<Location /rt/NoAuth/images>
AddDefaultCharset UTF-8
SetHandler default-handler

This allowed everything to work… yeah, trying to find the danged
reason that
the page was failing was a pain in the butt.

It is also mentioned here:

http://wiki.bestpractical.com/index.cgi?ApacheConfig

AlanC
| Alan Clegg, CISSP, IAM
| Hosted Solutions, Inc.
| +1-919-882-3039

3.6.1, recently upgraded from 3.6.0, which was installed clean.

Is there an autohandler in NoAuth/images?

3.6.1, recently upgraded from 3.6.0, which was installed clean.

Is there an autohandler in NoAuth/images?

Yes, but not knowing enough about Mason, I didn’t know exactly what I was
looking for:

–SNIP–
aclegg@rt:/usr/local/rt3/share/html/NoAuth/images$ ls -al
total 36
drwxr-xr-x 3 root bin 4096 2006-08-03 02:00 .
drwxr-xr-x 5 root bin 4096 2006-06-15 06:30 …
-rw-r–r-- 1 root bin 598 2006-02-06 14:35 autohandler
[…]
–SNIP–

[note, 3.6.0 built from source, following the instructions from the Debian
Install in the wiki]

One thing that I noticed was that a “strings” on the bplogo.gif didn’t come
up with anything that might be considered HTML-like… my image, on the other
hand, included a couple of brackets and things: <&'S!"C/0Q78Y>?cGHiUVz`a

AlanC
| Alan Clegg, CISSP, IAM
| Hosted Solutions, Inc.
| +1-919-882-3039

Full path is /opt/rt3-dev/share/html/NoAuth/images/activlogo2006.png.

You probably don’t have apache configure correctly so that
the file in the images directory are not processed by Mason.

-Todd

Yes. Other (smaller) PNG images work. Not sure what the upper limit is, but I reduce the size of the image down to 3k, it works.From: “Jesse Vincent” jesse@bestpractical.com
To: “David Smithson” dsmithson@activsupport.com
Cc: “Jesse Vincent” jesse@bestpractical.com; “Alan Clegg” alan@clegg.com; “der Mouse” mouse@Rodents.Montreal.QC.CA; “rt-users@lists.bestpractical.comrt-users@lists.bestpractical.com
Sent: 8/16/06 9:11 AM
Subject: Re: [rt-users] PNG JPG LOGO

3.6.1, recently upgraded from 3.6.0, which was installed clean.

Is there an autohandler in NoAuth/images?

David Smithson