My current users from vb3.8 are still getting used to the new "Insert Image" button (insertimage.png) in vb4, which allows upload from URLs, COmputer etc.
They have asked whether I can simply putback the old vb3 insert image button (insertimage.gif) and have the pop up box where they can input their URL and then vb will automatically wrap around them.
Any help would be appreciated.
--------------- Added [DATE]1271773984[/DATE] at [TIME]1271773984[/TIME] ---------------
I'm not a programmer, but I've tried to look at the code in vb3 for the insert image button which is:
Code:
<if condition="$show['img_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="$stylevar[imgdir_editor]/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
</if>
Looking at the code for vb4's PHP button which is:
Code:
<vb:if condition="$show['php_bbcode']"><img src="{vb:stylevar imgdir_editor}/php.png" class="imagebutton" id="{vb:raw editorid}_cmd_wrap0_php" width="20" height="20" alt="{vb:rawphrase wrap_php_tags}" /></vb:if>
I came with this (substituting the vb4 code with the vb3 parameters):
Code:
<vb:if condition="$show['img_bbcode']"><img src="{vb:stylevar imgdir_editor}/insertimage.gif" class="imagebutton" id="{vb:raw editorid}_cmd_insertimage" width="20" height="20" alt="{vb:rawphrase insert_image}" /></vb:if>
The button appears but doesn't work.
Any help would be appreciated.