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.
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!