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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

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


1776 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