Keyword

oops - erased item image cache - help!

  • Mark Landry
  • Mark Landry's Avatar Topic Author
  • Offline
  • New Member
More
9 years 7 months ago #140833 by Mark Landry
oops - erased item image cache - help! was created by Mark Landry
Hi,
Needed to move my site to a new server but needed to tone down overall file size to make it easier.
Very hastily and stupidly erased root > media > k2 > items > cache thinking it would be regenerated at page load.

Source files are still intact - is there any way to generate new cache files without having to go into each item and save?

Thanx for your help!!!

Mark

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

More
9 years 7 months ago - 9 years 7 months ago #140846 by Lefteris
Replied by Lefteris on topic oops - erased item image cache - help!
Hi,

Unfortunately there is no easy way to do this. You have to write a custom PHP script that will generate again all the images from the existing sources.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 9 years 7 months ago by Lefteris.

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

More
9 years 7 months ago #141229 by kevin
Replied by kevin on topic oops - erased item image cache - help!
Hello,

Same problem here. So what if we change images sizes in k2 settings ? We also need to write a script ?
I remember that in the pas there was a logic implemented in k2, that generated missing caches on page load.

Thanks in advance,

Kevin

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 7 months ago #141254 by Krikor Boghossian
Replied by Krikor Boghossian on topic oops - erased item image cache - help!
This tool can be used to rebuild K2's image cache github.com/rdeutz/rebuildK2imageCache

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