Hi, I am not entirely sure on the MV codebase any longer but I believe you should be able to add
CGMV_Window_EncyclopediaCategory.prototype.maxCols = function() {
return 5;
};
to change how many appear on one line.
Getting the image to display above the text is not going to be as straightforward because there is some loading time for images, so when it draws the text it does not actually know how tall the image is to automatically leave that much space for the image. If all your images are the same height, you could change the y values of the text / image.