I would like to make the M XL and so on cache in different folders, so "\media\k2\items\cache\M" for the med, and so on for the sizes. Running a watermark script but I only wanna put it on the Large images so the small (preview image) has no watermark.
I tried editing components\com_k2\models\item.php
were i found the cache kinda referenced as
"if (JFile::exists(JPATH_ROOT.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.'XS'.DS.$filename.'_XS.jpg')"
I added the ".DS.'XS'" but I really have no clue how to do this.
I tried editing components\com_k2\models\item.php
were i found the cache kinda referenced as
"if (JFile::exists(JPATH_ROOT.DS.'media'.DS.'k2'.DS.'items'.DS.'cache'.DS.'XS'.DS.$filename.'_XS.jpg')"
I added the ".DS.'XS'" but I really have no clue how to do this.