eZ Crew: How does the image uploading work?

Author Message

Jerry Jalava

Thursday 31 July 2003 4:17:10 am

I would like to know how does the image upload work in ez... I know it uses few files (ie. ezimage.php,ezimagevariations.php,ezimagetype.php,image.php...)

But how does it know when image is uploaded ie. through class?

I tried to examine the code all around eZ, but couldn't find where the ezimage files get the command to process the image that I'm uploading from ie. my class witch has image in it...

So, where do I activate the image uploading in my own module?

I need to know, because I need image uploading to one of my modules (uses own database, not ezcontent one), and I would like to use the eZ's way to save the image to server...

Thanks,
Jerry

Jerry Jalava

Friday 01 August 2003 6:03:10 am

I really need to know this... This is the key element that i still missing from my module... I can't finish my project without knowing this... :(

I know that the real uploading happens in ezhttpfile.php -file, but if I would like to save something with it to the server, I need to know the Mimetype and mimecategory, which I get from the ezimage -files...

So, how can I tell ezimage that I wan't this file to be saved...
I have tried all kind of stuff, but without any progress.

Please help...

Thanks,
Jerry

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