[Typo3] fileResource properties

Jane Larsen noesgard at gmail.com
Thu Jul 7 18:24:44 CEST 2005


Got this working:
$imgTSConfig = $this->conf['productImageCObject.'];
$imgTSConfig['file'] = 'fileadmin/katalogbilleder/'.$fileName;
return $this->cObj->IMAGE($imgTSConfig); 

with some extra TS in my extension...

On 7/5/05, Jane Larsen <noesgard at gmail.com> wrote:
> Could I use ImgResource instead and if so where do I find syntax/example use
> of the possible properties?
> 
> //Jane
> 
> On 7/5/05, Jane Larsen <noesgard at gmail.com> wrote:
> >
> > I'm importing some images for FE use in Typo3 using fileResource...
> > I would like to restrict the width (and keep aspect ratio) is this
> > possible
> > in my getFieldContent function?
> >
> > For now I just have this: return
> > $this->cObj->fileResource("fileadmin/images/IMG_1.jpg");
> >
> > Which works fine except my images are way too large...
> >
> > //Jane Larsen
> > _______________________________________________
> > 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