Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+6 votes
2.1k views
in Plugins by
Hello,

I would like to set up a Q2A as a "discussion portal" that also features kind of a "news section". Is there a plugin that can show thumbnails next to a question (or "discussion" how it will be called on the portal I want to set up)? I think this would make my Q2A more attractive because users will be more eager to click on a question and take part in the discussion.

Thank you in advance

Alex
by
unfortunately No plugin as far as i know
by
If you want to useful answer, you should express your hope with a picture.
by
I think i can guess what he needs and create an image and posted as an answer below

1 Answer

+5 votes
by

In responce to sama55 comment I provide my answer to Sama here as I could not uplod images to my comment:

I think he means somethign like the image below where the thumbname are extracted from images insite the question. So the code parses the question content which is in HTML and looks for <img> tags and extracts the image and creates a thumbnail. If multiple image exists the thumbnail comes from first image the parser finds. if no image then a defualt thumbnail gets displayed

by
edited by
Thanks Waterfr.

> code parses the question content which is in HTML and looks for <img> tags and extracts the image
This is not so technically difficult.

> If multiple image exists the thumbnail comes from first image the parser finds.
Because first appearing image may not be image related to the question, this may have some problems. For example, when we add external link in post of Facebook, images of page are extracted. And, we can choose those images. if he expect more accurate processing, these feature will be necessary.

Expected problem:
Because there become many requests of the image, question list page performance may worsen. I forgot which version it happened from, but Gideon turned by default off the avatar display to questions list of Q2A. I think that he did not to worsen the performance of the question list. But these problems may be solved by taking image from server with Ajax. I do not have confidence. . .
by
Thank you Waterfr Villa, that is exactly what I meant.
by
Is there any plugin to display the thumbnail for question on Q2A site ?
by
I like this idea..
...