Closed (fixed)
Project:
IMCE for FileField
Version:
7.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Sep 2013 at 13:51 UTC
Updated:
13 Dec 2013 at 13:40 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
ufku commentedHow is it possible to get an image dimension error? Aren't images scaled down to fit the allowed size?
Comment #2
StephenN commentedThat is true if validation is failed on maximum image dimension but not for minimum dimensions as you don't want to go upscaling an image as default.
Comment #3
ufku commentedOk I was able to generate the validation error but it didn't break anything. The widget is working as expected. Make sure it is not a conflict with another module. Also check if other validation errors(e.g. file size) cause the same issue.
Comment #4
StephenN commentedSorry for the slow response.
Steps to reproduce.
1) setup a stock drupal minimal install with imce_filefield enabled.
I used the following drush commands;
2) Add a content type with 2 image fields. Aside from enabling imce_filefield keep all default settings. On one of these fields add minimum image dimensions.
3) Add a new node and attempt to attach an image via the imce browser that fails the minimum dimension requirements. You should see the result
in the following screenshotwhere the file browser link is no longer accessible on the field.4) As a secondary issue if you then (without refreshing) attempt to attach an image to the field without dimension restrictions the file will attach correctly but the previous error message will duplicate.
Comment #5
StephenN commentedJust worked out how to upload the screenshots for the issues above :)
Comment #6
kepesv commentedSame problem here
Comment #7
chapabu commentedI get the same issue.
Following on from the extra provided information, can this have an eye cast over it again?
Comment #8
ufku commentedCommitted fixes for disappearing link and consistent error message
Thanks