Jump to content

Recommended Posts

i am creating a plugin in wordpress. that need a file uploading option.

 

i use this code

 

<a onclick="return false;" title="Upload image" class="thickbox" id="add_image" href="media-upload.php?type=image&TB_iframe=true&width=640&height=105">Upload Image</a>

 

need to append your Hyperlink to media-upload.php to really make it working ?

 

my issue is that how to get the value to my textbox.

 

 

but insert to post option is missing

 

<form action="insert_logo.php" method="get" id="post" name="post">

<table width="770" border="0" cellspacing="0" cellpadding="0">

<tr>

<td colspan="4"> </td>

</tr>

<tr>

<td> </td>

<td colspan="3"><h3>Add Client Logo</h3></td>

</tr>

<tr>

<td colspan="4"> </td>

</tr>

<tr>

<td width="76" height="34"> </td>

<td width="75">Logo</td>

<td width="145"><input name="client_logo" id="name="client_logo"" type="text" /></td>

<td width="474"><a onclick="return false;" title="Upload image" class="thickbox" id="add_image" href="media-upload.php?type=image&TB_iframe=true&width=640&height=105">Upload Image</a>

</td>

</tr>

<tr>

<td> </td>

<td>Url</td>

<td><input name="name=" id="name=2"client_logo"" type="text" /></td>

<td>[Eg: http://www.sitename.com]</td>

</tr>

<tr>

<td> </td>

<td> </td>

<td><p class="submit"><input name="addlogo" type="submit" id="addlogo" class="button-primary" value="Submit" /></p></td>

<td> </td>

</tr>

<tr>

<td colspan="4"> </td>

</tr>

</table>

</form>

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.