I have a question regarding a hack I’ve done to get custom image sizes.
I’m sure I’m not the first person in history that has a complaint regarding how K2 handles images. They are only scaled according to width, and not height. That’s not good for for me, who have images in different formats, some portrait, some landscape, some very wide and some quite high.
So I figured out a hack that I feel is a bit ugly, but it has been effective this far:
I have overwritten the “[…]_Generic”, “[…]_L” and “[…]_XL” versions of the images stored in mediak2itemscache with custom scaled versions, keeping their original names, thus fooling K2. This seems to overwrite the scaled versions created by K2 when it originally saved the images in the items.
My question is: does this have any short/long term repercussions that I should be aware of? Since these images are in a folder named “cache”, is there any chance they might be reverted automatically? In other words, is this safe?