I have a very important question : I use GK4 for display K2 article.
Sometimes, there is no image (thumbnail) defined for the article, so GK4 don't display any image.
How I could simply add a default image in the code ?
I try to add at line 242 in layout.parts.php :
- Code: Select all
if ($item_image_exists == false){
$img_src=JURI::root()."modules/mod_news_pro_gk4/tmpl/no_image-400x400.jpg";
$item_image_exists = true;
}
I want the program take this image if he don't find any src image, and with it he creates the thumbnail in the good size alone...
But this didn't work, how I can do ?
For example, I have that when an article don't have thumbnail :
You see the first article, how put a default image for him ?