Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Uploadify - restrict width/height of image


Go to End


1870 Views

Avatar
Lukin

Community Member, 56 Posts

13 August 2011 at 12:35am

HI,

is there a way to restrict the dimension for an image when uploading with uploadify in the frontend?

maybe something like
$image->setVar('width',100);
$image->setVar('height',100);

This doesn#t work...

Thanks in advance

Cheers Lukin