Keyword

item images disappeared after update to 2.10.1

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 5 days ago #173830 by Franz Heine
Franz Heine created the topic: item images disappeared after update to 2.10.1
after the update from 2.10.0 to 2.10.1 my item images disappeared.
The category setting are the same. The images still are in the folder: media/k2/items/cache/

But ive to confess. I compressed the cached images (regarding image size) with photoshop and because i just needed one size of the pictures (L), i erased the other 5 sizes.

Could this be the issue?

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #173831 by Fotis
Fotis replied the topic: item images disappeared after update to 2.10.1
Yes, because unlike previous versions, we check for the existence of the "generic" size and based on that construct the URLs for the other sizes. That's 5 less disk I/O operations per image, which may be considerable on large sites.

I recommend not tampering with K2 files.

Use this to regenerate your images: github.com/getk2/rebuildK2imageCache

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.

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 5 days ago #173833 by Franz Heine
Franz Heine replied the topic: item images disappeared after update to 2.10.1
Damn Fotis. Why did you do that :-)

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago #173834 by Fotis
Fotis replied the topic: item images disappeared after update to 2.10.1
"That's 5 less disk I/O operations per image, which may be considerable on large sites."

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.

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 5 days ago #173835 by Franz Heine
Franz Heine replied the topic: item images disappeared after update to 2.10.1
what does it mean:

Execute via Terminal?

Does he mean curl?

How can i execute the rebuild.php?

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 5 days ago - 1 week 5 days ago #173838 by Fotis
Fotis replied the topic: item images disappeared after update to 2.10.1
You need SSH (terminal) access to your server. If you have that, you simply execute the script with "php /path/to/script".

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
Last edit: 1 week 5 days ago by Fotis.

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 5 days ago #173841 by Franz Heine
Franz Heine replied the topic: item images disappeared after update to 2.10.1
unfortunately i dont have SSH access. Is there another option to run the script?

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

  • Franz Heine
  • Franz Heine's Avatar Topic Author
  • Offline
  • Premium Member
More
1 week 5 days ago #173843 by Franz Heine
Franz Heine replied the topic: item images disappeared after update to 2.10.1
Solved it!

If you dont have SSH, just copy rebuild.php to the root and call it over the browser. For ex:

yourdomain.com/rebuild.php

After success the result is displayed in the browser.

Important: Erase after the rebuild the rebuild.php from your server

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
1 week 3 days ago #173866 by Fotis
Fotis replied the topic: item images disappeared after update to 2.10.1
Sure, it works, but you need to disable any timeouts. Plus, you won't get any progress feedback...

In any case, issue resolved :)

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.


Powered by Kunena Forum