24
shiva, good work, last files are running very good
now , try to add the picture to module's block
mrphilongmake this stip to have clickable picture
1- open this file to edit it "modules/news/templates/news_item.html"
2 - search for
<{if $img_thumb!=''}>
<img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:<{$img_thumb}>px;height:auto;">
<{else}>
<img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:auto;height:auto;">
<{/if}>
replace it with
<{if $img_thumb!=''}>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$story.id}>"><img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:<{$img_thumb}>px;height:auto;"> a>
<{else}>
<a href="<{$xoops_url}>/modules/news/article.php?storyid=<{$story.id}>"><img src="<{$xoops_url}>/modules/news/images/storys/<{$story.story_imgurl}>" style="float:left;padding:8px;border:1px;width:auto;height:auto;"> a>
<{/if}>
you will have what you want
that an exampel here
http://www.raf3.org