Quote:
Originally Posted by Goodspeed
I have a question. Is it possible to make a link for full sized image to actual image location, not into vbimage hosting script?
For example when I'm entering images into a thread I get this url by clicking on thumbail image:
Code:
http://www.someforum.com/forum/vbimghost.php?do=displayimg&imgid=3
But I need to open image from actual location, for example:
Code:
http://www.someforum.com/forum/imagehosting/14503f43b8b4c3.jpg
Thank you!
|
yes you can do that
in the template vbimghost_imgbits_poprow
replace the template with this code
Code:
<if condition="$counter==$vbimghost['imgperrow']">
</tr>
<tr>
</if>
<td width="25%" align="center" valign="middle" class="alt1">
<if condition="$thump">
<a href="javascript:void(0)" onclick="sendLink('$vbimghost[thumbpath]','$vbimghost[path]', '$vbimghost[imgwidth]')">
<img <if condition="$vbimghost[thumbsize]"> width="$vbimghost[thumbsize]"</if> src="$vbimghost[thumbpath]" border="0"></a>
<else />
</if>
</td>
and it should work with you