Define a default intro image on article submissions

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

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


Updated November 02, 2016 09:04 AM

Updated November 08, 2017 16:10 PM

Updated January 26, 2018 11:10 AM

Updated March 23, 2016 08:04 AM

Updated April 22, 2016 09:04 AM