Thứ Sáu, 16 tháng 1, 2015

Recreate k2 thumnails items cache

Description:
K2 recreate all thumnails media/k2/item/cache 
Recreate all pictures thumnail with new options.
Default k2 not funtion rereate thumnail

Solution:
1) Copy this file as rebuild.php into "JPATH_ROOT/media/k2/items"
2) Check Variables, use a size of 0 for not processing this image size - Variable in file rebuild.php
3) run rebuild.php (it overwrites existing files without notice)
 
File download:
https://drive.google.com/file/d/0B785Epf6q5Xldks2eHlRX1Nla1U/view?usp=sharing

This guide get from: https://github.com/rdeutz/rebuildK2imageCache

CHECKED recreate thumnails >100 images in <5 minutes
Note: InCase so much images can have time execution -> download all images at localhost, run rebuild at local,  then upload to host.

0 nhận xét:

Đăng nhận xét