When admin creates a new K2 item with an image, K2 produces 6 different sizes (_Generic.jpg, _XS.jpg, _S.jpg, _M.jpg, _L.jpg, _XL.jpg) of main image (located under /media/k2/items/src/) and put these, 6 different resized images under /media/k2/items/cache folder.
When admin creates a new K2 item with an image, I want K2 to do it in this way:
- produce 6 different sizes of main image (let's say main_image.jpg) as before BUT put each resized image under these, folders:
main_image_Generic.jpg => /media/k2/items/cache/Generic/
main_image_XS.jpg => /media/k2/items/cache/XS/
main_image_S.jpg => /media/k2/items/cache/XS/
main_image_M.jpg => /media/k2/items/cache/M/
main_image_L.jpg => /media/k2/items/cache/L/
main_image_XL.jpg => /media/k2/items/cache/XL/
I need help, which php file(s) control this action under K2 ??
And how to modify it to make K2 do that for resized item images ??
Thanks!
When admin creates a new K2 item with an image, I want K2 to do it in this way:
- produce 6 different sizes of main image (let's say main_image.jpg) as before BUT put each resized image under these, folders:
main_image_Generic.jpg => /media/k2/items/cache/Generic/
main_image_XS.jpg => /media/k2/items/cache/XS/
main_image_S.jpg => /media/k2/items/cache/XS/
main_image_M.jpg => /media/k2/items/cache/M/
main_image_L.jpg => /media/k2/items/cache/L/
main_image_XL.jpg => /media/k2/items/cache/XL/
I need help, which php file(s) control this action under K2 ??
And how to modify it to make K2 do that for resized item images ??
Thanks!
Edited 11 years 8 months ago by Cydonian · Reason: correction