it says:

...When images or attachments are included in the application, MMBase will use subdirectories of the MyNews directory to store the images and attachments. The MyNews/images.xml and the MyNews/attachments.xml contain the handles to these files.

Instead of manually inserting an image via the Images builder I indeed need to have someimages automatically inserted in MMBase, but how do I have to interpret above helptext to accomplish this?
 
Can I put my example picture.gif in my /applications/<appname> folder (together where I have the rest of the datasourcefiles) and in the RichText example below:

<?xml version="1.0" encoding="utf-8"?>
<images exportsource="mmbase://localhost/mmbase/richtext" timestamp="20040213011559">
    <node number="8800" owner="admin">
        <itype></itype>
        <handle file="images/8800.handle" />
        <title>Parachutes</title>
        <description></description>
    </node>
</images>
 
do I have to replace the attribute file (images/8800.handle) then with the path to picture.gif or do I have to insert picture.gif first via another way, retrieve it's MMbase handle of some sort and use that for the file attribute?
 
Regards,
Met vriendelijke groet,
Ted Vinke
 
First8 BV
Groenestraat 294
6531 JC Nijmegen
[EMAIL PROTECTED]

Reply via email to