disculpa pero no quede claro con tu respuesta donde es que debo de poner exactamente
$nombre=basename('/imagenesupload/'.$_GET['imagen']); aqui esta el codigo de donde deseo cargar las imagenes <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Documento sin título</title>
<style type="text/css">
<!--
.Estilo9 {color: #FFFFFF}
.ver10 {font-family: Verdana, Arial, Helvetica, sans-serif;
font-size: 10px;
text-decoration: none;
color: #000000;
}
-->
</style>
</head> <body>
<table cellspacing="0" cellpadding="0" width="552" align="center" border="0">
<tbody>
<tr>
<td colspan="3" height="10"> </td>
</tr>
<tr>
<td colspan="3" height="10"><?
include ('php/conexion.php');
<SPAN style="COLOR: #000000"><FONT face="Courier New"><SPAN style="COLOR: #007700">
mysql_select_db('$sql_db',$conexion);
$num_displayed = 4 ;
$sql_db = "SELECT * FROM productos ORDER BY RAND() LIMIT $num_displayed";
$resultid = mysql_query($sql_db,$conexion);
?>
<?
$num_filas = 0;
while ($damefila=mysql_fetch_object($resultid))
while ($damefila2=mysql_fetch_object($resultid))
while ($damefila3=mysql_fetch_object($resultid))
while ($damefila4=mysql_fetch_object($resultid))
{
?></td>
</tr>
<tr>
<td valign="top" width="233"><table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td><img height="30" alt="" src="
http://osc.template-help.com/12846/images/m19.gif" width="5" border="0" /></td>
<td width="231" height="30" bgcolor="#76C409" class="blanco"> <span class="Estilo9"><font face="Arial" size="2"><?echo strip_tags($damefila->nombre)?></font></span></td>
<td><img height="30" alt="" src="
http://osc.template-help.com/12846/images/m21.gif" width="5" border="0" /></td>
</tr>
<tr>
<td width="231" colspan="3" valign="top"><table border="0" cellpadding="0" cellspacing="0">
<tbody>
<tr>
<td colspan="3" height="6"></td>
</tr>
<tr>
<td valign="top" align="right" width="100"><a href="