I added this line in my custom template to display the image:
<?php echo $article->images; ?>
And I got this as a result:
{"image_intro":"images\/articles\/liang2.jpg","float_intro":""}
So, I tried to display the image using this:
<img src="<?php echo $images->image_intro; ?>" >
The output is this:
<img src="">
instead of <img src="images/articles/liang2.jpg">
Where am I going wrong?