Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Upload Plugin Button Color Options
#1
There are plenty options to make the Upload Plugin fit better for your website needs.  By adding a few words and you can make the system integrate more aesthetically.

The base code to implement the Upload Plugin is:
Code:
<script async src="//imgzb.com/sdk/pup.js" data-url="https://imgzb.com/upload"></script>
To make the upload images button clear, simply add data-palette="clear" to the imgzb script tag, like this:
Code:
<script async src="//imgzb.com/sdk/pup.js" data-url="https://imgzb.com/upload" data-palette="clear"></script>
You can make it almost any color you'd like this way. 

The default selections include: Clear, Turquoise, Green, Blue, Purple, Darkblue, Yellow, Orange, Red, Grey and Black

So to make the button blue, you would add data-palette="blue", so the script tag would be revised to this:
Code:
<script async src="//imgzb.com/sdk/pup.js" data-url="https://imgzb.com/upload" data-palette="blue"></script>
There many other options available which include what type of code is automatically inserted, where the button is placed in relation to your text input box and much more.  Visit the Upload Plugin page and click on the hyperlink "options" for more information on options for implementation.
Offline Offline
Reply
Topic Options
Forum Jump:




Users browsing this thread: 1 Guest(s)