Dear Kenneth Whistler,
If you want to display the intro image of category firstly, please go to "modules\mod_sj_categories_accordion\core\categoriesaccordionreader.php", finding:
if (!isset($category->image_extracted)){
$cat_images = YTools::extractImages($category->description);
$category->image_extracted = true;
}
if (!isset($category->image)&& isset($cat_images) && count($cat_images)){
foreach ($cat_images as $i => $cat_url) {
if (YTools::isUrl($cat_url) || file_exists($cat_url)){
$category->image = $cat_url;
break;
}
}
}
=>
$category->image = '';
$cat_intro_image = json_decode($category->params);
if(!empty($cat_intro_image->image)){
$category->image = $cat_intro_image->image;
}else{
if (!isset($category->image_extracted)){
$cat_images = YTools::extractImages($category->description);
$category->image_extracted = true;
}
if (isset($cat_images) && count($cat_images)){
foreach ($cat_images as $i => $cat_url) {
if (YTools::isUrl($cat_url) || file_exists($cat_url)){
$category->image = $cat_url;
break;
}
}
}
}
Thanks