[TYPO3-templavoila] Gifbuilder: image field does not contain proper path

Dmitry Dulepov 9f4eetb02 at sneakemail.com
Mon May 28 14:10:22 CEST 2007


Hi!

Bart Veldhuizen [V-INT] wrote:
> lib.graphic_test = IMAGE
> lib.graphic_test {
> 
>     file = GIFBUILDER
>     file {
>         XY = 420,204
>         format = jpg
> 
>         10 = IMAGE
>         10 {
>             file.field = field_image_file
>         }
> }
> 
> What happens is that file.field will now contain the name of the image 
> file (say, 'kids.png'), but it does not include the proper path ( 
> 'uploads/tx_templavoila'), so the GIFBUILDER object can't do its job. I 
> tried wrapping the file object with the proper path, but this does not 
> seem to work. Any ideas on how I could fix this?

Are you sure that "10.file" has "field" property? Either I am blind, or 
I am looking to the wrong place in TSRef.

-- 
Dmitry Dulepov

Web: http://typo3bloke.net/
Skype: callto:liels_bugs

"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)


More information about the TYPO3-project-templavoila mailing list