Hi Willem S.A. Da Costa Gomez,
Please go to "your_site/modules/mod_yt_k2_slideshowii/assets/yt_k2slideshowii.php", finding:
function update($items){
$tmp = array();
foreach ($items as $key => $item) {
if (!isset($item['sub_title'])) {
$item['sub_title'] = $this->cutStr($item['title'], $this->max_title);
}
if (!isset($item['sub_main_content'])) {
$item['sub_main_content'] = $this->cutStr($item['content'], $this->max_main_description);
}
if (!isset($item['sub_normal_content'])) {
$item['sub_normal_content'] = $this->cutStr($item['content'], $this->max_normal_description);
}
if (!isset($item['thumb']) && $item['img'] != '') {
$item['thumb'] = $this->processImage($item['img'], $this->thumb_width, $this->thumb_height, $item['id']);
} else {
$item['thumb'] = '';
}
if($this->imagesource == 1){
$item['thumb'] = $item['img'];
}
if($item['thumb'] == ""){
if($this->themes == 'theme5'){
$item['small_thumb'] = JURI::base()."modules/mod_yt_k2_slideshowii/assets/no_images.png";
}
}else{
$item['small_thumb'] = $this->processImage($item['img'], $this->small_thumb_width, $this->small_thumb_height, $item['id']);
}
$tmp[] = $item;
}
return $tmp;
}
change to
function update($items){
$tmp = array();
foreach ($items as $key => $item) {
if (!isset($item['sub_title'])) {
$item['sub_title'] = $this->cutStr($item['title'], $this->max_title);
}
if (!isset($item['sub_main_content'])) {
$item['sub_main_content'] = $this->cutStr($item['content'], $this->max_main_description);
}
if (!isset($item['sub_normal_content'])) {
$item['sub_normal_content'] = $this->cutStr($item['content'], $this->max_normal_description);
}
if (!isset($item['thumb']) && $item['img'] != '') {
$item['thumb'] = $this->processImage($item['img'], $this->thumb_width, $this->thumb_height, $item['id']);
} else {
$item['thumb'] = '';
}
if($this->imagesource == 1){
$item['thumb'] = $item['img'];
}
if($item['thumb'] == ""){
if($this->themes == 'theme5'){
$item['small_thumb'] = JURI::base()."modules/mod_yt_k2_slideshowii/assets/no_images.png";
}
}else{
$item['small_thumb'] = $this->processImage($item['img'], $this->small_thumb_width, $this->small_thumb_height, $item['id']);
}
if(!empty($item['thumb'])){
$tmp[] = $item;
}
}
return $tmp;
}
Thanks