Hi Bernd Schaumburg,
Please open the yt_k2slideshowii.php in "your_site/modules/mod_yt_k2_slideshowii/assets", 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($item['img'] == ''){
$item['img'] = no_image_path;
}
if (!isset($item['thumb'])) {
$item['thumb'] = $this->processImage($item['img'], $this->thumb_width, $this->thumb_height, $item['id']);
}
if($this->imagesource == 1){
$item['thumb'] = $item['img'];
}
$item['small_thumb'] = $this->processImage($item['img'], $this->small_thumb_width, $this->small_thumb_height, $item['id']);
$tmp[] = $item;
}
return $tmp;
}
In which,
no_image_path is the path of your no image. Example: "modules/mod_yt_k2_slideshowii/assets/no_images.png"
Thanks