I'm not new to K2 and I know this issue is quite sophisticated. It should be marked as a non-standard question whereas the solution probably needs a core-hack. However, still I wonder whether somebody can help me.
I've got three Joomla websites, one installed at the public_html map, two installed in sub-folders (as sub-domains). With an extension of Alterbrains, I've already successfully managed to handle all K2 items, categories etc. for all three websites in just one database.
Now just one problem exist. The K2 images are placed into media/k2/items/cache, as normal. Images at the sub-folders (sub-domains) are pointed to /subfolder/media/k2/items/cache, however, this maps is empty as a consequence of the shared database.
In my view, for my two sub-domains I need to change to path for K2 images. I want to point the path to the media folder in the public_html, the one of the main website. I already found where to change this: components\com_k2\models\item.php.
Is this possible, if yes, which steps do I need to take?