6,113 Topics
![]() | |
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 … ![]() | |
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. | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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) … | |
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 … | |
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? | |
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 … | |
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 … | |
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(); } } | |
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> … | |
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 … | |
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 … | |
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 … | |
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 … | |
How do I retrieve image saved as a blob from oracle database please kindly help out. | |
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 … | |
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. | |
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 … | |
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 … | |
![]() | I would like http://www.pingrglobe.com/psf.png to be my signiture, that links to pingrglobe.com if that's possible. ![]() |
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 … | |
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 … | |
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. | |
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 … ![]() | |
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 … | |
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" ? | |
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 … | |
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? … | |
currently this is what I have: (in the dynamicly created <img/>) <body onload = " document.getElementById('html').value= '...'+ 'onmouseover="this.src = ’image.png’"'+ '...'; document.body.innerHTML = document.getElementById('html').value "> but obviously ’ is not right... can someone help plox :/ EDIT: getElementById('html') is a textarea (innerHTML only updates properly with this method) | |
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! | |
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 … | |
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 … | |
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++){ … | |
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 … | |
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 … ![]() | |
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 … | |
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 … | |
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 … | |
 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 | |
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. | |
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]( … | |
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 … | |
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 … | |
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 … |
The End.