miroj / avatarupload Goto Github PK
View Code? Open in Web Editor NEWASP.NET MVC 5 avatar upload implementation
License: MIT License
ASP.NET MVC 5 avatar upload implementation
License: MIT License
Hi @MiroJ
I'm using your sample project in my solution but have a problem after "Choose File",crop and click on "SAVEAVATAR" button. Could you help me?
Thanks and Best Regards
localhost:44300 says:
Unable to upload file.
ERRORINFO: Value must be greater than or equal to 0.Parameter name: bottom
When you select a file in file upload it dont load in IE9. In Chrome it works fine. Does anyone recognize this or know why nothing happens when I chose to open the file using IE9.
Great system though!
Works great in Chrome, IE and Edge but after uploading the image in Firefox, the small preview image and the crop editor image never show up for me. The save button does show up but after selecting I'm getting:
"Unable to upload file.
ERRORINFO: Value must be greater than or equal to 0.
Parameter name: bottom"
Again, works great in all other browsers with both the original source code version I tried and with it implemented into a custom project, it's just Firefox where I'm finding the issue in both.
Other than that, great job to the authors!
By default the project assumes you are using SQLServer 2012. This can be overcome by replacing the existing connection string in web.config file with
<add name="DefaultConnection" connectionString="Data Source=(localdb)\MSSQLLocalDB;AttachDbFilename=|DataDirectory|\aspnet-test-AvatarUpload-20140512111401.mdf;Integrated Security=True;Connect Timeout=30;Encrypt=False;TrustServerCertificate=True;ApplicationIntent=ReadWrite;MultiSubnetFailover=False" providerName="System.Data.SqlClient" />
I would like to report a bug that I found. Crop image (on the left) is not updated, if all the elements are not hidden and the user selects different images before save. Do you have any solution for this?
Thanks for the great work. I am having an issue while browsing image the crop section gets hidden again and the original image is saved in temp folder.
Can't manage to work with sizes above 100 pixels, even without resizing temporary avatar. What can i do about it? Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.