Miguel Clara
going with the flow Posts:56
|
03-03-2010 12:38 PM |
|
Is it possible to limit the size (width and height) in a image upload??? |
|
|
|
|
David To
river guide Posts:2719
|
03-04-2010 07:31 AM |
|
HI, I don't believe this is possible since currently, you simply select an image and it will upload that image which can be created in whatever size from the source / owner who created it. -- David |
|
|
|
|
Miguel Clara
going with the flow Posts:56
|
03-04-2010 07:39 AM |
|
That's what I was thinking... but I thing this would be a nice thing to had... after all its really not good when someone upload a 6000x6000 photo as a profile photo :=)
It just happened to me :S
I can limit the Thumb size but I still have problems in the user directory module, because the details view shows the image full size..
I was trying to set a default width/height... but that will do it for even the small pics... so those get very distorted |
|
|
|
|
Miguel Clara
going with the flow Posts:56
|
03-06-2010 11:08 AM |
|
I would just like to say that this is not very normal...
So basicly someone can just select a lets say 1Gb jpeg file and upload it???
This can't happen, file upload MUST have restritions, wither if its another file or an image!
Images can be filter with the height/widht size easely, so I realy doesn't make sense to mean that this module is on version 4.x and no one has every ask for this? :|
Anyway where can I had this has a feature request? |
|
|
|
|
David To
river guide Posts:2719
|
03-08-2010 05:45 AM |
|
Hi, the maximum file upload is actually defined in your web.config file so yes, there's no way a person can upload a 1GB image file because it would time out and not allow it. A quick way to check is use Admin / File Manager. If you can't upload a file there, you won't be able to use the File Upload of Dynamic Registration either since they both use the same routines. I don't recall the exact default size upload limit specified in an install of DNN but you can check what yours is set at and change it there. -- David |
|
|
|
|
Miguel Clara
going with the flow Posts:56
|
03-08-2010 08:04 AM |
|
Well, yeah...
But lets consider this... if I wanted to change code to make things work I would not buy a third party module!
Specially not one so expensive...
Modules should cover everything that's related to the features... so if you have a file upload you should have this kind of settings and speacialy for a photo...
Also I'm make a suggestion for an improvement and you did not even comment that... you tell me this should be done by me... I did not like you're approach with this one... honestly (I'm not saying you're replies are all bad, in fact this one left me surprised :X)
I believe every problem we (clients) post here should be analysed has ways to improve your modules....
And there's another thing... this is possible for the Thumb image
So it shouldn't be that hard to change that!
Oh and... if an user tries to upload something big in DNN he won't get a nice message telling him "file to large" dnn sucks with that, and last time I tried that... the site simply timed out...
Anyway thanks! |
|
|
|
|
Chad Nash Posts:5260
|
03-08-2010 08:17 AM |
|
Miguel, Thanks for your comments and suggestions. I agree that this would be a powerful feature for future versions and we do keep track of enhancement requests via forums/support tickets and Many of the file/image upload features from previous versions didn't always include many of the current features.... For example thumbnails, or relative type thumbnails where you can specify just the width or height... other features such as auto preview, ability to specify the upload directory and so forth were new features between the initial image upload field type. So the assumption that all 'modules should cover everything that is related to a feature' is somewhat open ended and if this was the case in software you wouldn't new new versions of both DNN and new versions of our modules etc... To you it might be this feature but to others it could easily be a number of other items. Thanks for your suggestions and feedback though. As I said we will review this for future updates and versions to the module. Thanks, Chad |
|
|
|
|
Miguel Clara
going with the flow Posts:56
|
03-08-2010 09:42 AM |
|
Thanks Chad... what I meant is that all modules should be developed with that in mind... ofc things always keep changing, and the first version can not include everything, or the dev's might not see something users will need... What I meant to say is that, that's what I expect from DataSprings or any other company even free software.... we can't exactly say the same thing about open source... cause we can change things our self! But the reply I got before, clearly sound like a "this should be something you should do not us..." you can not keep things update and cover all features with that kind of thinking... This is not an attack to David, in fact I believe this is not exactly what he intended to say... I'm the kind of client you keep searching for the limits of the software... I've made some posts about Dynamic Directory too... and I will keep on posting everything I see has a flaw, cause I believe I am only helping you guys by doing that Cheers, and thanks for you reply Chad! |
|
|
|
|
sentient
river guide Posts:127
|
09-07-2010 03:05 AM |
|
I asked for this feature almost 2 years ago. I agree that it is a huge necessity in a registration - profile module. I have a site with over 200 users (not that many) and the image repository is ridiculous. When I go to the DUD the images take ages to upload because there is not an optimizer/auto resizer function in behind. It is basically unusable and Im having to try to hash together other modules just to support a simple image. Look at the module LiveGallery for only a small cost - has all the image optimization, only I cant use it to tag against a profile or inject it into the registration form process. The image functionality is a major, major necessity. I have purchased 2 Full Enterprise versions of the datasprings collection and yet I cant use the most fundamental profile field. I, and Im sure most other users that use the registration and DUD modules would agree that it is one of the top wishlist items that never seems to be addressed. Image upload and optimization is a stock standard out of the box feature, is there anyway to add a patch? |
|
|
|
|
sentient
river guide Posts:127
|
09-07-2010 03:09 AM |
|
I have the Full Source version so if you have a solution I can recompile. |
|
|
|
|
Chad Nash Posts:5260
|
09-07-2010 10:31 AM |
|
Hi guys,
First... thanks for your business.
We do continue to add new enhancements in each version of our modules and will continue to review this for the next several releases of Dynamic Registration. I would say we get the most diverse requests when it comes to these specific field types directly... We have added several enhancements in recent releases but have plenty to go. We also try and plan ahead of time knowing that even though we are adding a feature we might plan to continue to add to this area down the road (for example this is why in our module and completion events you have unlimited completion events where other modules might be more limited).
As an example I am including a screenshot of some of the updated settings for Dynamic Forms related to file uploads... We added many other features such as limiting the size directly in the interface per file type, limiting the file extensions per field, choosing an alternate file upload map path, choosing an alternate image upload folder, choosing the file save type (unique, friendly name, exact name), invalid extensions error message per field etc...
The list and requests we get for enhancements for files and image field types is probably the more then any other field and some are related to the actual size, some are related to requests wanting to use the SQL Binding feature with file uploads which currently isn't supported, and among the most is the ability to have unlimited file uploads as a control.
We also do offer Premium Support which allows users to put specific enhancements on our list above others on the list. For example, we had a client recently sponsor Premium Support hours towards other image and file upload enhancements, specifically the ability to upload multiple items at a time and also integrate with question events better etc... You can find out more about these enhancements here: http://www.datasprings.com/Products...aspx#20393 I am not saying that we need clients to utilize Premium Support for enhancements, I am just mentioning that we do offer this as an option so you wouldn't have to modify the source yourself when an enhancement is needed and also we have to review customers willing to utilize Premium Support and escalate those enhancements over others.
From your other post I should also mention we do have new enhancements coming up in the upcoming release of Dynamic User Directory which will offer better support of images. These include some features such as the ability to use the DNN Core Image field type which was recently added in DNN and also to use Dynamic Registration images but to specify here the maximum/minimum and thumbnail size you want. The image will then be rendered using an IHttpHandler and will present a more consistent and smaller image... Other features include the ability to show if a user is online, the ability to show an alternate image if the user doesn't have an image etc... We are planning this module released in November.
Also - Since you purchased the source you are welcome to change it and I can help direct you into the area that you would need to make changes. Keep in mind that the main page for Dynamic Forms/Registration have about 21,000 lines of code so it might need to be added and changed in a few areas.
Thanks,
Chad |
DynamicForms_FileUploadEnhancements.jpg
|
|
|
|
Chad Nash Posts:5260
|
09-07-2010 12:39 PM |
|
Here is an added screenshot for whats coming up in Dynamic User Directory 3.1 |
userImage.jpg
|
|
|
|
sentient
river guide Posts:127
|
09-08-2010 06:19 PM |
|
Its more a case where the image the user selects from their local machine is resized during the upload process. Modules like LiveGallery convert the image of any resolution to user defined pixel ratio size. Like 800x600 and 100x100 for the thumbnail. This is great because it saves file size on the server and also generates an optimized thumbnail for gallery view (like DUD). Images are core to any profile application and this optimization seems fundamental to that working effectively. Im happy to inject the code where needed but after purchasing 2 Enterprise/Source licences Im not sure if I can or should budget in Premium support for something so fundamental. |
|
|
|
|
sentient
river guide Posts:127
|
09-08-2010 06:23 PM |
|
P.S. I still think the collection is kick ass |
|
|
|
|
Miguel Clara
going with the flow Posts:56
|
09-09-2010 02:06 AM |
|
This looks great....
I'de like to suggest something... when we set a limit for the upload I guess the user will get a message saying "the file is to big....blah blah blah"
Facebook does something cool to save user's time, your images are auto resized if they are too big!
So why not just do that?
Anyway this is no request just an idea for an improvement! |
|
|
|
|
sentient
river guide Posts:127
|
10-06-2010 01:27 AM |
|
There is a thumbnail generator already int he system that resizes dimensions and filesize - cant this be replicated for the main image and have it on a variable width etc. The thing is I have users registering with image files of 4mb, my only choice is to bloat the system and have the DUD module display images ridiculously slow or have some random error screen pop up if the file size limit is set low, even then the image cant be resized by the user who have no idea how to resize an image. |
|
|
|
|
Steven Nestler
going with the flow Posts:38
|
10-12-2010 04:12 PM |
|
Hi, Chad,
I agree with the others that this is a huge need in DR.
Can you give an estimate of what it would cost to implement this, if a group of us got together to sponsor it?
Thanks,
Steven |
|
|
|
|
sentient
river guide Posts:127
|
11-01-2010 03:49 PM |
|
Agreed, I have to manually download the large images - edit in photoshop and reload. What a mission, as the functionality is already there why cant it be implemented? and as above how much to get it done? Though we have invested more than $3k into various versions of the collection. |
|
|
|
|
sentient
river guide Posts:127
|
11-04-2010 01:44 PM |
|
1300 views on this thead is a pretty good indication that it is a common issue. |
|
|
|
|
Chad Nash Posts:5260
|
11-15-2010 06:54 PM |
|
Hi guys... Yes trust me, we are aware... We are spending resources right now towards both file and image upload enhancements. There is PLENTY that can be done and for file uploads we are also starting to use the new Telerik Rad Upload and are testing situations against AJAX/Question Events, ability to add multiple files etc... -Chad |
|
|
|
|
Chad Nash Posts:5260
|
11-18-2010 05:00 PM |
|
Hi guys... Ok, let me start by saying I am aware that there are plenty of more enhancements that can be added to both Dynamic Registration, Dynamic Forms, and Dynamic User Directory related to images and file sizes. First, a few comments and what I believe you guys are all asking for: 1. The latest version of DUD does allow you to resize thumbnails to any size you are wanting, regardless of the size they are. So what you are wanting is maybe this feature as well for the 'main' image and not the thumbnail? Can you at least comment on some of the new enhancements for images, thumbnails, and so forth that came with DUD so I will know our efforts didn't go to waste 2. With Dynamic Registration and Dynamic Forms some of the feedback I am hearing that we need to add are: 1. Ability to resize the full user image like we already do for resizing the thumbnail user image? 2. Allow you the ability to change select maximum height and widths for images uploaded 3. There might be a few features not currently in Dynamic Registration but basically add some features that already exist in Dynamic Forms such as the ability to choose and override the file size and file size is too large message at the field level? 4. We need to create alternate file save options within Dynamic Registration so that the file is saved and retrieved as a file number similar to the DNN Core so that the field can map properly to the DNN Core image profile property? I can (at the very least) confirm that these are very hot topics and the next area we plan to be devoting a large portion of our development time towards. We will be adding in most of the upcoming features in the next month and hopefully all of them by the end of the 1st quarter 2011. We are adding some additional enhancements to our file upload and might use Telerik for image upload features as well. A client recently needed these soon and ended up using some Premium Support hours (which is why in my short video here I am addressing her ) however this will be in the 3.5/3.6 release of Dynamic Forms. Quick demo... File uploads (and images) will not support multiple files/images and also the ability for postbacks via AJAX (question events etc...) http://www.screencast.com/users/Dat...3099fe3278 Before you kick and scream... there will be the 4.1 release of Dynamic Registration that does not have all of these features in them but we can't hold the release back any longer as there are several other updates and enhancements that are already tested and ready to go. So look for 4.2 of Dyn Reg and 3.5/3.6 of Dynamic Forms for the features I mentioned above. If there are specific enhancements for file or image uploads that are not listed above PLEASE LET ME KNOW!!! As I said, these are some major areas of code we will be working with over the next few weeks/months. Thanks, Chad |
|
|
|
|
Chad Nash Posts:5260
|
11-22-2010 01:58 PM |
|
Hi guys... Ok a few updates:
1. We have added the height/width size check and some other fixes to the image upload field within the upcoming (by end of week) patch for 3.4.30. You should see this posted by the end of the week.
2. The 3.5 version will support many new enhancements with the file upload field that we hope to also allow for the image upload field. These include the ability to upload during AJAX calls/question events, ability to upload multiple files with a single field, the ability to use the Telerik Rad Uploader field, the ability to use SQL Binding with file upload fields and image fields etc... So far these are already coded (and working great on many tests for the file upload field so the implementation should be similar for image uploads).
Thanks!
-Chad
|
|
|
|
|
Robert Manjoney
going with the flow Posts:33
|
08-21-2011 02:33 AM |
|
Hi Folks - What's the status of basic image upload validation for DR 4.1? Any patch/update available that gives basic validation yet? (File format check, file size limitations, image dimension limitations). Thanks, Bob |
|
|
|
|
Thomas Born
going with the flow Posts:78
|
10-26-2011 04:05 AM |
|
Posted By Chad Nash on 11-22-2010 03:58 PM Hi guys... Ok a few updates:
1. We have added the height/width size check and some other fixes to the image upload field within the upcoming (by end of week) patch for 3.4.30. You should see this posted by the end of the week.
2. The 3.5 version will support many new enhancements with the file upload field that we hope to also allow for the image upload field. These include the ability to upload during AJAX calls/question events, ability to upload multiple files with a single field, the ability to use the Telerik Rad Uploader field, the ability to use SQL Binding with file upload fields and image fields etc... So far these are already coded (and working great on many tests for the file upload field so the implementation should be similar for image uploads).
Thanks!
-Chad Hi, came across this thread after discovering some idiots uploaded tif and psd files with sizes > 20MB. We use version 4.0 of Dynamic Registration but I cannot find the feature above? Also is it possible to generally only allow gif and jpg files? Thanks Thomas |
|
|
|
|