Hi,
I was wondering if is possible to get the first img in the post and display as a thumbnail on the listing of the threads?


example,

thumb 1 thread title
thumb 2 thread title
thumb 3 thread title

basically I want to have a thumbnail displayed next to the thread title.

I have the following code but I dont' think is passing the variable through vbadvanced.


here is the code.

first I need to find where the "editor_message" is in the vbadvanced template and replace before it to get the img url stored
Code:
<vb:if condition="$show['thumbnailurl']">
		<div class="blockrow">
			<label for="thumbnailurl">{vb:phrase thumbnail_url}:</label>
			<input type="text" name="thumbnailurl" id="thumbnailurl" class="primary textbox" value="{vb:raw threadinfo.thumbnailurl}" maxlength="250" />
		</div>
		</vb:if>

next is the "newthread", where you want to display it

Code:
<vb:if condition="$show['thumbnailurl']">
			<div class="blockrow">
				<label for="thumbnailurl" class="full">{vb:phrase thumbnail_url}:</label>
				<input type="text" name="thumbnailurl" id="thumbnailurl" class="primary full textbox" value="" maxlength="250" />
			</div>
		</vb:if>
lastly in the "threadbit"
Code:
{vb:raw thread.thumbnail}