Keyword

Override K2 item image logic

  • Klaus Veliu
  • Klaus Veliu's Avatar Topic Author
  • Offline
  • Senior Member
More
2 months 2 weeks ago #170839 by Klaus Veliu
Klaus Veliu created the topic: Override K2 item image logic
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.

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
2 months 2 weeks ago #170844 by Fotis
Fotis replied the 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.


If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum