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

Custom Uploadify button

Go to End

2 Posts   3808 Views


Community Member, 52 Posts

18 January 2012 at 2:34pm

Hi there,
I'm using UploadifyField in the front end of one of our forms and i'm having trouble customising the size of the 'Browse' button.

I've tried to manipulate the style of the surrounding html elements but the button (i.e. the clickable area) stays the size of the Uploadify.swf object.

Would anyone be able to give me some insight as to how to make a larger button?




Community Member, 52 Posts

19 January 2012 at 9:26am

OK, found the answer to my question (I love it how that happens soon after you think you've tried everything and write a post...)

anyway for those who come across this - in uploadify.js (see the readable version uploadify.src.js) there are some options to change the uploadify.swf size:

height          : 30, // The height of the flash button
width           : 120, // The width of the flash button