Here is a really dumb question.

I have some images, pdf, etc, items checked into an svn repository. I
have not bothered to set the mime type in svn. As they are binary, I
think svn defaults them to application/octet-stream. This has never
caused me any trouble.

In trac, when viewing these items in the repository, I get a message
like:

"HTML preview not available, since the file size exceeds 262144 bytes.
Try downloading the file instead."

and elsewhere in the page it says "Property svn:mime-type set to
application/octet-stream".

I would like the images to be viewable direct in the browser. I am
guessing I need to change the svn:mime-type to something better for
these items. Until I sort this out, is there any way to tell trac to
base the mime-type on the file name (like *.png)?

As an aside, should I expect any problems in svn itself if I change the
svn:mime-type from application/octet-stream to whatever it should be for
images, pdf and the like?

-- 
Roger Oberholtzer

OPQ Systems / Ramböll RST

Ramböll Sverige AB
Krukmakargatan 21
P.O. Box 17009
SE-104 62 Stockholm, Sweden

Office: Int +46 8-615 60 20
Mobile: Int +46 70-815 1696


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to