Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello
I am getting the error Notice: Undefined index: width em image_resize_filter_get_images() (linha 378 de /home/content/00/6298300/html/bsEngenharia/sites/all/modules/image_resize_filter/image_resize_filter.module).
The error occurs when I try to set an image's width as a percent in the Image properties Panel(see the attachment).
The image displays correctly but not without producing the error.
Should I forget about using percents or is there a way to use percents without the error.
I added the link to the attachment Link to attachment because it looks like it did not upload.
Comment | File | Size | Author |
---|---|---|---|
#10 | 1704080-9-image_resize_filter.patch | 699 bytes | eojthebrave |
#2 | image_resize_filter-underfined_index_fix-1704080-3.patch | 681 bytes | svajlenka |
#1 | image_resize_filter-undefined_index_fix-1704080-2.patch | 1.33 KB | svajlenka |
image resize filter.gif | 24.4 KB | jimclegg |
Comments
Comment #1
svajlenka CreditAttribution: svajlenka commentedPatch incoming... working on this now.. disregard the attached patch
Comment #2
svajlenka CreditAttribution: svajlenka commentedHere we go, proper patch to resolve this,
Comment #3
grendzy CreditAttribution: grendzy commentedLooks good to me.
Comment #4
raspberryman CreditAttribution: raspberryman commentedTested and verified.
Comment #5
Mat77 CreditAttribution: Mat77 commentedI confirm the patch worked for me too!
Thanks
Comment #6
bryancasler CreditAttribution: bryancasler commentedWorked for me as well.
Comment #6.0
bryancasler CreditAttribution: bryancasler commentedadd a link
Comment #7
Ben Coleman CreditAttribution: Ben Coleman commentedWorks here as well. I take it quicksketch isn't keeping up on commits?
Comment #8
joelpittetbump
Comment #9
joelpittetI could be wrong, but do you think these should be empty checks? Because if either of them are 0 there will be a divide by 0 error.
Comment #10
eojthebraveHere's an updated patch for 7.x-1.6 and using empty instead of isset.
Comment #11
joelpittetMoving to the dev branch because that is where things can be fixed.
Comment #12
joelpittetAnd thanks for considering my suggestion:)
Comment #14
ram4nd CreditAttribution: ram4nd as a volunteer commented