Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
So if you want to use an imagecache preset scaled to larger than variable_get('menu_icons_file_validate_image_resolution', '45x45'), you're going to get some pixelisation.
The attached patch will fix that, but of course if you've been using menu_icons for some time, then decide you want to use it with imagecache, you will have to re-upload all your images, so I think a more robust fix will be storing both the original and scaled image and defaulting to the scaled if an imagecache preset is not specified.
Comment | File | Size | Author |
---|---|---|---|
#1 | menu_icons.module-unwanted_resize.patch | 804 bytes | Matthew Davidson |
Comments
Comment #1
Matthew Davidson CreditAttribution: Matthew Davidson commentedOkay, attach the patch this time...
Comment #2
skilip CreditAttribution: skilip commentedThanks for the patch Matthew! It looks quite alright and I'll commit this asap.
Comment #3
skilip CreditAttribution: skilip commentedCommitted to HEAD. Thanks!