Dear Shahrooz Sharifan,
Please go to "modules\mod_sj_content_slider\core\contentsliderreader.php", finding:
// image extract
if (!isset($item->image_extracted)){
$item_image = YTools::extractimages($item->description);
$item->image_extracted = true;
}
if (!isset($item->image)){
// get first exists image
foreach ($item_image as $i => $image_url) {
if (YTools::isUrl($image_url) || file_exists($image_url)){
$item->image = $image_url;
break;
}
}
}
// final check image exists
if (!isset($item->image) || (!YTools::isUrl($item->image) && !file_exists($item->image))){
$item->image = 'modules/'.Ytools::getModule()->module . '/assets/images/nophoto.gif';
}
=>
if(isset($item->images) && !empty($item->images)){
$intro_images = json_decode($item->images);
}
if (!isset($item->image)){
if(isset($intro_images->image_intro) && !empty($intro_images->image_intro))
{
$item->image = $intro_images->image_intro;
}elseif(isset($intro_images->image_fulltext) && !empty($intro_images->image_fulltext)){
$item->image = $intro_images->image_fulltext;
}else{
// image extract
if (!isset($item->image_extracted)){
$item_image = YTools::extractimages($item->description);
$item->image_extracted = true;
}
// get first exists image
foreach ($item_image as $i => $image_url) {
if (YTools::isUrl($image_url) || file_exists($image_url)){
$item->image = $image_url;
break;
}
}
}
}
// final check image exists
if (!isset($item->image) || (!YTools::isUrl($item->image) && !file_exists($item->image))){
$item->image = 'modules/'.Ytools::getModule()->module . '/assets/images/nophoto.gif';
}
Thanks