1,535 Topics
| |
Images in MFC are created in OnDraw function. We have to give " pDC->m_hDC " in parameter if we want to draw an image.. Problem is that we can get pDC only in our OnDraw function. Now if we want to draw images outside that OnDraw then we need to … | |
I have a Toshiba C850-P5010 notebook. Its a bit outdated and i wonder if i can increase its graphics performance. I had an on board 2gb ram which i have recently upgrade to 6gb. It has an intel HM76 chipset and i am currently running windows 7 ultimate 64 bit. … | |
Hello all! I have the following code for a drop down menu, I need some help now to make the hover link to have an arrow bellow the blue box, and the active link to look the same. HTML: <ul> <li><a href="<?php echo url('/'); ?>">Home</a></li> <li><a href="<?php echo url('/about'); ?>">About</a></li> … | |
Hello everyone, I want to download an image which was uploaded from the database Here is my HTML codes for the download link <a href='download.php?id=<?php echo $data["LRCard"]; ?>'>Download</a> and here is my download.php code <?php include 'Connect.php'; mysql_select_db("student"); $id = $_GET['id']; $student_id = htmlentities($_REQUEST['id'], ENT_QUOTES); $result = mysql_query("SELECT LRCard FROM … | |
hello i have a problem understanding how a function works for example i wrote this php code <?php $face = $Wall->Profilepic($profile_pic_path); $query = mysql_query("SELECT * FROM `messages` WHERE type ='A' AND uid_fk = '$uid'"); while($row=mysql_fetch_array($query)) { echo '<a href="'.$base_url.'roves/'.$row['msg_id'].'" ><img src="'.$face.'" class="small_face" original-title="'.$row['message'].'" ></a>'; } ?> and i named a … | |
I was trying to develop the system so I am stuck, how to insert the image | |
Hi guys having a little problem getting my brain wrapped around this, im new to php and need some help, on my homepage i have a product spotlight container. In this container i would like to pull information from a table in my database and display the relevant content. I … | |
Hi Everybody, I hope someone can help with this, it's taken so long to get this close but I just can't figure out the last small (but show stopping) detail. I start with a string of text and a font-face entered/selected via a form. I am using imagettfbbox to determine … | |
This is my first try with turtle graphics in Python. It is in fact a sort of "translation" from some old LOGO code. When you run it, this should be the result: ![dbf0a4f76975c5cc4dee5df30139f144](/attachments/small/1/dbf0a4f76975c5cc4dee5df30139f144.png "align-left") Insiders can perhaps play the "Dark side of the moon" record by Pink Floyd :) Any … | |
I'm new to Javascript but need to write a script to enter some text into a form, hit submit and then copy an image to a word document. I'll post the website I'm trying to do this with and maybe you guys can give me some points. Note: I'm a … | |
I am trying to fetch an image from database and display in my webpage through pdo, Image is not displaying instead it appears as "lº·“w~ïFVÅà%@ |vmŸú¿E8Ö®?ð²ý>ñNòTML°^¯F®Ìü9ù²÷fÕèÕÙ³îç®^éª@1 ½§~îþlY4º7ñZS,,¾³Ö9ú7“c*Ð5z4v^[éÙý¹Yõú¨Ôè—fkIrÓ·knó~þRmü2¶: %@Ì®Òß ¸t¾•ÈáºG¼Ohý¤øtå’ÿêÙ·/÷G£c*Ж1ñ:;¶¡œý‘º[[mÇ+-·ŸÕµÈàuæžwvÇ=¹Þì»tUÀñäÏòå챃µ8§ÙN¹uòÄx].Mr+Ñœ–<¥©c§•éõ¼“=/‹" - MY Code is., <div class = "controlbox"> <form action = "<?php echo $_SERVER['PHP_SELF']; ?>" method = "get"> <select name = … | |
input_image.php <p>metode image managementnya masih konstruksi</p><center> <p> <?php include('../includes/koneksi.php'); $id = isset($_POST['id']) ? $_POST['id'] : ''; $confirmation = isset($_POST['confirmation']) ? $_POST['confirmation'] : ''; $judul = isset($_POST['judul']) ? $_POST['judul'] : ''; $image = isset($_POST['image']) ? $_POST['image'] : ''; //Load berita if (!empty($_REQUEST['id'])){ $result = mysql_query("SELECT * FROM gallery WHERE id =".$_REQUEST['id']) … | |
i am trying to create custom marker in google map with numbered marker. in which marker image is custom and want to placed number as a label, So can anybody tell me how to do it. here is my code var locations = [ ['Bondi Beach', -33.890542, 151.300856, 4], ['Coogee … | |
How to insert image name in database and image store in folder image with move_uploaded_file usign PDO: this is my query: $stmt = $db->prepare('INSERT INTO blog_posts_seo (postTitle,postSlug,image,postDesc,postCont,postDate) VALUES (:postTitle, :postSlug, $filename, :postDesc, :postCont, :postDate)') ; $stmt->execute(array( ':postTitle' => $postTitle, ':postSlug' => $postSlug, '$filename' => $image, ':postDesc' => $postDesc, ':postCont' => … | |
I have attached an image file i want to escape first there rows and import data from sudha---- if(isset($_POST['submit'])) { $account_type = $_POST['account_type']; $fname = $_FILES['sel_file']['name']; echo '<center class=green>Uploaded file name is: '.$fname.'</center> '; $chk_ext = explode(".",$fname); if(strtolower(end($chk_ext)) == "csv") { $filename = $_FILES['sel_file']['tmp_name']; $handle = fopen($filename, "r"); fgetcsv($handle); //skip … | |
I have windows form have 3 controls 1-textbox1 2-button 3-picture box1 what i need is to display image in picture box1 when i press button to show the file name that written in textbox by searching the file in shared folder in network and if found it show it example … | |
How to upload images into database with pdo or only image name and image move into folder | |
OK, I have been experimenting around with GridBagLayout and I'm getting the hang of it. Things are looking the way I want them to on the INITIAL drawing of the GUI. However, when I RESIZE the JFrame to make it smaller vertically, at a certain point, the proportions get skewed. … | |
I'm confused on how to insert a picture a jpg to be exact into a windows form on visual studio 2012. | |
Hi, I am trying to display two or more images from a database and I cannot get them to display simultaneously. I have a database table called 'tbl_images' which has two fields 'id' and 'image' here is the code for the database creation: [code=mysql] CREATE TABLE tbl_images ( id tinyint(3) … | |
<?php /* @Author: Hannan_Mondul php( image) 2014 */ if($im = imagecreate(200,200)){ $ba = imagecolorallocate($im,255,0,0); imagerectangle($im,0,0,200,200,$ba); imagejpeg($im); header("Content-Type: image/jpeg"); imagedestroy($im); }else{ throw new exception ("Sorry the GD Libary not set up"); } }catch(exception $e){ echo $e->getMessage(); } ?> | |
Hi I have the following code that uploads images and other files to an SQL Server DB on GoDaddy via a FileUpload Control on an aspx page. Public Function InsertData(ByVal cmd As SqlCommand) As Boolean Dim strConnString As String = System.Configuration.ConfigurationManager.ConnectionStrings("ConnectionString").ConnectionString Dim con As New SqlConnection(strConnString) cmd.CommandType = CommandType.Text cmd.Connection … | |
Hi All, **I have Gadmei UTV-382 USB Tv Tuner Card with XCEIV 4100 analog tuner, with cable Tv and Antenna(local Tv) support, no FM and no availability of I/Q samples**. In Directx GraphEdit i was able to run the device but on its default settings. **I want to dump the … | |
Hi, I need free API or Plugins using php for converting Webpage to Image. i.e. Jpg or png format I've tried api's like 1.webthumbnail.org 2.http://www.w3snapshot.com/support.php | |
hello. i have some problem while uloading song or image in php...if i have a song name like "05.Judaiyaan [MusikMaza.Com].mp3" then it have double dots...and i am unable to retrieve mp3 extension...can anyone help me out??? | |
I have an application I have been buidling for awhile and have finally finished the first draft of it (it's a screensaver). Anyway, during my countless hours of testing never once did I see an error this error I am getting now. The error I am getting only occurs when … | |
Following Diafol's suggestion, here it is: a photo thread for everyone. Some obvious basic rules apply. Only post photos taken by you, no third parties (unless approved by the person) and please, no frigging selfies!!! I have enough of those on Facebook... I'll kick start with two from my Harley … | |
Hi, I am doing the mouseover code but what if i dont want it to effect on top of the main image, i want to position the hover image somewhat top/left/right/bottom than the main image. Can it be done? <img src="images/b.png" onmouseover="this.src='images/a.png'" onmouseout="this.src='images/b.png'" > Thank you in advance. | |
hi, i am making a project in which i have to read barcode from scanned document and i have got a piece of code with its demo version from internet.but the thing which i am unable to understand in its demo version is that when the demo reads my scanned … | |
I am recently developing a software(using Visual Basic 2010 Express) that has a feature that would store image on the database(MS Access 2007).. My problem is, how can i store image on msAccess and then retrieve it again on my application |
The End.