6,113 Topics

Member Avatar for
Member Avatar for twmprys

I'm trying to display in a web page all the images stored in a database. THis is my code, but it only displays the first picture: [code=php]<?php include "cysylltiad.php"; $result = mysql_query("SELECT * FROM files ORDER BY fid"); while($row = mysql_fetch_array($result)){ header("Content-Type: {$row['type']}"); echo $row["content"]; } ?>[/code] where content is …

Member Avatar for diafol
0
591
Member Avatar for stevewilliams02

Hello. I am trying to make a program that involves buttons from GUI and I need help on how to open a JPG image file from a button click. Can someone show me a sample code on what to do and a brief explanation on what to do? Thanks.

Member Avatar for HiHe
0
328
Member Avatar for castajiz_2

I have a method which does something. However to do the desired thing i must call the CreateGraphics method. I Created a new class (added a new class) and now inside my method i can t call this method. What am i missing? I can call the CreateGraphics method inside …

Member Avatar for castajiz_2
0
196
Member Avatar for SHARATH_1

I am trying to add actions and paint on the image in JPanel. Till now I could only succeed to add image into the JPanel. But I could not add mouse actions on the image and paint it. Can anyone please go through my code and give suggestions!! public class …

Member Avatar for mKorbel
0
224
Member Avatar for dws.ash04

hi :)) just wanna ask if it is possible to retrieve a database table with images and show it in a datagridview? to further explain it, uhmm. I have an access database the fields are Document, Dateuploaded, type and comment The data type of Document field is OLE object. and …

Member Avatar for ddanbe
0
171
Member Avatar for palo.moshoeshoe

this is my php code,it works properly before inserting,can it be the fact that i have attatched a photo to my form? the other problem is,i dont know what type is photo for my xampp database,i left it a VARCHAR, the error i get is: Parse error: syntax error, unexpected …

Member Avatar for João_5
0
503
Member Avatar for suavedesign

How can i wrap my text around the image on this page? it's using a float, but i want it to wrap around the img of the hand. [http://www.mimahealthcare.com/about.php](http://www.mimahealthcare.com/about.php) thanks

Member Avatar for suavedesign
0
261
Member Avatar for nirmeen.asad

Hi (Salm).. In my java code i have to insert a table into a text area, by choosing "insert table" from the menue "Insert" so then the program will ask me to enter the number of rows & cols to create the table with the numbers i've entered.. the image …

Member Avatar for nirmeen.asad
0
307
Member Avatar for PaulDel

Hello All, Just looking for code snippets to remove color from jpg image. I would like to remove red, blue, green from a picture, leaving black and white. For instance, imagine a newspaper cartoon with an "X" on the picture. I want to remove the colors leaving the "X". I'd …

Member Avatar for stultuske
0
326
Member Avatar for jonsan32

I'm trying to get this script to work. I want an image displayed based on the current holidays throughout the year. Any help would be great. Thanks a ton! <script type="text/javascript"> function H(){ var s=new Date(); var isHalloween= (s.getMonth()==9 && s.getDate()>26) || (s.getMonth()==10 && s.getDate()<3); var isXmas= (s.getMonth()==9 && s.getDate()>26) …

Member Avatar for jonsan32
0
285
Member Avatar for everton.retweets

This is driving me nuts... I am new to wordpress plugin development... I have got the basic plugin developed. Added my admin menus... What I am trying to do is add a banner image to each options page inside the plugin dashbaord. i'v tried the usual ../images/imagename.png and ./imagename.png but …

Member Avatar for everton.retweets
0
178
Member Avatar for AmrMohammed

I do not know how pixels are represented? suppose I want to read an image pixel by pixel what type of object I can use to read the pixel's data within it and how to read the image pixel by pixel?

Member Avatar for ddanbe
0
160
Member Avatar for Dennis73

In some web sites, ebay and Amazon specifically, they have several thumbnails below a larger image. When you hover over one of the thumbnails the corresponding larger image is displayed in the space above. This effect would be perfect for a site that I am working on right now. Can …

Member Avatar for number
0
1K
Member Avatar for phpfreek2007

Hi, I have multi tif image (multiple page tiff image having more than one page included in single image). I want to read this tif image using PHP since I need to edit certain portions of image using php library. Can anyone guide for steps to achieve this? Thanks in …

Member Avatar for mikepeal
0
368
Member Avatar for YumnaZia

I dont understand why the image isnt appearing! please help.. import javax.swing.*; import java.awt.*; //import java.awt.event.*; public class level2 extends JFrame{ Container con= getContentPane(); ImageIcon bg= new ImageIcon("D:\\Raptor\\background3.jpg"); JLabel back= new JLabel(bg); level2(){ setDefaultCloseOperation(EXIT_ON_CLOSE); setLayout(null); setSize(1300,700); back.setBounds(0,0,500,500); con.add(back); setVisible(true); } public static void main(String[] args) { new level2(); } }

Member Avatar for Seldar
0
102
Member Avatar for Mehr Hassan

Hi, I have written a C program in Turbo C to load BITMAP image and now i am trying to send it over serial port. Kindly Help me how to send that image data which i already loaded in memory over serial port using OUTPORTB or BIOSCOM ? [CODE]#include <stdio.h> …

Member Avatar for rubberman
0
1K
Member Avatar for AmrMohammed

Greetings, I want to change a specified color to another within an image which loaded in a picturebox control, that is, I have a picturebox in which I have uploaded a picture. I need to change a specified image color, the blue color, for example, within the image, to another …

Member Avatar for anthonydaly
0
182
Member Avatar for javaprog200

Hello, The program below has two JPanels. The first JPanel, panel contains the labels, buttons and combobox. The second JPanel, panel_1 has the image.I am using BoxLayout to line up the belows vertically. The issue I am having is when I run the program, the compoments of the panel do …

Member Avatar for JamesCherrill
0
284
Member Avatar for Start4me

I want to create a map, with image of a floor plan. As the user zooms in or out, or moves the image around the form and clicks on a room to see more information about it, it will be possible. I'm thinking of creating labels or buttons with opasity …

Member Avatar for Begginnerdev
0
348
Member Avatar for Kleon

hi guys i am having this small issues with image slider, it shows in the broswer just one picture, than slider continues but it does not show the content of the other pictures(can not read them). i have 8 pictures in my Images folder in my project, but it reads …

Member Avatar for Kleon
0
269
Member Avatar for edet4krist
Member Avatar for gahhon

I am using SQL Database, In my example of my webpage, i got `FileUpload` & `Image` & `Button` Controls. i wanna to know any tutorials or tricks from code behind that able to upload the image file into my sql database and how to display the image in my Image …

Member Avatar for gahhon
0
217
Member Avatar for hilRunr

My image is embedded in a table cell. I need to know how far it is from edge of window. offsetLeft does not work for this. Neither does style.left.

Member Avatar for hilRunr
0
197
Member Avatar for cellus205

Im looking for an image viewer that supports most types of image formats, including PDFs, and has the ability to rotate/zoom, and draw on an image. I've been looking but to no avail. Does anyone have any suggestions on the best way of going about modifying a control so that …

Member Avatar for mikepeal
-1
251
Member Avatar for DM Galaxy

I am in wonder. I just make a slideshow form and add the context menu strip as when the user click on download image then current image get copy and paste on the desktop. I use path and destination method in this but they say bitmap cannot be converted into …

Member Avatar for DM Galaxy
0
471
Member Avatar for iLikePHP

I would like http://www.pingrglobe.com/psf.png to be my signiture, that links to pingrglobe.com if that's possible.

Member Avatar for iLikePHP
1
244
Member Avatar for Peter Gibbins

I am writing an experimental project in VB.net to modify the colour data in a picture. I've finished the simple version using BMP file and now want to add JPEGs From what I read the JPEG compression uses the Discrete Cosine function which (if I understand the process) effectively compares …

Member Avatar for tinstaafl
0
197
Member Avatar for Amman_1

Please Guide me i have data which is in ascii form. First i need to convert into hexa then from hexa values generate image in .png here are values which are in ascii form Collapse | Copy Code $$,,,,47,070807080808070708090708080808080808080A0908080809090809080908090808080908090809090A0809090909090909090A0A090A090B0B090A0909080909090A090909090A0A0A090A0A0A090A09090A0A0A0A0A0A0A0A090B0A0A0A0C0B090A0C0B0A090A0A0B090A090A0A0A0A0B0A0B0A0909090A0A090A090A09090909080909080808090C0A09090908080808090908080808070706070707070706070607070706070708070808070607070707080707070708080708080808090808080808080708080908080809080908080809080807080808080808090808080808090808070808090909080908090808080909090909090A090A0A0A090908080809090909090909080909090909080908090908080809090808080807080709080807070607080807080807070805050607060605060607060606070606060606080707060707080707070706070708080807080707080807080808080808080809080808080908080808080708080808080808080708080808080807080807080908080808080A09090909080908090909090A0909090A09090909090A0809090A0909090A0A0A09090A0A09090808080808080707080807080808070807070708070706070607050606060606050606070606060606070607070706070606070707070707080807080808080807070809080808080808080808090809* `Inline Code Example Here` 1、Function description Upload fingerprint features stored in …

0
258
Member Avatar for adamb1000

Hi there, I'm trying to send an image (a frame from my webcam) over a socket using AS2 for a racing game I'm making. Any ideas how to do it? Thank you.

0
77
Member Avatar for suavedesign

I am trying to do something simple, but for some reason I am having trouble. I have a few images, that have the hover effect. I want that when the user hovers over the image, he should see a different image on top. (It is thumbnail images, and I want …

Member Avatar for iLikePHP
0
179
Member Avatar for judah.raine

Hi there, I'm utterly desperate (being a total novice at all things php) and am hoping someone can assist. In brief, I have a submission form. User adds url. Output should then display as an image link with the amazon affiliate code. In my template I have the following (which …

Member Avatar for judah.raine
0
372
Member Avatar for sriramkarthick

My problem is "How to upload the image, while uploading store the filename with the extension in the database and while retrieving the image filename should be taken from the database and file should be taken from corresponding folder" ?

Member Avatar for 203428
0
264
Member Avatar for SUNDARESAN.R

Hi, I am new to daniweb. I have some clarifications, please give your suggestions. I need a floating image in my website. When the user scrolls down the image should come down. If the user scrolls up, the image should go up. Pls let me know how to do this …

Member Avatar for SUNDARESAN.R
0
176
Member Avatar for hlamster

I have an image I would like to have it's transparancy change from 0 to 100% over about 5 seconds on page load. Any suggestions would be most appreciated. I just can't seem to get the css code right. Do I need to use javascript? Doesn't html5 do this easily? …

Member Avatar for JorgeM
0
281
Member Avatar for Tcll

currently this is what I have: (in the dynamicly created <img/>) <body onload = " document.getElementById('html').value= '...'+ 'onmouseover=&quot;this.src = &rsquo;image.png&rsquo;&quot;'+ '...'; document.body.innerHTML = document.getElementById('html').value "> but obviously &rsquo; is not right... can someone help plox :/ EDIT: getElementById('html') is a textarea (innerHTML only updates properly with this method)

Member Avatar for Tcll
0
231
Member Avatar for lexaeterna

good day! i just wanna ask if there is a way of getting the path of an image from another computer in LAN and set it as image propety of a picturebox. thanks in advance!

Member Avatar for deceptikon
0
127
Member Avatar for kyle.santelices.31

hello pleas help me , it says i have a suntax error in line 19 ";" <?php // if something was posted, start the process... if(isset($_POST['upload'])) { // define the posted file into variables $name = $_FILES['picture']['name']; $tmp_name = $_FILES['picture']['tmp_name']; $type = $_FILES['picture']['type']; $size = $_FILES['picture']['size']; // get the width …

Member Avatar for Bachu
0
195
Member Avatar for yaragalla_mural

By the following code i got image as the responce. if (http.readyState == 4 && http.status == 200) { ver image=http.responseText; } actually when i gave a call to server using ajax the server responded with an image. so now i have stored the image in a variable "image". I …

Member Avatar for yaragalla_mural
0
287
Member Avatar for kal_crazy

This is the code that I have done so far: import java.util.*; import java.awt.*; import javax.swing.*; import java.awt.event.*; class TSP extends JPanel{ int weight[][],n,tour[],optDist; final int INF=1000; public TSP(){ Scanner s=new Scanner(System.in); Random r = new Random(); System.out.println("Enter no. of Cities:=>"); n=s.nextInt(); weight=new int[n][n]; tour=new int[n-1]; for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ …

Member Avatar for kal_crazy
0
1K
Member Avatar for MeandJava

Hello everybody, I have some problems with my school assignment. I need to display a picture in a jlabel and i have already some code. Can someone give me some advice how i could get it to work. Thanks in advance. Greetz MeandJava [CODE]import java.awt.*; import java.io.*; import javax.swing.*; public …

Member Avatar for Ranjana_1
0
4K
Member Avatar for sabarinadh.ch

Here i am uploading data through a form which contains some input fields and one image. But i want to upload multiple images here instead of one image. I am attaching my php code here to upload the data and single image. Can anyone edit this code to add mutliple …

Member Avatar for diafol
0
794
Member Avatar for developer707

Hello, I am trying to make a .html document that has an image inside it. I have seen this before, but I don't know how to do it. The idea is here I don't want a index.html and image.png files, but I want just a index.html that containd the content …

Member Avatar for JorgeM
0
234
Member Avatar for kevinyu

Since I am just experimenting on this, (only localhost) I may like to ask for some ideas(since nothing is really coming out of my mind) about letting a user, who is going to, for example, register to a mini-social-networking site, with a corresponding username/password, personal details, etc. I would upload …

Member Avatar for kevinpatel
0
242
Member Avatar for Start4me

Hello everybody! I’m trying to create a program in which the user has the ability to move the image with mouse click and ability to zoom in and out by scrolling the mouse wheel. If the user wants to return to the original image size and position, it will be …

Member Avatar for Start4me
0
1K
Member Avatar for almostbob

![305e35d7292fca3d0c7b4659bf20d6fb](/attachments/fetch/L2ltYWdlcy9hdHRhY2htZW50cy8xLzMwNWUzNWQ3MjkyZmNhM2QwYzdiNDY1OWJmMjBkNmZiLmpwZw%3D%3D/500 "305e35d7292fca3d0c7b4659bf20d6fb") I was thinking about dogs, getting one, a house isnt complete without at least one dog, and the above description of Labradors just broke me up

Member Avatar for Agilemind
2
389
Member Avatar for msubashrk

i'm inserted a image in sql server2008 as varchar(max).How to retrive in Data Grid view photo column ..i need code ...i tried many ways still getting Confused.

Member Avatar for ss125
0
107
Member Avatar for Ramy Mahrous

Here's I wrote some code to insert\retrieve images from SQL Server database 1- Create table to hold Image ID, Name and itself [CODE=SQL] USE [ImagesDatabase] GO /****** Object: Table [dbo].[Image] Script Date: 07/10/2009 23:46:46 ******/ SET ANSI_NULLS ON GO SET QUOTED_IDENTIFIER ON GO SET ANSI_PADDING ON GO CREATE TABLE [dbo].[Image]( …

Member Avatar for Roberto_3
0
10K
Member Avatar for ss125

Hello friends, I am having a HCL PC in my home with configuration of 120GB HDD, basic graphics memory, Core2Duo processor and with 1 gb of RAM. Now I am planning to do some upgrades to it. First of all, I am planning on DVD writer(already out). Then to the …

Member Avatar for mayaestat
0
331
Member Avatar for AK777

Is there a way to insert a thumbnail that displays a live screenshot of another website? This would be for an ecommerce site. I am not looking to simply create a screenshot where one takes and saves an image (e.g., jpg, png, gif, etc.) I want the thumbnail to always …

Member Avatar for mmcdonald
0
691
Member Avatar for TheNewKid

Hey everyone. I am working on learning how to make some different controls with win32 and at the moment I amt trying to make a combobox with small images next to each option. However when I run my code the options are there but the images are missing. Can anyone …

Member Avatar for mitrmkar
0
341

The End.