Problems with images and movies

Author Message

Pedro Lemos

Friday 02 May 2003 3:40:00 am

I got ez3 running on MacOSX Server 10.2.5, Apache 1.3.27, php 4.3.1, GD and ImageMagick 5 and all seems fine except that on the demo site/gallery when I click on the images to view an enlarged version I get "Unavailable - The object is not available." (I can upload images and see the thumbnail). Any clues what's going on?

Also I've created a movie class but when I try to preview (in the content/admin interface) the browser complains about not having the plug-in for mime type html/text.

Help appreciated.
Thank you.

Marco Zinn

Saturday 03 May 2003 2:17:26 am

About the MIME-Types (your second problem):
You need to configure Apache to send the correct MIME-Type with the media files. I don't know, if this MIME-Handling is done by ezPublish (didn't try yet). If it is NOT, Apache needs to do this and decide by the extension.
It should check the File extension (like .mpg) and send a MIME-Type, that your browser understands.
As your browser says, that it receives html/text, the MIME-Type is not correct. html/text probbly is the default MIME-Type of your apache.
I guess, you use a Mac Browser. Can you use a windows browser, for testing purposes? I guess, the win browser are more tolerant and use the extension to "guess" the MIME-Type.

Marco
http://www.hyperroad-design.com

Pedro Lemos

Sunday 04 May 2003 10:58:02 am

Marco,
Thanks for the reply. The mime types on Apache are correctly set and are working with other sites on the same machine, but in any case I'll double check.

I will also try with a Win browser and see how it goes.
-----
Mime types are OK. It's the template that's generating the wrong code. Fixed that and works.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.