6,113 Topics
![]() | |
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 | |
Hi in my app there is an image thumbnail for each table cell it works but when the image there isn't for that row i'd like to show a default image the image url is retrieved from an html string and put into an array could you help me to … | |
Using the following code as a foundation (it reddens the upper left corner of an image), I was told to create 2 different programs: one that would brighten the entire image, and one that would convert the entire image to grayscale. I need major help with this. Here's the code … | |
metode image managementnya masih konstruksi Strict Standards: Only variables should be passed by reference in C:\xampp\htdocs\rustoleum\administrator\input_image.php on line 123 Invalid file Data telah tersimpan. Judul Image last uploaded image ---------------------------------------- database: id image path judul 0 bottleAirFreshner.jp Air Freshener 0 Dispenser.jpg Dispenser 0 bottleAirFreshner.jp 0 php.php 0 74.jpg dsad 0 … | |
Hi I want to rename Image in this script after downloading ,now it downloads as default Want to rename it to x.png Any help appreciated Saw a way via PHPserver,but Im using JAVA App <html> <head> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/rgbcolor.js"></script> <script type="text/javascript" src="http://canvg.googlecode.com/svn/trunk/canvg.js"></script> <script> function getImgData(chartContainer) { var chartArea = chartContainer.getElementsByTagName('svg')[0].parentNode; … | |
Hello,I wanna decrese the size of my windows application projesct.Actually i'm using many animated pictures in my projects so that might be the reason for larger size. Is there any other way to reduce the exe file..will it get reduced if load the pictures dynamically from outside folder??if it is … | |
i know to upload normal type of multiple image.bt here my code is like to upload multiple images with rename image as date and time. but the problem is while uploading multiple image its added only one image.how can i add multiple image by using this code $num4 = count($_FILES['mainimage']['name']); … ![]() | |
A simple way to resize an image programmatically, using the PythonMagick module. This module is a python port of the [the magick++ library](http://www.imagemagick.org/Magick++/). | |
hey, i have stored a few images in mySQL database as BLOB.Now i want to retrieve and display the images on frame as a gallery/grid view.I have displayed one image in a frame but when i tried to add more images it fails...Can anyone help with sample code,coz im new … | |
Hi there, I've started to create a site for me and my friends, and I want to be able to have each of us upload an image, and store it in a database, and then have it display as a display picture on a profile page. I've been looking around, … ![]() | |
while uploading i want to rename the image name to date and time.i have a code like this date_default_timezone_set('UTC'); $today = date("Y-m-d"); $_SERVER['REQUEST_TIME']; $dt = $today.'_'.time(); $uploadDir = '/upimg/logoimg/'.$dt.''; $filename = $_FILES['logoimage']['name']; $tmpname = $_FILES['logoimage']['tmp_name']; $filePath = $uploadDir . $filename; $result1 = move_uploaded_file($tmpname, $filePath); after uploading that image path is … | |
i want to fix the image size, becaz if image size is too large then it will take more loading time so i have to reduce that. someone help me to do image scaling method. if size of image width is 800px and i want it in 300px width what … | |
Do anyone know how to set a gif image as the background to my coding below? I just want it for my first window and not Demo1? The gif image is nameed "python_wallpaper.gif". from tkinter import * import threading from graphics import * class Intro(): def __init__(self,master): self.master = master … | |
How to select image from folder by name in mysql. This is mysql query for other rows $query = "SELECT `posts`.`id` AS `post_id`, `categories`.`id` AS `category_id`,`title`,`contents`,`date_posted` ,`categories`.`name` FROM `posts` INNER JOIN `categories` ON `categories`.`id`= `posts`.`cat_id`"; how to select row 'image' where is name of image and call that image from … | |
My HP PC a6207c is 7 years old. Has Vista. Became very sluggish and started crashing all the time. Is only used for personal use, not business. When it crashes, a message comes on the monitor saying "monitor is going to sleep." Then it shuts down. I tried resetting to … | |
Hi, i would like to know how to retrieve an image in an access database to vb6. Thanks in advance. | |
hello friends. i just start with android and i got many trouble one is the image size so i can undestund ldp is for low density and it's grow to hdp xhdp, xxhdp...., but i can't undestund how to edit image for the different screen. for exemple i have a … | |
hello dear friends i'm not a developer not app designer what i know is just buiding website and i'm an autolearner. i have a national champion to make an app mockup in photoshop it is litle hard beacause i must show it with basic function. and i want just to … | |
My sister and I are trying to write a book and its hard to edit via phone conversations. It would be nice to see the same screen at the same time. To view what she is doing and vice versa. Is there any way to do this being that we … | |
How to upload image to database and move into image folder this is my function for other rows: <?php function add_post($title, $contents, $category) { $title = mysql_real_escape_string($title); $contents = mysql_real_escape_string($contents); $category = (int) $category; //var_dump($category); mysql_query("INSERT INTO `posts` SET `cat_id` = '{$category}', `title` = '{$title}', `image` = '{$image}', `contents` = … | |
Hi guys, Got a problem uploading an image to a directory and then including that directory location into the database so that I can display the image. Here is the code I have so far. <div id="main_right"> <?php if ($picture) { ?> <img src="<?php echo "../images/teacher_photo/" . $picture ?>" alt="<?php … | |
how to load a bitmap image in vb.net using opengl..plz help me.. | |
how to subtract the background in an image. i need only the object and the background should not be present. is it possible to get only the object? Any suggestions are welcome! | |
<?php header('Content-type: image/jpeg'); $source = 'a.jpg'; $watermark = imagecreatefrompng('logo.png'); $watermark_width = imagesx($watermark); $watermark_height = imagesy($watermark); $image = imagecreatetruecolor($watermark_width,$watermark_height); $image = imagecreatefromjpeg($source); $image_size = getimagesize($source); $x = $image_size[0] - $watermark_width - 10; $y = $image_size[1] - $watermark_height - 10; imagecopymerge($image, $watermark, $x, $y, 0, 0, $watermark_width, $watermark_height, 20); imagejpeg($image); ?> | |
I'm hoping someone can help me. I'm looking for a image / video gallery that behaves in this mannor. When a link is clicked, the area of the page that is suppose to show the image / video gallery splats out, whereas, each title grows from invisible to visible just … | |
I have a client who wants me to come up with js code to attach an image from a visitor's computer to a form to email to the client. | |
I've set up my page so that my left nav bar is a series of background images which change when the user mouses over. I learned how to do this from an older thread on this site. [url]http://www.daniweb.com/forums/thread109916.html[/url] This all works well except for one minor problem. The first time … | |
Hi As we know we can make image of HD and Clone Hard Disks and Partitions with dd.exe(http://www.chrysocome.net/dd) but How can I re-create a bootable disk from a raw image dd format to a bootable and executable HD installation?which commands I have to use? I appreciate your help | |
i designed some images to put in the navbar... the idea was putting them so that when they're hovered, there is an image change to another image with bthe same design but different colors... when i pretended to do this i found a serious problem... if i insert the image … | |
I am trying to insert a background image but for some reason when I put this... html{ background-image: url('images/background.png'); background-repeat:no-repeat; background-size:100% 100%; } It doesn't seem to work, it stays blank. I know I have the path correct and the name correct I have only gone over it a million … | |
hi everyone, i want to store an image in database not by inserting but by updating (by using UPDATE query) and hers my code... everything else is updated successfully but its not storing image..please help me to solve the problem.. im using medium blob data type to store image this … | |
i am trying to Upload and Store an Image inside a MySQL, for some reason i got a broken image when photo is submitted . i know its a bad idea ti store images in using database i am doing this for testing purposes. please help <!DOCTYPE html> <html> <head> … | |
Hello, So I basically created SQL Server Database and I got it working with displaying my images and drop downlist and everything, however, I want to make it to display an image only if a continent is selected. So if I select Europe, I would like to receive a picture … | |
hello everyone, I need to add custom text on my uploading image ,any jquery or wordpress plugin is for that?? | |
Hello, I'm having problems getting a repeating image to take up the full screen width outside of my page on the sides. The code of the page is what's tricky. I had someone else set up the page, and he coded it so the header image and menu stay still. … | |
I am trying to make images coming from links within my mySQL database appear next to each other. Here is my code: <div class="container-outer"> <div class="container-inner"> <?php if ( $imagePath = $article->getImagePath( IMG_TYPE_THUMB ) ) { ?> <a href=".?action=viewArticle&articleId=<?php echo $article->id?>"><img class="articleImageThumb" src="<?php echo $imagePath?>" alt="Article Thumbnail" /></a> <?php } … | |
hello programers i made upload pic from my pc to the project folder so i need to diplay this pic on web page i m using ASP.net with Vb Protected Sub Button2_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Button2.Click If Me.FileUpload1.PostedFile.FileName = Nothing Then Me.Label3.Text = "nothing choosed … | |
Hello I am working on Parallelization of Fractal Image Compression. I have used prof. Yuval Fisher's enc.c and dec.c fractal image compressor / decompressor. The code is working fine but my question is: How to view the RAW images lenna.dat(input image) and lenna.out(decoded image) on Windows/Sun/LINUX machine. I think there … | |
Using the Python Image Library (PIL) you can resize an image. Several filters can be specified. ANTIALIAS is best for downsampling, the other filters work better with upsampling (increasing the size). In this code snippet one image of each filter option is saved, so you can compare the quality in … ![]() | |
i'm taking the image from the user, and displaying it using label. Now i have to use that image for further processing. my code is: from Tkinter import Tk, Frame, BOTH from Tkinter import * import cv2 from collections import * from CBIR import * from experiment import * from … |
The End.