Hello,
we have the same problem like “edroga”, but the solution is not working. See here :
http://www.joomlart.com/forums/topic/ja-news-featured-problem-with-displaying-image/
<blockquote>Hi, I have a problem with JA News Featured module. When the article I have a few pictures, unfortunately, JA News Featured module displays the one that is last in the article. I would like to show you the one who is first in the article. Why is this happening? </blockquote>
We have the lastest version (JA News Featured Module 2.5.2).
We changed the code in modules/mod_janews_featured/helpers/jaimage.php like this :
[PHP]else {
$regex = ‘/<img.+srcs*=s*”([^”]*)”[^>]*>/’;
$text = ”;
$text .= (isset($row->introtext))?$row->introtext:”;
$text .= (isset($row->fulltext))?$row->fulltext:”;
preg_match($regex, $text, $matches);
$images = (count($matches)) ? $matches : array();
$image = count($images) > 1 ? $images[1] : ”;
}
return $image;[/PHP]
All caches are cleared, but nothing change. The second image of the article still appears in JA News Featured…
Do you have a idea to fix this ?
Thank in advance.