Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.

Fetch First image from content and use it as beside question in activity and hot page

+1 vote
asked Nov 30, 2015 in Q2A Core by qnAfanatic
Hi, How can i fetch first image from content and display it in list of question in activity and home page.

I can do reg-ex for taking image from content, but how, can i fetch content on recent question, or hot question page ?

Or do i need to find alternative.

My purpose is to show the image just beside "vote", "reply" , "image" and "question" in "recent activity", "hot" page.

Per image from content of the same question. ( Kind of featured image in wordpress )
Q2A version: 1.7

Please log in or register to answer this question.