6,113 Topics

Member Avatar for
Member Avatar for nonshatter

Hi all, I have a simple problem. I have this javascript code which I'm using for collapsible tables: [CODE] <html> <head> <script type="text/javascript"> function getItem(id) { var itm = false; if(document.getElementById) { itm = document.getElementById(id); } else if(document.all) { itm = document.all[id]; } else if(document.layers) { itm = document.layers[id]; } …

Member Avatar for Airshow
0
147
Member Avatar for sijothomas

Dear friends Please give me the JAVA CODE FOR CONVERTING COLOR IMAGE TO GREYSCALE IMAGE and creating the histogram of that greyscaled image .Including header files also... Anyway thanks in advance May GOD blessyou bye....

Member Avatar for masijade
-2
91
Member Avatar for kooia

Hi everyone, I'm completely new to javascript, and I was working on a project that's supposed to overlay an image when mouseover occurs. When you mouseover, it shows the image, but then when you're moving your mouse over that area, the overlaid image flashes. I think maybe this should go …

Member Avatar for R0bb0b
0
1K
Member Avatar for new SE

hi all, i'm going to make an upload picture into database.. in run successfully but now it will store as [CODE] C:\Users\itdept\Desktop\webmaster\image\Desert.jpg [/CODE] but i just want to make it like this [CODE] ~/image/Desert.jpg [/CODE] is it possible?

Member Avatar for kvprajapati
0
163
Member Avatar for shenbagam

[CODE]<?php $con = mysql_connect("localhost","root","" ); mysql_select_db("test",$con); $sql="select image from image"; $res=mysql_query($sql) or die(mysql_error()); $i=1; while($i < mysql_num_rows($res)) { $image_id[$i] = mysql_result($res, $i); echo "<img src=\"".$image_id[$i]."\">"; $i++; } ?> [/CODE] I'm using this code to display the image from mysql but images are shown like this M¢—‡¤6n幆J1³ŒªÌF·æFLùp1 `‘ã:ÃDVNÒ–¢QSgWñg€?´‘íx3²ûEùÝ ô.l%·ËìÈŒÿAzH­'óÀËË€XƒÍ«L²GçÚ›9ást¸°äŒëŸ]˜¦21ŒÖ|¸E^®ÏJOXX&æàߣéü6bêæ¬Öò7aúQ¡·÷9;Ó-ˆ )ôdx¹cüÖlÒ'j( q1ÌnéW4Ó÷dÇå©uF …

Member Avatar for hielo
0
114
Member Avatar for shenbagam

Friends, I'm very new to php . How to make slide show in web page by using php. Now only i came to know to storing and retrieval of images.. to make slide show what we have to use my friend asked me to use photoshop which is best.... anybody …

Member Avatar for shenbagam
0
70
Member Avatar for mnewsome

Hello, Presently reading about WIM Imaging. There ismuch material available on the steps but nowhere can I find what exactly happens during image mounting/unmounting. Microsoft Technet does not clearly explain why mounting is necessary and what happens to the image during the steps of the mounting process. guidance sought

Member Avatar for caperjack
0
200
Member Avatar for bwallace

Our image upload form always returns the error message, "Invalid file. Please click the 'Back' button on your browser and try again." Here are the basics. ==HTML FORM== [CODE=HTML] <form enctype=="multipart/form-data" action="phpscript.php" method="post"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="file" name="uploadedfile[]"> <input type="submit" value="Submit" /> </form> [/CODE] ==PHP SCRIPT== …

Member Avatar for somedude3488
0
158
Member Avatar for dalaharp

hi, i have to rotate an image. the image is stored in an image[rows][cols] array.. i am trying to rotate it using trignometric functions. i am not sure what happens when i rotate the image, does the address of the pixel vary or the value of the pixel vary. and …

Member Avatar for arielbernal
0
3K
Member Avatar for shenbagam

[CODE]<?php $con = mysql_connect("localhost","root","" ); mysql_select_db("test",$con); $sql="select image from image"; $res=mysql_query($sql) or die(mysql_error()); $i=1; while($i < mysql_num_rows($res)) { $image_id[$i] = mysql_result($res, $i); echo "<img src=\"".$image_id[$i]."\">"; $i++; } ?> [/CODE] I'm using this code to display the image from mysql but images are shown like this M¢—‡¤6n幆J1³ŒªÌF·æFLùp1 `‘ã:ÃDVNÒ–¢QSgWñg€?´‘íx3²ûEùÝ ô.l%·ËìÈŒÿAzH­'óÀËË€XƒÍ«L²GçÚ›9ást¸°äŒëŸ]˜¦21ŒÖ|¸E^®ÏJOXX&æàߣéü6bêæ¬Öò7aúQ¡·÷9;Ó-ˆ )ôdx¹cüÖlÒ'j( q1ÌnéW4Ó÷dÇå©uF …

Member Avatar for Dragonbaki
0
120
Member Avatar for wickedsunny

Hello, i am running a site consisting mainly of images . the problem im facing is high traffic loads sometimes from social networks on image links directly like : /i/image_123232.jpg instead of the image page. I have developed teh site in a way to use same image name as teh …

Member Avatar for pritaeas
0
125
Member Avatar for shenbagam
Member Avatar for takercena

[CODE] for(int x = 0; x < w; x++) { for(int y = 0; y < h; y++) { int rgb = bimg.getRGB(x,y); //byte r = (byte) ((rgb & 0x00ff0000) >> 16); //byte g = (byte) ((rgb & 0x0000ff00) >> 8); //byte b = (byte) (rgb & 0x000000ff); pixels[x][y] = …

Member Avatar for masijade
0
298
Member Avatar for readbanana

I have a website that allows people to come an upload images. When that person uploads an image it renames it according to who is uploading it. So every time that person logs on and changes his image, it will overwrite the old image. That person will only have one …

Member Avatar for readbanana
0
178
Member Avatar for ritcherjd

I have a problem at hand. It is to generate a C code - i need to do the following, i will capture an image, then i have to this image into an array using C on which i can do some image processing. How do i go about it? …

Member Avatar for angelique28
0
1K
Member Avatar for stephen_UK

I have this short script that instead of displaying the images, displays the raw biary data stored in the blob. Where am I going wrong please? [CODE]<?php @mysql_connect($host, $username, $password) or die("Can not connect to database: ".mysql_error()); @mysql_select_db($database) or die("Can not select the database: ".mysql_error()); $result = mysql_query("SELECT * FROM …

Member Avatar for stephen_UK
0
295
Member Avatar for RykeTech

Hey everyone! I recently took over this website and am making some revisions, but for some reason the image won't center in the placeholder. The site is [URL="http://www.genevabeachresort.com/test.html"]here.[/URL] The CSS behind it looks like: [CODE].galleria-container { position: relative; overflow: hidden; background: #000; } .galleria-container img { -moz-user-select: none; -webkit-user-select: none; …

Member Avatar for RykeTech
0
207
Member Avatar for gunjannigam

I have saved generated an image using a byte[] by using [CODE]Toolkit.getDefaultToolkit().createImage(image);[/CODE] where image is a byte[]. The image generated by this is of java.awt.Image instance. Now I want to save this image into my local hard disk as JPEG (the image was decoded as JPEG). How would I do …

Member Avatar for gunjannigam
0
162
Member Avatar for loke

Following is my url [url]http://www.teamsingapore.com.sg/content/major_games/asian/16th_asian_gamesguangzhou2010/photo_gallery/cheer_on_team_singaporeasiangamesbannercontest.html[/url] Click on the first image. then navigate through the ligthbox using 'Next' button. Sometimes the images appears distorted. Is is due to the Lightbox ajax rendering of the images?

Member Avatar for loke
0
41
Member Avatar for mrbungle

In my form I have a graphic in a picturebox- simple stuff. My application prints a bunch of stuff to an Excel file- everything works perfectly with no problems. I need the image in the picturebox to print to the Excel sheet. I've tried a ton of code but nothing …

0
88
Member Avatar for yamii

hey !!!!!!! m not able to view images in my tomcat server while doing coding in net beans !!!!!!!! whats the proper path to be written to view images I am using it this way <img src="D:/project/web/bukcovers2.jpg">

Member Avatar for joehms22
0
42
Member Avatar for chinee
Member Avatar for Pereguin

Hi, is there any way I can execute my PHP coding when my html image is clicked? Through AJAX, HTML, Javascript or anything. Right now my coding looks like this in Dreamweaver: <img src="_images/banner1.jpg" width="286" height="60" border="0" usemap="#Map" class="apply-btn" style="float:center; padding-top:20px; padding-left:240px;" onclick= "hello()" value='Applyonclick' input name='Applyonclick'/> </form> <script type="application/javascript"> …

Member Avatar for R0bb0b
0
174
Member Avatar for JuanKawada

I've been driving myself crazy with something I originally thought would be incredibly simple. Here's a really simple example of what I'm trying to accomplish: I have a picture sized 800x530, all I need to do is center this picture in a new image that is 800x800 with a black …

Member Avatar for JuanKawada
0
137
Member Avatar for Kremlan

I'm supposed to modify this method ([url]http://pastebin.com/6xF1pN51[/url]) to this (translated): "A faster algorithm to compute the average can be done by looping through the entire image in two passes in each session and make a one-dimensional mean value. In the first pass compute the mean value of the y-axis (one …

Member Avatar for quuba
0
148
Member Avatar for shenbagam

I want the coding for image updating. i,e when the user uploding his images tat be automatically updated in mysql as well as in website

Member Avatar for Dragonbaki
0
128
Member Avatar for chris evans

Hey guys! Im looking for a class or code in VB.NET that can convert a black and white image in JPEG format to a grayscale TIFF format. Any1 with some idea or source i can get?

Member Avatar for chris evans
0
87
Member Avatar for khushhappy

Hi, I cant make the file to get uploaded. [B]index.html [/B] [CODE]<html> <body> <form enctype="multipart/form-data" action="uploader.php" method="POST"> <input type="hidden" name="MAX_FILE_SIZE" value="100000" /> Choose a file to upload: <input name="uploadedfile" type="file" /><br /> <input type="submit" value="Upload File" /> </form> </body> </html> [/CODE] [B]uploader.php[/B] [CODE]<head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Uploader php …

Member Avatar for cossay
0
300
Member Avatar for Arbolito

Hey guys. I'm working on a simple hangman program. I got the core engine down working in a command prompt, and now I'm making it using classes and a GUI. I'm using tkinter. Anyway, everything works with no error, but the image is not displaying at all. Here is the …

Member Avatar for KWL
0
1K
Member Avatar for Mkaveli

Hello im trying to create a character with pre devined animations. The characters parts must be changeable. I was wondering if there is a way in JAVA to create some sort of skeleton animations and add graphics to the skeleton. P.S. I was wondering if someone knows a good book …

Member Avatar for quuba
0
161
Member Avatar for 84hd0ns

Hi, I am trying to make a simple php photo gallery, I have this code, but the only problem is that the photos appear in a random order. How can I get the photos to appear alphabetically or numerically? [CODE]<?php if ($handle = opendir('photos/')) { while (false !== ($file = …

Member Avatar for 84hd0ns
0
168
Member Avatar for anollipian

Hi I'm attend an image processing course & we have to choose an application to work on(using C# & Matlab). So do you have any ideas for I.P. applications which require from (1-2) weeks to be finished ? Thanks.

0
47
Member Avatar for saad749

Hi, I am trying to make a Picture viewer for my BS Computer Science 1st Year Project in [B]Turbo C Compiler[/B]. I have to stick with this compiler atm. I want to be able to display BMP,PNGs and JPEGs [TIFF and others too if it won't be very difficult]. I …

Member Avatar for Ancient Dragon
0
1K
Member Avatar for dwlamb_001

Hello all, I'm having a CSS issue. Here is a sample of the site [URL="http://challenged.dwlamb.com/"]http://challenged.dwlamb.com/[/URL]. If viewed in IE, there's no problem. In FF, Chrome and Safari, the background image stops when it hits the content div. These are the divs [CODE="css"] #wrapper{ background: #ffffff url('../images/axis-y_bkgrd.jpg') repeat-y fixed center top; …

Member Avatar for dwlamb_001
0
78
Member Avatar for mani_1991

hai, friends i have problem in inserting image into mysql database using a small java program.... here is my code for inserting image into database............ [CODE] import java.io.*; import java.sql.*; class ImageUpload { public static void connection() { Connection con=null; Statement st=null; PreparedStatement pst=null; try { Class.forName("com.mysql.jdbc.Driver"); System.out.println("driver is loaded"); …

Member Avatar for SasseMan
0
244
Member Avatar for LELE7

I have an upload form where the uploaded picture is displayed. This works perfectly in Firefox. Problem is that in Internet Explorer, the image only displays when the page is refreshed. I do not want my users to have to do this, any tips? I tried just about every solution …

Member Avatar for LELE7
0
126
Member Avatar for bjeffries

I was wondering if anyone over here could help me figure out why this thumbnail generator is not working. I am using the [url]http://code.google.com/p/smart-lencioni-image-resizer/[/url] I have a discussion on his google group going but he I am not really getting anywhere over there on getting this issue figured out. I …

Member Avatar for bjeffries
0
333
Member Avatar for subhankar02dey

I have an image and a listbox when i click the first item of the listbox and then click on the image, I need to print a red dot on whenever I click on the image. and also get the co ordinate of the point. BUt now, I want to …

Member Avatar for rpk2006
0
87
Member Avatar for Kosithc

Hello, I have 2D matrix with greyscale image data, in particular point I have computed vector, which contains gradient in this point (via Sobel operator, it has 2 values - difference in x and in y axis), and I store this gradient vector like perpendicular vector to this gradient, so …

Member Avatar for spetro3387
0
166
Member Avatar for Binika

Please help! I need to write a programe, that would draw a picture like this: [URL="http://yfrog.com/6ptreelj"]http://yfrog.com/6ptreelj[/URL] I've tried with recoursion but it doesn't work properly. from turtle import * [CODE]tree(n, lenght): if n == 0: lt(90) fd(lenght) rt(45) fd(lenght/2) bk(lenght/2) lt(90) fd(lenght/2) bk(lenght/2) rt(45) else: rt(135) tree(n-1, lenght/2)[/CODE]

Member Avatar for ultimatebuster
0
164
Member Avatar for rajeesh_rsn

Hi friends, In one of my web page I want to show an image preloader. ie When I clicked on the small thumbnail in my web page then the main large image will load. My code looks something like this [ICODE] $("#images li").click(function(){ var image=this.href; $("#mainImage").attr('src',image); });[/ICODE] I want to …

Member Avatar for Airshow
0
104
Member Avatar for SerogaM

I want change file from JPEG to tiff and no use any compression change image size : the code I wrote is:[CODE] f=imread('source_image.jpg'); figure(1) imshow(f) imwrite(f,'new_tif_image_file.tif','compression','none','resolution',... [100 80]) g=imread('new_tif_image_file.tif'); figure(2) imshow(g) [/CODE] ~~after all these done I look at two images and they look same... what problem in this code?

0
74
Member Avatar for eyadox
Member Avatar for WaltC

Can someone please help me get rid of this "Error loading" message at startup? It is followed by the opeing of my System 32 file. I am using Windows XP on a Sony VAIO. The following is my HijackThis log. Any help will be greatly appreciated. Thanks in advance: Logfile …

Member Avatar for jholland1964
0
530
Member Avatar for vingan

Hi, I am new to Javascript and I was wondering how I should be able to create a horizontal image scroller. I tried it with marquee tool, but it doesn't seem to work on IE8. Can someone please provide me with the code? Thank you.

0
67
Member Avatar for gikonyo

hi there i want to upload an image into a webpage i have the following code which is not working .where is the problem or who have a better code. <?php //define a maxim size for the uploaded images in Kb define ("MAX_SIZE","100"); //This function reads the extension of the …

Member Avatar for pssubash
0
130
Member Avatar for NewOrder

<body bgproperties=fixed background="../britney_spears_12.jpg"> i use that. but it works in iexplorer only , not in firefox? any way to make it work on firefox

Member Avatar for SaintThomas
0
167
Member Avatar for Aamit

Hi, [code] <form id='frmuser' name='frmuser' action='web_url.php' method='post'> <input name="site_name" type="text" id="site_name" <input name="add" type="submit" id="add" value="Create image" /> </form> [/code] Suppose :- web url is google.com how to create image of this? Any google API available? using html of that url possible to create image ?

Member Avatar for Aamit
0
264
Member Avatar for Clawsy

Hello, I have to continously update an image based on screen capture. So how can I memorize only the part of the image that changes from one picture to another (from one frame to another)(pixels?)... Think of a remote desktop. It's not a good thing to send a 200K desktop …

Member Avatar for mesho100200
0
2K
Member Avatar for jiangjiang

The End.