PDA

View Full Version : [Req / Discuss Possibility] Preview Picture In Thread List


mrchu
05-25-2006, 09:47 AM
I am currently using cmps to organise and display an archive of video files, I would like to be able to list video's (threads in the forum) with a preview icon alongside, so the user can click on the preview icon and a preview picture of the thread will be displayed. Each thread is basically an image file (preview of the video) and a link to download the video, so I'd like to be able to parse the tags from a given thread using a preview button, which will then take the picture inside the thread and display it as a preview. I'm quite sure I'm not explaining myself too well, so hopefully the pictures below will clarify.

Before

[IMG]http://divas.celebsnxs.com/before.jpg

After

http://divas.celebsnxs.com/after.jpg

Is there such a mod already in existence? Or perhaps built in functionality? If not, does anybody have any pointers as to where I could start in coding my own?

Kind regards,
chu

mrchu
05-25-2006, 10:20 AM
I'm thinking that if I can process the result of: $thread[preview] to limit itself to what is inside the [img] tags within the post (so it ONLY extracts a valid image URL) I could then create a new column in the thread list, with an icon, which when clicked pops up a new window with the contents of the $thread[preview] parsed image url.

If there is a way I can get it to read an attached image, I would opt for this instead of externally linked images.