Support images for category checkbox
(cherry picked from commit 122e4d2)