6,113 Topics

Member Avatar for
Member Avatar for dagtad

I'm trying to develop an interactive website using php and i want to display image(retrived from mysql database) and some text on the home pag. but the image retrived from my database fills the whole page. how can i display both text and image on the same page?

Member Avatar for diafol
0
891
Member Avatar for dskumar_85

hai .... I want to upload the image to database...But my question is how can upload the image without using the fileupload .Instesd of fileupload i have give the specific path of the image likee c:\project\image\winter.jpg in static ..... in the button click i want to upload the image to …

Member Avatar for motrack
0
141
Member Avatar for nikolaos

I want to write a version of the SAND GAME. I want to examine the color of every pixel in a Jframe window. I use something like this. Toolkit toolkit = Toolkit.getDefaultToolkit (); Dimension dim = toolkit.getScreenSize(); int height = dim.height; int width = dim.width; GraphicsEnvironment ge = GraphicsEnvironment.getLocalGraphicsEnvironment(); GraphicsDevice …

Member Avatar for nikolaos
0
247
Member Avatar for Jdsiteworks

This is the form where i can upload the image file: <?php require_once ('includes/config.inc.php'); session_start(); // If no first_name session variable exists, redirect the user: if (!isset($_SESSION['first_name'])) { $url = BASE_URL . 'index.php'; // Define the URL. ob_end_clean(); // Delete the buffer. header("Location: $url"); exit(); // Quit the script. } …

Member Avatar for Jdsiteworks
0
322
Member Avatar for blitzkrieg64

I'm trying to access the pixel colors from a image file but can't seem to get it to work properly, my program is only accessing the pixel colors from my active window. I've been stuck on this for a few days and would really appreciate any help. I'm guessing i …

Member Avatar for Moschops
0
282
Member Avatar for Ikram Shams

I am developing a website in which i am showing the hexa code into bgcolor of td of table. The problem is that when someone like that page or print the page then that color is not showing because the color is bgcolor color of td. So, i want to …

Member Avatar for hericles
0
366
Member Avatar for bo0ga

Please explain to a complete noob and please help me in regular javascript not jquery. I want an image to be shown and when clicked another image to show up right underneath

Member Avatar for bo0ga
0
1K
Member Avatar for Kniggles

Hi have confussed myself, can you see why i cant get a new pic to be displayed in the box on click please ? <HTML><HEAD><TITLE></TITLE><META content="text/html; charset=utf-8" http-equiv=Content-Type><META name=GENERATOR content="MSHTML 10.00.8400.0"><STYLE type=text/css>BODY { FONT-FAMILY: verdana, arial, sans-serif }</STYLE> </HEAD><BODY> <FORM style="BORDER-TOP-COLOR: ; BORDER-BOTTOM-COLOR: ; BORDER-RIGHT-COLOR: ; BORDER-LEFT-COLOR: " method=post action=refresh> …

Member Avatar for Kniggles
0
265
Member Avatar for Coderunner

Hello, I have a problem with setting a cookie. People can hide or show background but when they go to another page of the website this needs to be remembered so I need to save it in a cookie. My code so far is <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 …

Member Avatar for Coderunner
0
232
Member Avatar for Perry31

Hi, Can anyone suggest me how to set/create Alpha channal like OxaaRRGGBB for 32Bit BMP image?? I used photoshop, Pixelformer to create 32Bit BMP image with Alpha channel but when i open that image in hex editor nothing is set for Alpha channel.

Member Avatar for Schol-R-LEA
0
172
Member Avatar for VernonDozier

I'm getting an error that I don't understand. It's a Null Pointer Exception, but neither of my arguments in line 118 is null. According to the documentation, ImageIO.write will throw a IllegalArgumentException or an IOException, but it isn't throwing either. I'm not sure what could be null here. You can …

Member Avatar for JamesCherrill
0
2K
Member Avatar for helenc

Hi there, I'm having trouble getting a rotating image script working on a site. Unfortunately it's not displaying correctly in Firefox or IE9 and I need some help to fix that and wondered if anyone would be kind enough to help please? It seems to get stuck on the Sharpie …

Member Avatar for dany12
0
213
Member Avatar for M.Waqas Aslam

hello ! i am using mssql server 2008 , i have a table with three fields , 1- ProdID 2-ProdName 3-ProdPic , now i want to show the all records of the table in the datagridview by using vb.net , how can i show my image field in datagridview , …

Member Avatar for poojavb
0
2K
Member Avatar for chamnab
Member Avatar for PurpleHeaven

Hello, I used a plugin from CSS-Tricks.com which is located here: http://css-tricks.com/downloads/ It's an Infogrid Accordion. It's working very well, but I'm having problems with the position of the columns. At first, all of them are in the middle, but when I clicked a column, all the others will stack …

0
175
Member Avatar for sigit_p

hello,.. i have problem with my script, my goals to display image from my query result. i created picture database contain id, name & link (data contain link to picture folder localhost/nseries/A2-1C1-1B.png) on my query display i created dynamic link to picture but when i click the link nothing show …

Member Avatar for sigit_p
0
216
Member Avatar for abathurst

Hi, I'm trying to upload multiple image to folder and insert the image information into a database. I have been successful in being able to upload the images to the folder (thanks to a tutorial online) but when I try to add the code to insert the image information to …

Member Avatar for abathurst
0
223
Member Avatar for GlenRogers

I'm trying to add an image to the top of my GUI as a logo. I tried to put it in a JPanel then add the JPanel at the top of the GUI, the only problem is that my image isnt going into my JPanel. Heres my code for it …

Member Avatar for GlenRogers
0
241
Member Avatar for user1133q

Hi, i'm working on a project, that scales and move the image, now i want to rotate the image, i tried using `matrix.postRotate(degrees);` but didn't work for me, here is my code: @Override public boolean onTouch(View v, MotionEvent rawEvent) { WrapMotionEvent event = WrapMotionEvent.wrap(rawEvent); // ... // Dump touch event …

Member Avatar for john29
0
382
Member Avatar for Mike_H

Below is a sample code using the [URL="http://developer.yahoo.com/yui/slider/"]YUI Slider Control[/URL]. How can I get the photo to zoom in and out proportionally as the slider moves up and down? P.S. I am open to any existing working scripts. I have not been able to find any that does a variable …

Member Avatar for jansiranir
0
263
Member Avatar for Goomba79

Hello, I am trying to make a web site. i have started to play about with the style sheet that is auto generated the make it how i like, My question is how can i put a background image in the .LoginDisplay class? I have tried editing it as follows …

Member Avatar for Goomba79
0
95
Member Avatar for hwoarang69

i am storeing image in database type long blob. //STORE IMAGE IN $IMAGE $image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image name in $image_full_name(.jpeg) $image_full_name = $_FILES['fileupload']['name']; //store image size in $image_size than conver to 100x100 $image_width_height = getimagesize($_FILES['fileupload']['tmp_name']); $image_resolution = $image_width_height[0] . "X" . $image_width_height[1]; //size of image 100x100 //get size in …

Member Avatar for veedeoo
0
264
Member Avatar for yup790

I am making a c# level editor and it is a bit out of my league but it should be good to learn oop algorithems. I have only just started and have already come across a problem. ** I need to load images as sprites and then create a button …

Member Avatar for yup790
0
326
Member Avatar for sirlink99

I am making a game, and I am wondering how to make an image from a graphics object. I have tiles stored in an xml file. I then read from this file to make the level, however I would like to have a thumbnail for each level. This is why …

Member Avatar for richieking
0
82
Member Avatar for Gary123

I am looking for a upload image code so that I can add to my website so others when visiting that can uplaod a picture and send it to me

Member Avatar for Rakesh4
2
154
Member Avatar for DeanMSands3

tl;dr: I think my code sucks. Can you help me? I haven't written a test case for this class yet, but I want to make sure I'm doing it right before I go home tonight. The gist of the class is to provide a reusable ImagePrinter object that can print …

Member Avatar for DeanMSands3
0
229
Member Avatar for hwoarang69

i am only display 10 images on this page but it takes like 4sec to load. which is alot, i should take like 1 or 2 sec to load. any thoughts? i also tired joining sql <?php include("include/header.php"); //check, if user is loged in or not if(isset($_SESSION['username'])) /*** user is …

Member Avatar for almostbob
0
111
Member Avatar for rakwel10

Hello, I am working on a site that has big image on its background. So when the page loads, the image loads very slow also. See the picture to understand http://i1235.photobucket.com/albums/ff429/rakwel10/loading-issue.jpg Slider images are also problem. What are the possible ways to solve this? "$(document).ready(function()" is not also working. Pls …

Member Avatar for androtheos
0
183
Member Avatar for hwoarang69

i want to get image_id. which is store in database long blob. iam send a image id from different page to this page. and i am using _GET to revice the image_id on this page. $image_id = $_GET['img']; but it say Undefined index: img is there a different way to …

Member Avatar for hwoarang69
0
646
Member Avatar for Sevyt

I creating a small program which basically reads Electronic identity cards and stores the information in a SQL database. There is more to the program of course, but this is where i need help with. The EID has a picture from the person also. I decided not to save the …

Member Avatar for Sevyt
0
587
Member Avatar for poojavb

Hello, My avatar pic is not getting updated....I changed my profile pic from a kitten to a design and even log off from Daniweb still its the same old avatar....

Member Avatar for poojavb
0
148
Member Avatar for Alexispap

%author: Alexis Papathanassopoulos from Tkinter import * import Image, ImageTk import os import glob import time top = Tk() c=Canvas(top,width=800,height=400, bg='lightblue') c.grid(row=0,columnspan=2,sticky=N+E+W+S) pdict={} class Flow: def __init__(self, clickfunc): self.cfunc = clickfunc def goto(self, canvas, nr): global velocity,autorotate clickeditem = canvas.find_withtag("pic_" + str(nr)) tagsofitem= canvas.gettags(clickeditem) oldcenteritem= canvas.find_withtag('center') if clickeditem: if oldcenteritem: …

Member Avatar for TrustyTony
0
1K
Member Avatar for Simon180

I been searching the net for demos on how to stream live images or video over the net i found a few examples but there were no good not clearly commented so i did not understand how things worked. Basically am after a simple but good way to send a …

Member Avatar for Qazinix
0
168
Member Avatar for hwoarang69

image store in database long blob tying to work on upload.php page. where user can upload images. it works fine but when user upload a image size in mb's it give me 3 errors. Warning: mysql_query() [function.mysql-query]: MySQL server has gone away in C:\xampp\htdocs\a_upload\upload.php on line 69 Warning: mysql_query() [function.mysql-query]: …

Member Avatar for |-|x
0
197
Member Avatar for hwoarang69

here iam checking if the image size is in mb's than i want to reduce the image to kb's. iam not sure how to do this. the if statment works fine. but i need halp inside. $image = chunk_split(base64_encode(file_get_contents($_FILES['fileupload']['tmp_name']))); //store image in database. long blob if(strstr($file_size,'M')) //mb's { $upload_error .= …

Member Avatar for pritaeas
0
230
Member Avatar for hwoarang69

trying to print last image from database. my image type is long blob. note this is all one file. //first get the last id in database and get last image form database <?php $lastid = mysql_insert_id(); $image = mysql_query("SELECT * FROM image WHERE user_id = $id ORDER BY image_id DESC"); …

Member Avatar for muralibobby2015
0
127
Member Avatar for hwoarang69

trying to create upload page. 1st need help geting image size for ex 199mb or kb etc.. 2nd resolutiion 1000x39 etc 3rd how can get more information about the image.or camra for ex make, model, Aperture, ocal Length. 4th how to get date when its sumbited for some reason it …

Member Avatar for hwoarang69
0
3K
Member Avatar for Mihujoy

Hello! I have been trying to figure out why an upload script doesn't seem to work like it should but I couldn't understand why so maybe somebody here can help me out a bit please. Here is the function: function uploadFile($conn,$newsid,$table_name,$linkImg,$align) { global $msg,$maxSize; if ( $_FILES['userfile']['size']!=0 && $_FILES['userfile']['size']<($maxSize*1000) && …

Member Avatar for cereal
0
170
Member Avatar for charl_i

Hello! I'm searching for a UML tool that can comprehensively 3D visualize a big (class) diagram. Something like a crossover between Google Sketchup and a proper modelling tool - or a tool which uses an XMI export as a base for its 3D visualization. Ideally it would also provide an …

Member Avatar for internetscooter
0
815
Member Avatar for bkjfdghiuds

ive been changing around the height values for everything but nothing seems to push the navigation bar down next to the comments. when i have a slideshow, the slideshow ends up blocking the navigation bar. here is an [image](http://i.imgur.com/ngqJN.jpg) of the problem. here is the [css](http://pastebin.com/6CwwHyr4) on pastebin. can anyone …

Member Avatar for dany12
0
173
Member Avatar for microbert

Hi, I am using php and html and i am trying to make two buttons: - Print button: that print a specific picture (not the whole page) - Download button: which will display the save as window to save a picture. Do you know if this is possible and how, …

Member Avatar for ko ko
0
251
Member Avatar for charisma

Hello everyone. I have a .gif image that I would like to put on a opening web page. I would like to make it fade in when a person first comes to the web site. I know it can be done in flash but never used it. can some one …

Member Avatar for JorgeM
0
77
Member Avatar for afrogfx

**can help me please .. when i need to remove MAX_SIZE from my code and $dir='upload'; because function create thumbnail in images folder Nd i think error in this code if(move_uploaded_file($t_name,$dir."/".$name)) {** <?php //define a maxim size for the uploaded images define ("MAX_SIZE","1000"); // define the width and height for …

Member Avatar for Squidge
0
245
Member Avatar for c#_fem

Hi, I have a problem. I can't display image if it is stored on local disk c. The image class displays images only if there are in the project. For an example this will display the image : Image1.ImgUrl = @"~\image.jpg" But this won't display anything: Image1.ImgUrl = @"C:\images\image.jpg"; Does …

Member Avatar for PatSharbaugh
0
71
Member Avatar for c#_fem

I want to enable choosing which image to display after a button click. Could you please give me an example? Thanks This is what I have so far : protected void Button10_Click(object sender, EventArgs e) { Image1.ImageUrl = @"C:\img\Desert.jpg"; Image1.ImageAlign = ImageAlign.Left; } It won't display anything after I run …

Member Avatar for c#_fem
0
186
Member Avatar for c#_fem

Hi, How to add picturebox or something similar into a web form. I can't seem to find a picturebox in my toolbox. I'm using Visual Studio 2010. I need to display an image after the button click in a web form. Does anyone have an idea how to do that? …

Member Avatar for hericles
0
94
Member Avatar for Sanchixx

Hello, How can i replace a button by an image? Here is my code: <INPUT TYPE="butt <INPUT TYPE="button" NAME="insert" VALUE="Gras" onClick="this.form.area.value=this.form.area.value.concat('<b>Ajouter votre texte en gras ici</b>');">insert" Thank you, Sanchixx

Member Avatar for memomk
0
145
Member Avatar for IndianaRonaldo

I started with curl and now I'm able to post form data, obtain html pages and all that basic stuff. But I'm unable to analyse individual data in the obtained webpage. Like filtering all the images, videos and things like that. I can do that in Javascript, but that can …

Member Avatar for mustafaneguib
0
244
Member Avatar for LogicWeb

I'm looking to set a 128px x 128px image as background with default opacity to.30 and hover to .70 I cannot get this working right. Current code is: /********** POPUP RADIO ***********/ div#Navigation{ height:96px; width:96px; } div#Navigation ul{ list-style:none; padding:0; } div#Navigation ul li{ display:block; text-align: right height:96px; width:96px; background:url(images/radio.png) …

Member Avatar for ashishkumar_bhi
0
84
Member Avatar for rasizzle

Here's my dilemma: I am creating a histogram through matplotlib and saving it in the same folder I'm running. There are a few image files that I can save it as, none of them being bitmap. So I'm trying to convert the image to bitmap. I've looked at WxImage and …

Member Avatar for Gribouillis
0
28K

The End.