[TYPO3-english] templavoila FCE image problem

Paul Bucalo paul.bucalo at gmail.com
Wed Mar 11 13:44:59 CET 2009


How did you fix?
You are right, it appends an underscore and number every time a new file is
uploaded.
Good catch, thank you for the tip.
-p

On Tue, Mar 10, 2009 at 7:25 PM, Peter Kuehn [wmdb>] <peter.kuehn at wmdb.de>wrote:

> Hi Paul,
> just a hint: take care if you configure a CE like this:
> attached images are *not* deleted from disk if you delete (a part of)
> the fce. recently i had to deal with an uploads/tx_templavoila/ folder
> containg 52.000+ images...
> gRTz
> pekue
>
> Paul Bucalo schrieb:
> > I finally figured it out.
> > It was giving a maximum image width, even though I had not set it as a
> fixed
> > w+h. This could possibly be because I had it set as fixed when I was
> > switching back and forth, playing with it.
> > I didn't realize that the typoscript for the min values was getting
> written
> > to the Flexform Data Structure.
> > I went in to list view and edited the data structure, changed the minimum
> > and the images finally appeared.
> >
> >                                 <tx_templavoila type="array">
> >                                     <title>Tips Divider</title>
> >                                     <sample_data type="array">
> >                                         <numIndex index="0">
> > http://batteries.com/img/tips_divider.gif</numIndex>
> >                                     </sample_data>
> >                                     <eType>image</eType>
> >                                     <TypoScript>
> >     10 = IMAGE
> >     10.file.import = uploads/tx_templavoila/
> >     10.file.import.current = 1
> >     10.file.import.listNum = 0
> >     10.file.maxW = 700 <--------Changed this value
> >                             </TypoScript>
> >                                 </tx_templavoila>
> >
> > Thank you for the quick reply.
> > -p
> >
> > On Fri, Mar 6, 2009 at 2:52 PM, Dmitry Dulepov <dmitry at typo3.org> wrote:
> >
> >> Hi!
> >>
> >> Paul Bucalo wrote:
> >>> The problem is that the flex form does not include a way to effect the
> >>> images size.
> >> This is not a problem. Flexform never includes sizes of images. It
> includes
> >> only information from fields.
> >>
> >>> As a result, the image gets a size of 0 on the front end (error
> message):
> >>> convert: Negative or zero image size `/var/www/html/typo3/uploads/
> >>> tx_templavoila/tips_divider.gif'.
> >> Most likely you have a permission problem somewhere. As a result file
> gets
> >> zero size...
> >>
> >> --
> >> Dmitry Dulepov
> >> TYPO3 core team
> >> http://dmitry-dulepov.com/
> >> "Computers are so unreliable... just like people" (Major Cain, "Resident
> >> Evil: Apocalypse")
> >> _______________________________________________
> >> TYPO3-english mailing list
> >> TYPO3-english at lists.netfielders.de
> >> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
> >>
> _______________________________________________
> TYPO3-english mailing list
> TYPO3-english at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
>


More information about the TYPO3-english mailing list