[TYPO3-templavoila] Errors saving FCE with image field

kozy koosb at xs4all.nl
Sat Apr 26 04:57:38 CEST 2008


Hello,

I have the following typoscript in a FCE field:

--snip--
<tx_templavoila type="array">
        <title>Image</title>
        <sample_data type="array">
                <numIndex index="0"></numIndex>
        </sample_data>
        <eType>image</eType>
        <TypoScript>
                <![CDATA[

                10 = IMAGE
                10 {
                altText.field = field_image_title
                titleText < .altText
                params = class="profile-thumb"
                file {
                        import = uploads/tx_templavoila/
                        import.current = 1
                        import.listNum = 0
                        width = 95c
                        height = 95c
                        }
                }

                ]]>

        </TypoScript>
</tx_templavoila>
--snip--

I need to upload an image, generate and display a thumbnail and then I use
imageLinkWrap to display the full size image (that part omitted for
brevity)

if I save the FCE I get the following two errors:

1. Warning: filemtime() [function.filemtime]: stat failed for
/web/uploads/tx_templavoila//web/fileadmin/images/demo/image.jpg in
/web/typo3_src-4.1.6/t3lib/class.t3lib_befunc.php on line 1627

[I save again...]

2. Errors:
        1: Could not delete file
'/web/uploads/tx_templavoila//web/fileadmin/images/demo/image.jpg' (does
not exist). (tt_content:75:tx_templavoila_flex)

[I press continue...]

Then everything is fine and functions as expected. What do I do wrong?

Thanks a lot, Koos



More information about the TYPO3-project-templavoila mailing list