- Posts: 109
COMMUNITY FORUM
item images disappeared after update to 2.10.1
- Franz Heine
- Topic Author
- Offline
- Premium Member
Less
More
4 years 11 months ago #173830
by Franz Heine
item images disappeared after update to 2.10.1 was created by Franz Heine
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?
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #173831
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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
I recommend not tampering with K2 files.
Use this to regenerate your images: github.com/getk2/rebuildK2imageCache
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 109
4 years 11 months ago #173833
by Franz Heine
Replied by Franz Heine on 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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #173834
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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."
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Franz Heine
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 109
4 years 11 months ago #173835
by Franz Heine
Replied by Franz Heine on 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?
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago - 4 years 11 months ago #173838
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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".
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Last edit: 4 years 11 months ago by JoomlaWorks.
Please Log in or Create an account to join the conversation.
- Franz Heine
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 109
4 years 11 months ago #173841
by Franz Heine
Replied by Franz Heine on 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
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 109
4 years 11 months ago #173843
by Franz Heine
Replied by Franz Heine on 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
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.
- JoomlaWorks
- Offline
- Admin
Less
More
- Posts: 6218
4 years 11 months ago #173866
by JoomlaWorks
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by JoomlaWorks on 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 :)
In any case, issue resolved :)
Fotis / JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- mahendra
- Offline
- New Member
Less
More
- Posts: 7
3 years 4 months ago #179254
by mahendra
Replied by mahendra on topic item images disappeared after update to 2.10.1
Hi Fotis,
I have updated k2 from 2.8.0 to 2.10.3 and my images are also disappeared. I have tried to run rebuild.php from browser but nothing happen also I have notice one thing that in the rebuild.php file all the image extensions are jpg but my all the item images are in the png so I have to change in rebuild file to replace jpg with png? or need to do something else? please help
thanks
I have updated k2 from 2.8.0 to 2.10.3 and my images are also disappeared. I have tried to run rebuild.php from browser but nothing happen also I have notice one thing that in the rebuild.php file all the image extensions are jpg but my all the item images are in the png so I have to change in rebuild file to replace jpg with png? or need to do something else? please help
thanks
Please Log in or Create an account to join the conversation.