6,113 Topics
![]() | |
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]; } … | |
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.... | |
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 … | |
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? | |
[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Ò–¢QSgWñ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 … | |
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 … | |
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 | |
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== … | |
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 … | |
[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Ò–¢QSgWñ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 … | |
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 … | |
How to retrieve and display an image from MySQL using php? ![]() | |
[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] = … | |
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 … | |
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? … | |
![]() | 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 … ![]() |
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; … | |
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 … | |
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? | |
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 … | |
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"> | |
| |
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"> … | |
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 … | |
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 … | |
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 | |
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? | |
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 … | |
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 … | |
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 … | |
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 = … | |
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. | |
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 … | |
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; … | |
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"); … | |
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 … | |
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 … | |
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 … | |
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 … | |
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] | |
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 … | |
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? | |
Im dying here please help me how to display the image | |
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 … | |
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. | |
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 … | |
<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 | |
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 ? | |
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 … | |
how i can upload and store image to a specific folder |
The End.