17488 Posts in 4473 Topics by 1978 members
| Go to End | ||
| Author | Topic: | 4392 Views |
-
Re: new ImageField('Banner_Image') point to another directory in the Assets Folder

29 October 2008 at 3:32pm
Can anybody else confirm this is broken?
I've using 2.2.2 stable and cannot change the directory in which the images get uploaded.
Here is the complete line I'm using in my page type
$fields->addFieldToTab("Root.Content.Portrait", new ImageField('Portrait', null, null,null, null, 'images'));
Things still get uploaded into an 'uploads' directory, i.e the default one.
-
Re: new ImageField('Banner_Image') point to another directory in the Assets Folder

4 November 2008 at 9:04am Last edited: 4 November 2008 9:05am
Hello LeeUmm.
Yes, I can confirm that issue! It never worked for me too.
I just posted a way to work around this problem.
Maybe this is what you (and others) are looking for.
cu
| 4392 Views | ||
| Go to Top |


