6,113 Topics

Member Avatar for
Member Avatar for ramsiva

I am not getting while clicking on image my code $pdf->Image('logo.png',10,20,33,0,' ','http://www.fpdf.org/'); working but I want to display the local file. Mean click on image it will go the the file path. Below code is not working $pdf->Image('a.jpg',20,65,20,0,'','searchstudentavailability.php');

Member Avatar for broj1
0
231
Member Avatar for chotep

Hi.. I have this problem in vb 2008 with this MDI parent form.. I know that you can't put any imageBackground for this, so I've just put a pictureBox the size of the MDIparent form to make it look like its background. But when I'm opening another form(it is just …

Member Avatar for melvinbelo
0
2K
Member Avatar for Priti_P

hello, i tried with below code but its not working for me. I am send it to gmail. is there anything which i have missed out? $subject = "Happy Work Anniversary !" ; $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; $link = public_path() . …

Member Avatar for pritaeas
0
210
Member Avatar for phoenix254

HI I want to make an image slider where show user uploaded images from his directroy his directory or folder. [Image slider like this.](http://postimg.org/image/hl3pdp3mr/)

Member Avatar for phoenix254
0
4K
Member Avatar for vegaseat

Sometimes it's easier to pick an image from the internet to display in your Python Tkinter GUI toolit program.

Member Avatar for vegaseat
1
5K
Member Avatar for ramsiva

Any body help me to get image name in save page I have <img> tag for image. i want this <img> name is transfer to save.php using <input type "file"> any body help me I want to get image name In <img> tag image name. my code is index.php <img …

Member Avatar for jkon
0
221
Member Avatar for ramsiva

Any body help me to get file name, i am using webcam my code is <div class="row"><label class="col-xs-2">Take Image<span style='color:red;'>*</span></label><div class="col-xs-4"> <table class="main"> <tr> <td valign="top"> <div class="border"> Live Webcam<br> <script> document.write( webcam.get_html(304, 214) ); </script> </div> <br/><input id="snap" name="snap" type="button" class="snap" value="SNAP IT" onClick="take_snapshot()"> </td> <td width="50">&nbsp;</td> <td valign="top"> …

0
75
Member Avatar for AntonyRayan

Hi, In admin side, I enter the details with image, while uploading the image I get a alert box error like this "DataTables warning (table id = 'DataTables_Table_0'): Requested unknown parameter '6' from the data source for row 0", but the image is saved in db. What is th solution …

Member Avatar for AntonyRayan
0
160
Member Avatar for fireburner29
Member Avatar for dennishall

Hi: I've been banging my head over this all day... I'm attempting to create my first WordPress theme and have hit a wall trying to work with the "the_post_thumbnail()" function. In my theme, I'm using panels to navigate the site (rather than a top menu) and have them setup so …

Member Avatar for lps
0
258
Member Avatar for Hong_1

Following is the javascript that will change the images in a specific time function startTime() { var timerid = 0; var images = new Array("CSS/Images/shy-baby.jpeg", "CSS/Images/yao-ming.png", "CSS/Images/success.jpg"); var countimages = 0; if (timerid) { timerid = 0; } var tDate = new Date(); if (countimages == images.length) { countimages = …

Member Avatar for DaveAmour
0
250
Member Avatar for ashok_11

<html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript" src="http://code.jquery.com/jquery-1.8.2.min.js"></script> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.8.2/jquery.min.js"></script> <!-- directorySlider Javascript file --> <script src="js/directorySlider.js"></script> <script src="js/directorySlider.min.js"></script> <script> $('#slider-main').directorySlider({ animation: 'fade', filebase: 'img_', directory: 'images/', extension: 'jpg', numslides: 2, height: 200, width: 483, timeout: 100 }) </script> </head> <body> <div class="directorySlider" id="slider-main"></div> </body> </html> <meta http-equiv="Content-Type" …

Member Avatar for AleMonteiro
0
750
Member Avatar for MarkDbro

I have a question about inserting images into a product page. I have 5 images (saved as longblobs in my products table) and would like to put them in my table like the id, name, quantity and price.... any idea of how i would do this? I have this so …

Member Avatar for MarkDbro
0
1K
Member Avatar for kajuu

hello everyone, i want chage stone and metal of selected ring in php and that changes are requred to save . plz help me

Member Avatar for broj1
0
40
Member Avatar for phoenix254

if ($count == 1){ $suc= move_uploaded_file($file_tmp, $destin.$file_name); echo"<br/>"; $query = mysqli_query($con,"INSERT INTO login ( profile_img) VALUES ('$file_name') WHERE useremail='".$_SESSION["sess_useremail"]."'") or die("can t still upload ".mysql_error());}

Member Avatar for pritaeas
0
179
Member Avatar for Randomishlying

(I’m pretty desperate to fix this thing, so I’m going to try to be as thorough as possible) Before the problem occurred (this may not be important, but just in case): I took my hard drive out to hook it up as a slave (for storage) to a different computer. …

Member Avatar for Ebenezer majari
0
466
Member Avatar for newbi11

Hi everyone Please I would really appreciate if someone could help with a code on how to add an image to a footer using css: Here's is my footer code: CSS: #footer { width:920px; margin:0 auto; background:url(../../images/footer.png) } .footer-cities { padding:15px 10px 10px 20px; border-bottom:1px dotted #fff } .footer-cities-holder { …

Member Avatar for alisajjad160
0
5K
Member Avatar for baudday

Hey everyone! I'm brand new to Android and have been working on a very basic app that just takes a picture with an image overlay and saves it. So far I have figured out how to get the camera preview, take a picture, and do an image overlay on the …

Member Avatar for Schol-R-LEA
0
2K
Member Avatar for AntonyRayan

Hi , I have no idea for this, I am displaying images from db dynamically, by clicking gallery link I dislay all the images, but I want to display by folder type for a set of images. Can anyone help for me?

Member Avatar for DaveAmour
0
161
Member Avatar for Reza_5

Hello everyone! I am trying to divide image into blocks of 8x8 pixels and applying DCT Transform in each blocks. But I don't know how to divide the image. Thanks for helping me. namespace DCTTransform { public partial class Form1 : Form { Image<Bgr, Byte> img; Image<Ycc, Byte> imgYcc; Bitmap …

Member Avatar for castajiz_2
0
2K
Member Avatar for shashigowda

i want to create a image gallery,i want to insert multiple files at a time,that should be stored in a database,and i want to display that in my profile.php as a gallery.

Member Avatar for jj.dcruz
0
289
Member Avatar for AntonyRayan

Hi. I am displaying image dynamically from database, When I click the particular image I want to show that image in a popup or lightbox in a simple way. How to do?

Member Avatar for jj.dcruz
0
144
Member Avatar for Doogledude123

I'm painting a grid on the JPanel and trying to scroll the grid with a JScrollPane. I have a feeling the scrollpane is getting the actual size of the panel, instead of the size including what is not being shown. Something along those lines at least, I can't quite wrap …

Member Avatar for mKorbel
0
1K
Member Avatar for shashigowda

<?php session_start(); <?php session_start(); require('connect.php'); if(isset($_SESSION['username'])) { $dir="image/"; $file_name=$dir.basename($_FILES['uploads']['name']); $fileUpload=1; $imageType=pathinfo($file_name,PATHINFO_EXTENSION); $image= addslashes(file_get_contents($_FILES['uploads']['tmp_name'])); $image_name = addslashes($_FILES['uploads']['name']); $image_size = getimagesize($_FILES['uploads']['tmp_name']); if(move_uploaded_file($_FILES['uploads']['tmp_name'], $file_name)) { echo "uploaded succesfully" ; echo "<img src='$file_name' width='50px' height='50px'>"; $querry="SELECT image FROM users WHERE username='$username'" or die(mysql_error()); $result=mysql_query($querry) or die(mysql_error()); $row=mysql_fetch_assoc($result) or die(mysql_error()); $oldimage=$row['image']; unlink('directory/image/'.$oldimage); /* $deleter = …

Member Avatar for shashigowda
1
9K
Member Avatar for AntonyRayan

Hi , In a form , I have a field for image , in edit page, i can display that image, when I am clicking update, without modifying image it shows error in image. How to save previous image if its not changed. Sample Code: <span><img src="profile/<?=$rows["upload"]; ?>" id="blah" style="height:25%; …

Member Avatar for alisajjad160
0
193
Member Avatar for catastrophe2

hi i was adding something to my XNA project, and i downloaded the GIF animation library from https://xnagif.codeplex.com/ i added the pipeline and references as needed (i followed the sample GIF animation) and one of my gif images worked (yay) but i have decided to add more gif images and …

0
111
Member Avatar for happygeek

The recently revised Facebook community standards page states that the social network is on a mission "to give people the power to share and make the world more open" however it appears that it may have been giving the wrong people the power to share stuff you thought was private. …

Member Avatar for advent_geek
1
478
Member Avatar for janicemurby

hya im wanting to remove the white spage in the pic included so you can see the pattern in the background ive tried putting the following opacity: 0.4; filter: alpha(opacity=40); in the css for this but its not doing anything what will make the white disappear ty jan x

Member Avatar for diafol
0
188
Member Avatar for london-G

Hi Guys, I have been trying to display the images from the database with the code below. Images are not displayed. <?php while($product_data = mysqli_fetch_array($query_product_result)) { $num_rows_products = $num_rows_products - 1; Print "<div class='image_panel'><a href = 'products.php?prodid=" . $product_data["ID"] . "'><img src='data:image/jpeg;base64," . base64_encode($row['image']) . "' alt='' /></a></div>"; Print "<h2><a …

Member Avatar for almostbob
0
3K
Member Avatar for PixelandtheWolf

One of my websites is based off of the HTML5 Big Picture Template: [iamepic.today](http://www.iamepic.today) Within this design, I am noticing two interesting effects taking place, one within Internet Explorer 11 and the Other Being Safari 5.1.7. Within Internet Explorer 11, when you scroll through the different sections from top to …

Member Avatar for PixelandtheWolf
0
343
Member Avatar for boney

How do i get the title of the post and the image from a URL? Say i enter a random URL, I want to get the main title of the post in that page and number of images and the images itself. file_get_contents() doesnt help.

Member Avatar for pixelsoul
0
77
Member Avatar for PHENYO A

an image is worth thousand words.. Please help me with reasons or ideas to support the above statement

Member Avatar for deceptikon
0
223
Member Avatar for Aayush_1

I want to develop an image scraper which picks the name of image from an excell file, searches for it on a website and then save the image with image's id as mentioned in excel file

Member Avatar for pritaeas
0
53
Member Avatar for Rekt

This is my code: from tkinter import * def ftm(feet): return feet * 0.305 def mtf(meters): return meters / 0.305 def convert(amount, func, result): value = func(float(amount.get())) result.set(round((value), 3)) def choose(): choice = lol.get() if choice == "ft": feet = StringVar() meters = StringVar() rest = Toplevel() f3 = Frame(rest) …

Member Avatar for Rekt
0
3K
Member Avatar for AntonyRayan

For image upload , This is my code, What is the error, its not checking in else part if(!$('#upload').val()) { alert('Upload Your Photo'); $('#upload').focus(); return false; } else{ $('input[type=file]').change(function () { var val = $(this).val().toLowerCase(); var regex = new RegExp("(.*?)\.(jpg|jpeg|txt|png|docx|gif|doc|pdf|xml|bmp|ppt|xls)$"); if(!(regex.test(val))) { $(this).val(''); alert('Unsupported file'); } }); }

Member Avatar for AntonyRayan
0
184
Member Avatar for cambalinho

think in these way: the eyes have the blue color, the backcolor is blue. so how can i change the backcolor without change the image\eye? (these is just an exemple for trying explain)

Member Avatar for cambalinho
0
153
Member Avatar for davy_yg

update_image2.php <?php session_start(); ?> <!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=utf-8" /> <title>Portal</title> <!-- CSS --> <link href="style/css/transdmin.css" rel="stylesheet" type="text/css" media="screen" /> <!--[if IE 6]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie6.css" /><![endif]--> <!--[if IE 7]><link rel="stylesheet" type="text/css" media="screen" href="style/css/ie7.css" /><![endif]--> <!-- JavaScripts--> <script type="text/javascript" …

Member Avatar for diafol
-2
298
Member Avatar for prabhjitsw

I am new to Dev C++ and i am creating a program of a game of snake. In Dev C++ the graphics open in WINDOWS BGI screen whereas the text gets shown in Text console(Dos). 1)i want to know how can i clear the WINDOWS BGI screen ? 2)how can …

Member Avatar for amit_26
0
1K
Member Avatar for muhammad_74

Hi, Does this old motherboard of my friend supports Pixel Shader version 3.0 and Vertex Shader version 3.0. The Board is:**Intel 946GZ Express Chipset Family** Reply as soon as possible. Thanks,uxama

Member Avatar for rubberman
0
335
Member Avatar for Ben_8

Hi All, I was wondering if anyone could have a look at this code and explain why the page doesn't display an image? Basically I have a camer taking pictures very few minutes and I want to display the latest one. <!DOCTYPE html> <html> <head> <title>Picture</title> </head> <body> <a href="index.html">Return …

Member Avatar for Ben_8
0
181
Member Avatar for manazian
Member Avatar for diafol
-3
261
Member Avatar for Ctechnology24

<?php session_start(); if (isset($_SESSION['username'])) { include("database.php"); $username = $_SESSION['username']; $query = "SELECT * FROM tblpatient_pass p, tblpatient_info i WHERE p.RelationMR_no = i.MR_no AND p.username='$username'"; $result = mysql_query($query) or die(mysql_error()); $patient = mysql_num_rows($result); if ($patient!=0) { while ($row = mysql_fetch_array($result)) { $dMR_no = $row[0]; $dusername = $row[1]; $dpassword = $row[2]; $demail …

Member Avatar for pavitraa
0
5K
Member Avatar for santunu23

HI i am trying to work with a html5 canvas for signature capture i got script and try to get the signature with ajax and php function saveit() { var myDrawing=document.getElementById("newSignature"); var drawingString=myDrawing.ToDataUrl("image/png"); var postData="canvas="+drawingString; var ajax=new XMLHttpRequest(); ajax.open("POST",'saveimage.php',true); ajax.setRequestHeader('Content-Type','canvas/upload'); ajax.onreadystatechange=function() { if(ajax.readyState==4) {alert("image saved"); } ajax.send(postData); } and here …

0
93
Member Avatar for old_apache

<div class="form-group"> <label for='image' class="col-sm-2 control-label">Leader Board</label> <div class="col-sm-10"> <input id= "txt_lead" type = "text" name="image_lead" class="form-control input-sm" onclick ="javascript:document.getElementById('file_lead').click();"> <input id = "file_lead" type= "file" accept="image/*" name="file_ads_lead" style='visibility: hidden;' onchange="ChangeText(this, 'txt_lead');"/> <?php echo form_error('image_lead', '<small class="pull-right req">', '</small>');?> </div> </div> <script> function ChangeText(oFileInput, sTargetID) { document.getElementById(sTargetID).value = oFileInput.value.replace("C:\\fakepath\\", "");; …

Member Avatar for old_apache
0
793
Member Avatar for game4tress

When I save an image into the database, the image field has the following information in the field: <Binary Data> But when I read the image from the database I get a "X" or a number like "4172726179" and the image is not displayed. I'm using this code for displaying …

Member Avatar for pixelsoul
0
169
Member Avatar for gALENA

![badImage-error.PNG](/attachments/large/2/3fabbb6d85724ee6b3b9d3cd98a99b81.PNG "align-center") c:\windows\systems32\l error is either not designed...[see attached image] Computer ends up with an error " c:\windows\systems32\dwmapi.dll error is either not designed...[see attached image for more] ", when loading. It does even allow me to logon. Have tried safe mode, but end with a same error message. Please assist.

Member Avatar for gALENA
0
160
Member Avatar for jez9

Hi again, i'm trying to put a background image in my button[i declare the button] , My database[ms access] , tbldishlist - name[text , Primary key], pic [ole object] when the form is loading, the button's background is according to the name of the item. here's my example: Dim btn …

Member Avatar for Reverend Jim
0
704
Member Avatar for Nation

I have a JTable that a user can input data. I have an image that I would want to put at the top of my page when printed and also another image that I would want to work as footer. How do I print these on the same page including …

Member Avatar for mKorbel
0
1K
Member Avatar for guru.charan.77377

This is an project title for a c++ project given by my collage, Plz can anyone guide me with some good reference books/journals for data visualization and word image identification using image processing so i can begin my project with some kind of background study. Any help is appreciated

Member Avatar for vieru.dorincristian
0
132
Member Avatar for Niloofar24

Hello. How can i set an image as a Tkinter window background? I mean the whole background of the window not a photo area.

Member Avatar for HiHe
0
50K

The End.