6,113 Topics
![]() | |
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? ![]() | |
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 … | |
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 … | |
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. } … | |
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 … | |
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 … | |
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 | |
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> … | |
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 … | |
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. | |
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 … | |
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 … | |
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 , … | |
can anybody tell me how to display image in C++ (C-Free) | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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 | |
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 … | |
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 … | |
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 … | |
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 … | |
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 … | |
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.... | |
%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: … | |
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 … | |
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]: … | |
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 .= … | |
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"); … | |
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 … | |
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) && … | |
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 … | |
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 … | |
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, … | |
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 … | |
**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 … | |
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 … | |
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 … | |
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? … | |
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 | |
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 … | |
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) … | |
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 … |
The End.