6,113 Topics

Member Avatar for
Member Avatar for learntosucceed

I'm trying to use these icon images for my JButtons, but I keep getting "Resource not found: " [url]http://java.sun.com/developer/techDocs/hi/repository/TBG_Media.html[/url] [CODE] static ImageIcon createMediaIcon(String imageName) { String imgLocation = "/toolbarButtonGraphics/media/" + imageName + ".gif"; java.net.URL imageURL = Test.class.getResource(imgLocation); if (imageURL == null) { System.err.println("Resource not found: " + imgLocation); return null; …

Member Avatar for ejosiah
0
347
Member Avatar for jltjr

I'm having a problem with the images taking the opacity from the wrapper div. Could someone bale me out of this one? You can view the site here:jltjr(dot)com/studiocarvel/ My wrapper css follows ~Thanks, JT [CODE] .wrapper{ width:960px; margin:0 auto; background-color:#000033; line-height:1.5em ; padding:15px 3px 15px 15px; left:50%; right:50%; -moz-opacity:0.90; -khtml-opacity:0.90; …

Member Avatar for jltjr
0
179
Member Avatar for iraj.jelo
Member Avatar for iraj.jelo
0
124
Member Avatar for poojavb

Hello Friends.... I have a patient registration form in my project...in which I have to browse the image of the patient save it in the database and when I need the details of the patient again the uploaded image should also be displayed.... Please help me in this... I have …

Member Avatar for poojavb
0
113
Member Avatar for torbatt
Member Avatar for kewl

im having problem with this 2 pages of code i have.the only problem is when im going to display it in another page called view.php added.php [CODE] <?php $type = $_POST['type']; $size = $_POST['size']; $quantity = $_POST['quantity']; $prize = $_POST['prize']; $file = $_FILES['image']['tmp_name']; if (isset($_POST['submit'])) { include('sql.php'); if (!isset($file)){ echo …

Member Avatar for kewl
0
205
Member Avatar for Kycas

Hi, I want to filter .BMP image with 3x3 digit matrix. Basicly it is multiplying image pixels by numbers in matrix. Any suggestions how it should be done? I know that i have to open a file using fopen() I did that. Should I just loop through whole image and …

Member Avatar for Kycas
0
78
Member Avatar for bflack

Hello, I am creating a site (for practice). It is a site that works like the '9gag.com' where users can see images stored on the page. So far, I have successfully retrieved and posted image files from the server but I wanted to put on a limit on how many …

Member Avatar for iamthwee
0
168
Member Avatar for javalover

Hi frnds!!!!!! Am trying to crop an image using java.. If I draw a rectangle on the image it ll crop the image in the given level.. My code does it but the fact is, it is not cropping the actual part which we selected..This is my code.. [CODE] import …

Member Avatar for javalover
0
2K
Member Avatar for Labdabeta

How do you make shadows in OpenGL. I have been using the NeHe tutorials, but I do not understand their shadow lesson. Can anybody help?

Member Avatar for mike_2000_17
0
380
Member Avatar for cool_zephyr

hello, i'm trying to check if a cell in datagridview is of type Image with the following code [code] if(cell.Value.GetType()==typeof(Image)) { ...... ...... } [/code] but it's always showing "Object reference not set to an instance of an object" error..could anytell me if i'm doing this right?? If not, how …

Member Avatar for vimit
0
588
Member Avatar for sah

I have developed an application that loaded many images in a listview using ImageList in c# .net framework 4. The images are also compressed. When many many images are loaded and compressed then it takes a long time. So I call the method in backgroundworker. In the backgroundworker I had …

Member Avatar for lolafuertes
0
465
Member Avatar for RenanLazarotto

Hello guys! I've started a new app that I need to fade two images. One of them will be the background and other will fade-in on mouse hover and fade-out on mouse left. After some search around the internet, I didn't found anything that I could use. Can you guys …

Member Avatar for RenanLazarotto
0
179
Member Avatar for arlaughn

I cannot seem to get a background to show up! As soon as I add any -position or -repeat tags to the CSS the image disappears. From: colors.css (Bartik - editing for my own interests) [CODE] /* ---------- Color Module Styles ----------- */ body, body.overlay { background: url(../images/bg.jpg); background-position: 50px …

Member Avatar for p0l4rb34r
0
163
Member Avatar for nidheeshkumar.r

hey, im doing a project on processing images and i'd like to extract the features of an image stored in databse.How can i do that? anyone help..,please..

Member Avatar for NormR1
0
1K
Member Avatar for dhaval.2cool

Frnds i want to insert image into picture box using the file dialog and that image should get stored into a local folder..... But the problem is the image is not getting saved n the below line is throwing an exception. i want to also rename the image with my …

Member Avatar for dhaval.2cool
0
152
Member Avatar for davi0011

I'm curious because I'm new to the world of buying computer parts and such. I've installed an Asus model of the Nvidia 550ti and I was wondering if I should use the Nvidia drivers or the Asus drivers. both drivers seem to work with only slight differences in the multiple …

Member Avatar for davi0011
0
267
Member Avatar for chandub

hai everybody am using following code to preview the image before uploading it. but am unable to display the image please help me. [code=html]<SCRIPT type="text/javascript"> function preview(what){ document.getElementById("previewField").src=what.value; } </SCRIPT> <INPUT type="file" id="picField" onchange="preview(this)"> <IMG id="previewField" alt="Preview">[/code] thank you.

Member Avatar for Troy III
0
97
Member Avatar for vindom

Hi I've ms database where I've added one image(one so far for testing). Also in that DB(database) I have UserID and ItemID. Image I've added to DB (.mdb format) manually as OLE object. (It was : right click on DB field / Insert Object / from file/ picked up a …

0
129
Member Avatar for versan

I am a newbie creating a newsletter using tables and inline css, the problem is that i need to insert more than one image over an image(not background)... can anybody suggest me some possible solutions.. Breif : 1. I have inserted a background image 2. Then i inserted a image …

Member Avatar for versan
0
162
Member Avatar for hg_fs2002

I'm developing a website and I want to change the image of a page when NEXT button is clicked. I retrieve the images from my database and of course I do not want to retrieve repetitive images. This is my NEXT button: [CODE]<input type="submit" value="Next" onclick="synchronousAJAX()" style="position: absolute; left: 1085px; …

Member Avatar for diafol
0
2K
Member Avatar for fallen21468

I have looked this up and cant seem to find a solution. Nothing I can find will work with my code. I really need help because i am doing this for a class project and nothing will work. Heres what i'm trying to get it to work with. [CODE] import …

Member Avatar for fallen21468
0
14K
Member Avatar for jonow

I know how to replace any image that cannot be found with a default image with the .htaccess file but I was wondering if it could be done when there is not URL. For example if I have this: [CODE]<img src="" alt="Picture" />[/CODE] It would not show up, I was …

Member Avatar for jonow
0
318
Member Avatar for ISH777

ISH777 //Hello Everyone, I have a Problems Regarding with the IMAGE I create a Program That save Information of END USERS including Image... but the Image will save into Bytes.....and I have no Problem in that as you seen below..... [CODE]Dim xx As String = "insert into tbl_BorrowersInfo (accountno, sname, …

0
76
Member Avatar for MsBear92

[CODE]/* * To change this template, choose Tools | Templates * and open the template in the editor. */ /* * MainMenu.java * * Created on Feb 22, 2012, 7:28:37 PM */ package f1carracing; import java.awt.Color; import java.awt.Graphics; import java.awt.Image; import javax.swing.Icon; import javax.swing.ImageIcon; import javax.swing.JOptionPane; /** * * @author …

Member Avatar for NormR1
0
394
Member Avatar for archie.herbias

i need help with my code in retrieving the image stored in the database.. what is the problem of this code? it only displays a blank page.. this is the code : [CODE]<%@page import = "java.sql.*"%> <%@page import = "java.io.*"%> <% Connection connection = null; //login is the name of …

Member Avatar for ejosiah
0
2K
Member Avatar for neeraj080

My Table looks like Table Name: Categories CategoryID : int CategoryName: text Description: text Picture: Image Now I want to display all these fields in a DataGrid. I have done this, [CODE] DataGrid1.DataSource = DataTable or DataView; DataGrid1.DataBind(); [/CODE] [CODE] <asp:DataGrid ID="DataGrid1" runat="server" AutoGenerateColumns="False" Width="100%"> <Columns> <asp:BoundColumn DataField="CategoryID" HeaderText="Category ID" …

Member Avatar for seslie
0
117
Member Avatar for gilanib

Greetings! I have a website [url]www.lanceronlinejobs.com/our_franchises.php[/url] I have a franchise images. I want to display each franchise record from database whenever a user click on franchise link. Here is my code. ourfranchises.php code: [CODE]<?php include('fconnection.php'); $sql = mysql_query("SELECT * FROM tbl_franchise ORDER BY id DESC") or die(mysql_error()); $row3 = mysql_fetch_array($sql); …

Member Avatar for scarcella
0
197
Member Avatar for bluelung

just upgraded from 10.2.8 to 10.4.2. for some reason when I download drivers it fails to mount a disk image. I have run disk utility for verifying permissions and repair but still can't get them to mount. any ideas would be greatly appreciated. thanks.

Member Avatar for dioioib
0
750
Member Avatar for AccurateAG

Hi all: I have a slight problem, and I need s little advice. I need to know which image format loads fastest - jpg - gif - png Basically, I have all my images as .PNGs. Half of them are 40 X 40 pixels. The other half vary in size. …

Member Avatar for idk3danica
0
116
Member Avatar for arihantphp

In this code to upload multiple images to a different folder each time, it creates a new folder and moves files to it, but the validation part is not working ! if i remove the validation part the files are uploaded correctly!! I have mentioned using comments that in which …

Member Avatar for arihantphp
0
451
Member Avatar for TIM_M_91

Hi Guys well what I am trying to do is set a background image for my program where my labels, buttons , and text areas sit in front of the background. Everything I try I try I cannot get it to work. My jframe layout is below so any help …

Member Avatar for TIM_M_91
0
197
Member Avatar for MozammilK

Hi, i have the following code in Java as you can see there are a lot of code repetition. I want to know how i can loop this part of code instead of writing it each time? [CODE] g.setColor( Color.black ); g.fillArc( 110, 80, 300, 300, 0, valint[0] ); g.drawString("BMW", …

Member Avatar for stultuske
0
135
Member Avatar for anithajerome

Hi, I store images in my MYSQL database. I need to retrieve that image to my jsp along with datas.Response.write() function only displays the picture and not the data. How to do that?

Member Avatar for archie.herbias
0
119
Member Avatar for ShinyEdge

Hi, I have a problem with jquery callback. The callback is executed before the fadeIn animation is completed. What im trying to do is, I want to replace an existing image with a new image and resize the new image to a specific size. [CODE] var filepath = "images/test.jpg"; $('#imagewrap').css('background-image', …

Member Avatar for ShinyEdge
0
223
Member Avatar for jarograv

I currently have this code: [CODE]import java.util.Random; import java.io.*; public class randomdwarf { public static void main(String[]args)throws IOException { String dwarves[]= {"Dopey", "Sneezy", "Happy", "Sleepy", "Grumpy", "Bashful", "Doc"}; Random generator = new Random(); int randomIndex = generator.nextInt( 7 ); System.out.println(dwarves[randomIndex]); Runtime.getRuntime().exec("H:\\Profile\\Desktop\\dwarves\\Doc.jpeg"); } }[/CODE] It is a very simple code that …

Member Avatar for Philippe.Lahaie
0
191
Member Avatar for bigstar

Hello programmers. Please am currently working on an ASP.NET website. The major work on the website is all about images uploads by the users, am going to be dealing with lots of image uploads from the user. But the problem is that am still unable to come up with the …

Member Avatar for sufyan2011
0
128
Member Avatar for RiddoKun

I recently installed windows 7 on an windows XP Intel Centrino. Ever since then I can't play my games like grand chase due to the fact that I now have a standard VGA graphic driver. Also when I go to DXDIAG I found that my computer is a Intel(R) Pentium(R) …

Member Avatar for caperjack
0
149
Member Avatar for Samwal

Hey there guys, this is my first post here. Really pretty website I must say. I guess you'd expect a programming website to be well built. Haha. But anyways, I've been having some problems recently with a JFrame. I'm a beginner, but I usually do pretty well with resolving errors. …

Member Avatar for JamesCherrill
0
218
Member Avatar for jcarbillon

I cant load the image from database please help.. [CODE]strsql = "select top 1 id,shape from table" set rsgetimage = server.CreateObject("adodb.recordset") rsgetimage.open strsql,application("connectionstring") Response.Expires = 0 Response.Buffer = TRUE Response.Clear Response.BinaryWrite(rsgetimage("shape")) Response.ContentType = "image/png" rsgetimage.close [/CODE] it just display an x icon - thanks

Member Avatar for vsmash
0
86
Member Avatar for Milutz94

Many people are searching for this code, and not all codes are working for them :) So, this is a bit easyer, ussualy a .js and/or .css file are required, but this one is simple! [B]STEP 1[/B] Paste this into your page header: [CODE]<script type="text/javascript"><!-- function setFirstChildImgDisplay(el,vis) { if(!el || …

Member Avatar for stultuske
0
274
Member Avatar for eldes23

i've already searched but i got more confused when new codes appears in my sight again (cuz im just a newbie) So, what I want to is, when the user successfully uploads the image(upload.php), it will be viewed before continuing into the next step (view.php). [B]index.php[/B] [CODE=php] <html> <body bgcolor="black" …

Member Avatar for eldes23
0
218
Member Avatar for klemme

Hi Guys, This is the image I am animating (The html surrounding it): [CODE] <div class="index_top_left_img"> <img src="products/wrangler-jeans.gif" width="198" class="IndeximgOpa" /> </div> [/CODE] I have this few lines which fades the images in and out: [CODE] $(function() { $('.IndeximgOpa').each(function() { $(this).hover( function() { $(this).stop().animate({ opacity: 1.0 }, 500); }, function() …

Member Avatar for pritaeas
0
206
Member Avatar for sam230

I want to check the image size in JavaScript.. for example if image size is more than 500kb and other format instead of jpg.. it should not get uploaded.. i want to check these validation before form submit.. thanks in advance.. waiting for positive ans. Regards

Member Avatar for Troy III
0
278
Member Avatar for me_mie

Hi :) Can anyone help me? I want to display image in my GUI using tkinter (python 3.2.2) Do i need to download this python image library ==> PIL-1.1.7.win32-py3.2 or actually it was already in tkinter? How about the code? Thanks for the help.

Member Avatar for me_mie
0
374
Member Avatar for aishapot
Member Avatar for ryklon

Hi! I'm having a bad time on learning how to store and retrieve image files on MS Access. This is some sort of uploading profile picture thing in my software. The open file dialog stuff and the storing of image file in the MS Access Database are taken care of …

Member Avatar for ryklon
0
1K
Member Avatar for AneyCarver

Hello Mac users, I'm trying to hook up my husbands dell printer with my mac. We have two printers in our office and it's crowded. I wanted to get rid of my hp printer, the two printers are about the same. I can't figure out this printer driver thing. I …

Member Avatar for smith3211
0
392
Member Avatar for sujan.dasmahapa

i am creating a button on the page and pressing button loads an image. when the image loaded button is moving down and the image occupies the top-left portion. How can i position the image on the right hand side, so that my buttons dont move and the images comes …

Member Avatar for sujan.dasmahapa
0
179
Member Avatar for aishapot

I have to save 4 different pictures in my database. NSO, GoodMoral, ReportCard & TOR. Here is my code. [CODE] Sub savepic() Dim str As String = "My connection" Dim con As New SqlClient.SqlConnection con.ConnectionString = str Dim ms As New IO.MemoryStream() nsopic.Image.Save(ms, nsopic.Image.RawFormat) goodmoralpic.Image.Save(ms, goodmoralpic.Image.RawFormat) repcardpic.Image.Save(ms, repcardpic.Image.RawFormat) torpic.Image.Save(ms, torpic.Image.RawFormat) …

Member Avatar for aishapot
0
966

The End.