Define a default intro image on article submissions

by Paul Aptel   Last Updated July 10, 2019 14:10 PM - source

I'm searching a way to define a default intro image in the Joomla article creator from the core (when a user create an article if he don't add an intro image there is one by default generated from a file in my server).


  • Template override of com_content
  • Inject into something like :
IF content.images.length == 0 
THEN
show default image
ELSE
run normal code for displaying content images
END IF

Thanks for @haydenyoug for his help.




Related Questions


Show image from the article in blog layout

Updated November 02, 2016 09:04 AM

Add html to Article Image captions

Updated November 08, 2017 16:10 PM

Additional "Images And Links" fields - corect way

Updated January 26, 2018 11:10 AM

Edit multiple images at once

Updated March 23, 2016 08:04 AM

Random image in an article

Updated April 22, 2016 09:04 AM