RE: [PHP] How to show autocad (dwf, dwg) files in browser?
| From: | Merritt, Dave | Date: | Fri, 15 Nov 2002 21:40:54 +0000 |
| Subject: | RE: [PHP] How to show autocad (dwf, dwg) files in browser? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-124659@lists.php.net to get a copy of this message | ||
Lars,
You say you downloaded the Volo View Express, but your plug-in page points
to the WHIP viewer plug. Regardless, there are two versions of Volo View.
Did you download the DWF version only of Volo View?
Dave
-----Original Message-----
From: Lars Espelid [mailto:lars_espelid@hotmail.com]
Sent: Friday, November 15, 2002 4:09 PM
To: php-general@lists.php.net
Subject: [PHP] How to show autocad (dwf, dwg) files in browser?
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php