Keyword

Override K2 item image logic

  • Klaus Veliu
  • Klaus Veliu's Avatar Topic Author
  • Offline
  • Senior Member
More
5 years 10 months ago #170839 by Klaus Veliu
Override K2 item image logic was created by Klaus Veliu
Hello,

As I am having issues when making backups of sites that have many thousands of articles, in my next site I need to take into consideration the path of the images.

Currently K2 uses this logic media/k2/items/cache/'.md5("Image".$item->id).'_L.jpg, but I need to Override this logic, maybe I would be able to alter the K2 core files, but they would be overwritten if I update K2 in the future. So this seems not to be a good solution.

Is any way/plugin that gives the ability to store the image in this logic /images/year/month/day/.... ?

Thank you!

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #170844 by JoomlaWorks
Replied by JoomlaWorks on topic Override K2 item image logic
Not really, sorry.

I think it's better in the long term to simply have a different backup strategy, instead of doing partial backups as your suggestion implies.

Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum