Ok , I need someone who is good with not only php , but javascript and DHTML as well.
Here's what im trying to do ...
I want to open images in a new layer ( DHTML Window) such as this site ..
www.cpixel.com , Click on any profile on the right hand side , then click on a thumbnailed image .. you see how that opens? Ok. I have the DHTML code to do that .. It's located at
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm
Now .. The code that i currently use in my php script to display images is.
$img_src = $base_url."/image.php?id=" . $a_row["user_id"] . "&p=" . $a_row['total_file_count'];
$imgsrc = "id=" . $a_row["user_id"] . "&p=" . $a_row['total_file_count'];
$delete_url = $base_url . "/delete_image.php?id=" . $a_row['total_file_count'] . "&user=" . $a_row['user_id'];
$return .= "<td width=\"33%\" align=\"center\"><a href=\"viewimage.php?$imgsrc\" target=\"_blank\"><img src=\"$img_src\" width=100 height=100 border=0 alt=\".: $array[username] :.\" title=\".: $array[username] :.\"></a>";
Please note.. the code that i just pasted MUST remain $return = , Please dont tell me to echo out the statement , its like this for a reason.
What this code does is build a table , Resize the Images to 100 x 100 (thumbnails) then onclick <a href=\"viewimage.php?$imgsrc\" target=\"_blank\">
It loads the image in a new browser window .. but i want it to load in my DHTML popup window ..
ive tried for days to code this differently and everything i do fails.
Could someone Please Help me?