Difference:
ChangeProfilePicture
(1 vs. 3)
Revision 3
2014-05-30 -
TWikiContributor
Line: 1 to 1
Change Profile Picture of
<--
-->
Line: 25 to 25
min-width:19em; }
Added:
>
>
Added:
>
>
var myDropzone; Dropzone.autoDiscover = false; $(document).ready( function(){ if ( Dropzone.isBrowserSupported() ) { $('#fileUpload').replaceWith('
Drop file
or click
'); $('#submitFile').replaceWith('
Upload
'); myDropzone = new Dropzone("form.dropzone", {
maxFiles
1,
maxFilesize
10000 / 1024,
withCredentials
true,
paramName
'filepath',
addRemoveLinks
true,
autoProcessQueue
false,
acceptedFiles
'image/*',
previewsContainer
"div#dropzonePreviews",
uploadMultiple
false,
parallelUploads
1,
params
{noredirect: '1'},
clickable
"div#dropzonePreviews",
success
function(file, responseText, e) { var xhr = file.xhr; if ( xhr && xhr.getResponseHeader("Content-type").indexOf("text/html" ) = -1) { document.open(); document.write(responseText); document.close(); } else { window.location.href = 'https://mudconnector.su/do/view/Main/new/'; } }, }); } }
);
function validateFileType( fieldID, allowedTypes ) { var fileName=document.getElementById( fieldID ).value;
Line: 62 to 124
Upload new picture:
Changed:
<
<
>
>
Deleted:
<
<
Recommended step before upload: Crop the image to about square size, and resize it to a width of 200 pixels. This makes it load faster.
Added:
>
>
Recommended step before upload: Crop the image to about square size, and resize it to a width of 200 pixels. This makes it load faster.
Revision 2
2012-11-18 -
TWikiContributor
Line: 1 to 1
Change Profile Picture of
<--
-->
<--
-->
Current picture:
Upload new picture:
Recommended step before upload: Crop the image to about square size, and resize it to a width of 200 pixels. This makes it load faster.
Select existing picture:
<--
Set ALLOWTOPICCHANGE =
TWikiAdminGroup
Set READONLYSKINMODE = 1
-->
View topic
|
H
istory
:
r3
<
r2
<
r1
|
More topic actions...
Copyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.