Quote:
Originally Posted by Tulsa
Yes I understand it's using the thumbnails. I'd like to change that to where it just shows the pic without going to the preview page. I understand I can just delete the url to link to the preview page and the thum_ reference in the bbcode and achieve this but I would prefer to post it directly without having to manipulate it. Is it possible to change this and if so, where should I change it?
|
if you want to do that
go to the template vbimghost_popupload_pre
find
Code:
//just thumb
result = '
';
<if condition="!$vbimghost[thumbsize]">
result_html = "<a href='" + dispath+ "' target='_blank'><img src='" + thumbp + "' border='0'></a>";
<else />
result_html = "<a href='" + dispath+ "' target='_blank'><img src='" + thumbp + "' width ='" + thumbsize + "' border='0'></a>";
</if>
and replace it with
Code:
//just thumb
result = '
';
result_html = "<img src='" + thumbp + "' border='0'>";
also find
Code:
<body onload="sendLink('$vbimghost[thumbpath]','$vbimghost[dispath]','$vbimghost[thumbsize]');">
and replace it with
Code:
<body onload="sendLink('$vbimghost[path]','$vbimghost[dispath]','$vbimghost[thumbsize]');">
that should do it for you