Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+3 votes
1.4k views
in Plugins by
In few q2a forums I could see that developers displayed an image from the question's content for each question in the question list.

I would like to know how this could be done the easy way.

Probably we can use a plugin to override the appropriate functions? -> Filter the content with regex, if image detected, display in 30x30 size or so...?

2 Answers

+2 votes
by

I see this well in WordPress hack. e.g.
http://www.wprecipes.com/how-to-get-the-first-image-from-the-post-and-display-it

After having extracted src attribute list of img tags in this regular expression, you can handle it freely. Because thumbnail count and size is necessary, I think that method to be realized in plugin is good.

by
Interesting... How to adapt it on q2a ?
...