6,113 Topics

Member Avatar for
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
137
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
355
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
112
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
219
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
162
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
216
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
693
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
468
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
298
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
119
Member Avatar for surferbloggy

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 …

0
144
Member Avatar for Dimaric

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 …

Member Avatar for Dani
0
343
Member Avatar for davy_yg

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 …

0
126
Member Avatar for rahulroshan

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

0
189
Member Avatar for rahulzephyr

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 …

Member Avatar for rahulzephyr
0
395
Member Avatar for malatamil

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

Member Avatar for iamthwee
0
252
Member Avatar for Gribouillis

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++/).

Member Avatar for Gribouillis
4
3K
Member Avatar for nidheeshkumar.r

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 …

Member Avatar for JamesCherrill
0
1K
Member Avatar for BeckyAnne87

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

Member Avatar for diafol
0
5K
Member Avatar for malatamil

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 …

Member Avatar for malatamil
0
121
Member Avatar for malatamil

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 …

Member Avatar for malatamil
0
115
Member Avatar for alyons

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 …

Member Avatar for ZZucker
0
9K
Member Avatar for gogs85

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 …

Member Avatar for gogs85
0
1K
Member Avatar for shanann

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 …

Member Avatar for shanann
0
226
Member Avatar for annain
Member Avatar for annain
0
174
Member Avatar for chrisschristou

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 …

Member Avatar for peter_budo
0
377
Member Avatar for chrisschristou

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 …

Member Avatar for chrisschristou
0
245
Member Avatar for MNbassets

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 …

Member Avatar for rubberman
0
116
Member Avatar for gogs85

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

Member Avatar for gogs85
0
312
Member Avatar for CarterLangley

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 …

Member Avatar for pritaeas
0
241
Member Avatar for LALITHA_1
Member Avatar for varshaholla

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!

Member Avatar for varshaholla
0
120
Member Avatar for chaitu11

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

Member Avatar for cilla
0
404
Member Avatar for Siberian

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 …

Member Avatar for Siberian
0
159
Member Avatar for BTLSP

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.

0
139
Member Avatar for webdi

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 …

Member Avatar for dellmerca
0
2K
Member Avatar for tony75

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

Member Avatar for tony75
0
2K
Member Avatar for ndeniche

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 …

Member Avatar for almostbob
0
2K
Member Avatar for Bensirpent07

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 …

Member Avatar for rtrethewey
0
426
Member Avatar for Riu 2009

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 …

Member Avatar for Mani_6
0
15K
Member Avatar for dag25

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

Member Avatar for dag25
0
896
Member Avatar for SQLpower

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 …

1
124
Member Avatar for neha05

hello everyone, I need to add custom text on my uploading image ,any jquery or wordpress plugin is for that??

Member Avatar for neha05
0
318
Member Avatar for mmartel25

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

Member Avatar for Tu Dinh
0
388
Member Avatar for cthulhumythos

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&amp;articleId=<?php echo $article->id?>"><img class="articleImageThumb" src="<?php echo $imagePath?>" alt="Article Thumbnail" /></a> <?php } …

Member Avatar for JorgeM
0
646
Member Avatar for Ju

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 …

Member Avatar for JorgeM
0
131
Member Avatar for Sajoo

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 …

Member Avatar for Arun_8
0
385
Member Avatar for vegaseat

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 …

Member Avatar for Budy_1
0
73K
Member Avatar for varshaholla

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 …

Member Avatar for vegaseat
0
890

The End.