1,535 Topics

Member Avatar for
Member Avatar for M.Mahroz

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 …

0
125
Member Avatar for sanyam.mishra

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. …

Member Avatar for Xlphos
0
305
Member Avatar for dimitris4463

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> …

Member Avatar for dimitris4463
0
398
Member Avatar for hanspeare

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 …

Member Avatar for hanspeare
0
340
Member Avatar for SimonIoa

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 …

Member Avatar for Borzoi
0
401
Member Avatar for dlunge
Member Avatar for jwenting
0
122
Member Avatar for Ventech_IT

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 …

Member Avatar for tapananand
0
421
Member Avatar for slyme

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 …

Member Avatar for diafol
1
1K
Member Avatar for ddanbe

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 …

Member Avatar for ddanbe
3
2K
Member Avatar for Stein102

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 …

Member Avatar for DJBirdi
0
254
Member Avatar for My question

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 = …

Member Avatar for My question
0
3K
Member Avatar for davy_yg

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']) …

Member Avatar for Sikander Nasar
0
354
Member Avatar for sanjay_7

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 …

Member Avatar for pritaeas
0
243
Member Avatar for gogs85

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' => …

Member Avatar for pritaeas
0
230
Member Avatar for chaitu11

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 …

Member Avatar for Benjamin_11
0
3K
Member Avatar for ahmedsa

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 …

Member Avatar for hericles
0
173
Member Avatar for gogs85

How to upload images into database with pdo or only image name and image move into folder

Member Avatar for diafol
0
2K
Member Avatar for VernonDozier

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. …

Member Avatar for Doogledude123
0
4K
Member Avatar for theashman88
Member Avatar for tinstaafl
0
113
Member Avatar for AdriftUniform

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) …

Member Avatar for garyrichard
0
16K
Member Avatar for Hannan_2

<?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(); } ?>

Member Avatar for diafol
0
134
Member Avatar for Antpit

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 …

Member Avatar for Antpit
0
351
Member Avatar for Masood_786

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 …

0
111
Member Avatar for nagarajfloret

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

Member Avatar for veedeoo
0
218
Member Avatar for hriti

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???

Member Avatar for diafol
0
161
Member Avatar for JOSheaIV

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 …

Member Avatar for Ketsuekiame
0
213
Member Avatar for blackmiau

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 …

Member Avatar for blackmiau
2
689
Member Avatar for missy_mi

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.

Member Avatar for missy_mi
0
467
Member Avatar for sanz

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 …

Member Avatar for JOSheaIV
0
295
Member Avatar for jeffersonalomia

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

0
116

The End.