Monday, May 20, 2024
 Popular · Latest · Hot · Upcoming
154
rated 0 times [  160] [ 6]  / answers: 1 / hits: 20070  / 11 Years ago, fri, november 29, 2013, 12:00:00

I'm having trouble changing the default text of my dropzone uploader. Despite the fact that I've initialized it like this, it's still rendering the default text:



Dropzone.options.imgUpload = {
paramName: file, // Must match the name of the HttpPostedFileBase argument that the Upload action expects.
dictDefaultMessage: Drag your image here,
acceptedFiles: image/* // Accept images only
};


Also tried changing the dictDefaultMessage set in dropzone.js, but with no luck :(
By the way; am I supposed to use both or remove one of them?



Any suggestions?


More From » dropzone.js

 Answers
3

Solved this by including the basic.css file alone. This does not render the sprites and you have full control of styling inside the dropzone (It just gives jo a basic skeleton to improve upon). When doing this, dictDefaultMessage is displayed.


[#73990] Thursday, November 28, 2013, 11 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
monicag

Total Points: 651
Total Questions: 106
Total Answers: 104

Location: Grenada
Member since Sun, Dec 20, 2020
3 Years ago
;