Welcome to the Question2Answer Q&A. There's also a demo if you just want to try it out.
+2 votes
in Q2A Core by

I have a site where each question is based on an image.

One uploads the image through the editor, adds the title and question text.

Now in lists I need  the whole question content displayed, includig the images.

(I understand that it slows down the page but I need the pictures visible on the lists...)

What would be the way to do so ?

Any help is welcome !!


There was a similar question here, but without answer so far:


Q2A version: 1.5
I am interested in this also. I would also like to be able to display icons if the question contains a link, image, or other embedded media.

1 Answer

0 votes
selected by
Best answer

Use an advanced theme or layer to intercept the q_list(...) theme function and make the change you want. See the mouseover-layer plugin for some clues.

Yes, look here: http://www.yamemes.com

It is not perfect, as too large images are not resized automatically.
You may upload something funny and try it out...
Looks good.
My requirements are to add thumbnails from questions and also from answers so I will definitely need some custom solution to find on freelancer or somewhere.
You may click on SUBIR ALGO this is the replaced ASK button.
There is a possibility to have the image resized through css to Your fixed thumb dimensions, but I still didnt work with that, as the page was just a trial and is not perfect.

Answers should be similar.

So one basically needs to implement that css resizing and build something similar for the answers.

I already tried to modify the ckeditor so that it uses predefined max dimensions but I couldnt and I as well did not find anybody who resolved that. It would be helpful, as one could reduce the upload form to a single dialog window.

I would go ahead with a foto comment page, but actually I am not really happy about storing allways the huge images into the database.

Besides, I would be happy to see what You are working on, just to understand Your needs, You may email me if You want or allowed to...
Please, paste the code, pastebin..