How to show autocad (dwf, dwg) files in browser?
| From: | Lars Espelid | Date: | Fri, 15 Nov 2002 21:08:54 +0000 |
| Subject: | How to show autocad (dwf, dwg) files in browser? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124654@lists.php.net to get a copy of this message | ||
HI,
I have downloaded Volo View Express from www.autodesk.com (plugin to
web-browser) and can see the sample autocad-file that is presented on their
site.
Code ment to display the file drawing1.dwg on my page (none working):
1)
<img src="drawing1.dwg">
Displays no image.
2)
<OBJECT data="drawing1.dwg"
type="image/vnd.dwg">
A nice drawing.
</OBJECT>
The only thing I can see is a blue rectangle whith the following error
message inside it:
"Drawing File Format Unrecogr"
3)
<object>
<param name="Filename" value="drawing1.dwg">
<embed name=thanks src="drawing1.dwg"
pluginspage="http://www.autodesk.com/whip">
</object>
The only thing I can see is a blue rectangle whith the following error
message inside it:
"Drawing File Format Unrecogr"
I'm running Apache 1.3.26.
This is what I have written into httpd.conf:
AddType model/vnd.dwf .dwf
#drawing/x-dwf .dwf
AddType image/vnd.dxf .dxf
AddType image/vnd.dwg .dwg
This is what I have written into mime.types and mime.types.default:
image/vnd.dwg
image/vnd.dxf
Appreciate any help. Thanks
Lars