Jump to:

10928 Posts in 2612 Topics by 1809 members

All other Modules

SilverStripe Forums » All other Modules » Custom Uploadify button

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 2351 Views
  • BlueO
    Avatar
    Community Member
    52 Posts

    Custom Uploadify button Link to this post

    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?

    Cheers

    Bernard

  • BlueO
    Avatar
    Community Member
    52 Posts

    Re: Custom Uploadify button Link to this post

    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

    2351 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.