1,138 Topics

Member Avatar for
Member Avatar for JoshuaBurleson

I'm having an issue displaying images in tkinter, I've tried the methods suggested by effbot and a couple other sources to no avail. Here are a couple ways I've tried so far:[CODE] gmail=PhotoImage('gmail.gif') self.glab=Label(self,image='gmail.gif') self.glab.image=gmail self.glab.grid(row=3,column=4) gmail=PhotoImage('gmail.gif') self.glab=Label(self,image=gmail) self.glab.image=gmail self.glab.grid(row=3,column=4) self.glabim=PhotoImage('gmail.gif') self.glab=Label(self,image=self.glabim) self.glab.grid(row=3,column=4) gmail=PhotoImage('gmail.gif') self.lab=Label(self,image=gmail) self.lab.image=gmail self.lab.pack() [/CODE]the last one …

Member Avatar for JoshuaBurleson
0
20K
Member Avatar for Coyx

Hi guys, I'm wondering if anyone can help. I have surryussface flu and I just can't seem to concentrate at all. I need to be able to select a colour from a list like the attached image. I've managed to code it right up to the part where it can …

Member Avatar for Coyx
0
1K
Member Avatar for jacko_162

New user to Daniweb in the hope i can get some help cus my brain is fried. Im relitively a n00b at php but i can handle the basics, working with images is beyond me at the moment but im learning. I have the below code, which works. it uploads …

Member Avatar for jacko_162
0
263
Member Avatar for rainbow9

I want to draw a editable TextBox on top of picture box and the user is allowed to enter text into this box.After entering text the text box should disappear and the text entered should be painted to the picture in the picture box.Please help me on this,I'am doing this …

Member Avatar for rainbow9
0
2K
Member Avatar for kaizokupuffball

Hi! I got this image uploading script that will upload the user's choosen picture, and save it in the user's folder with the users nickname. Now, when i got the picture uploaded i want to resize it to 3 exact sizes (3 versions of the image). 240x250 and 2 other …

Member Avatar for kaizokupuffball
0
393
Member Avatar for baby_c

Hello friends.I got some problems with a program I'm developing for a assignment. I want to add a image(background) to my Jframe and add some buttons. I wrote the code. I can load image into the frame but when I create the Jbutton and re-size it to smaller button it's …

Member Avatar for baby_c
0
27K
Member Avatar for ppetree

I have a row of three images that are currently displaying just fine. Now, I want to display two more images right below those three and I want them centered (it would kinda look like an upside down pyramid). No matter what I do, the bottom row stays left aligned. …

0
135
Member Avatar for edn_781

Hello.. Everyone.. I am very new to PHP world.. I have got a lesson to Saving images in folder and paths to database.. I have tried a lot.. I have tried various websites but there has no complete solution! Will you provide me the proper code?

Member Avatar for edn_781
0
168
Member Avatar for game4tress

I need to save a video as an image in silverlight, for my new webpage functionality, at [url]http://www.game4tress.com/ecardsender.aspx[/url]. Now, this would be easy in WPF, but seems that silverlight can't access the RenderTargetBitmap and BitmapEncoder. I was able to discover that RenderTargetBitmap can be replaced with WriteableBitmap, but i can't …

0
127
Member Avatar for tawes01

I want to make a c++ program that can open an image that is in any of the major formats (jpg, gif, bmp, png) and has any size and I want to resize it to a specific size (no, I don't care if it looks stretched) and save it to …

Member Avatar for tawes01
0
1K
Member Avatar for Hani1991

Hello everyone, I've visited a lot of websites, like Daniweb, and found effects on the sites pages that are really of a considerable design. I know it's becoming common, but I really get impressed at seeing such things. When you put the mouse cursor on some button it becomes highlighted …

Member Avatar for Hani1991
0
152
Member Avatar for paulnamroud

Hello, I would like to know how to: - Save an image into a Session Variables - Get the image from the Session Variable and display it on the web page. Here's the example on how to get the image from the DB: string v_customer_code = "PAUL"; SqlConnection v_connection = …

Member Avatar for lolafuertes
0
247
Member Avatar for game4tress

I'm creating a new functionality in my website. An e-card sender. [url]http://www.game4tress.com/ecardsender.aspx[/url] My problem is that i can initialize the webcam but i cannot set the image (source,...) inside an image control. I've tryed several thinks and google about it, but i found nothing. My main goal is to set …

0
129
Member Avatar for karthik_ppts
Member Avatar for ptemedia

Hi, I have made an image gallery which all in all is working fine. However, there is the option of to play through the images using setInterval to change the image every 8 seconds. After all images have been preloaded, this works fine. In its current set up however, the …

0
124
Member Avatar for rogersjw

Hi all, This is my first post here so please bear with me. I am trying to get my QGraphicsView widget to output as an image. I have the following code. [CODE] def outputImg(self,dir=None): if dir == None: dir = os.getcwd() img = QtGui.QImage(self.size()) print img.isNull() # This == True …

Member Avatar for rogersjw
0
171
Member Avatar for rahulvramesh
Member Avatar for IIM
0
99
Member Avatar for a.emara47

I have an image and i want to center it with margin: 0 auto; but it doesn't work so how can i center it in the top of the page ?

Member Avatar for a.emara47
0
180
Member Avatar for kaizokupuffball

Okay, so basically i need a little helpt with some validation code. I need to see if the user has actually selected an image, if not, $error = 1;. I tried this: [CODE]if($_FILES['image']['name'] == "") { echo 'Error: Select an image!'; $error = 1; }[/CODE] I tried several times to …

Member Avatar for kaizokupuffball
0
463
Member Avatar for sirlink99

I am trying to export a project using eclipse, and the Images that I have in a separate folder do not export. I have tried to use [icode]image = new ImageIcon (Toolkit.getDefauleToolkit ().getImage("Image/image.png"));[/icode] and [icode]image = new ImageIcon (ImageIO.read (new File ("Image/image.png")));[/icode] and neither of them worked. It works when …

Member Avatar for sirlink99
0
1K
Member Avatar for ptemedia

Hi, I am having problems centrally aligning an image. The basic HTML is shown below. I have taken out other elements that are not effecting this problem: [CODE]<div id="ImagePlaceholder"> <div id="Images"> <img class="current" src="photo1.jpg" alt="" /> <img class="nextimage" src="" alt="" /> </div> </div>[/CODE] and the CSS is: [CODE] #ImagePlaceholder { …

Member Avatar for Arkinder
0
449
Member Avatar for Aviras

Hello everyone. I just started on 'converting' my multiplayer text RPG into a graphical form. What I am trying to do is this: Create a title window, basicly just a JPanel with one image filling the space. To this JPanel I add a MouseListener. When a user clicks the window …

Member Avatar for Aviras
0
400
Member Avatar for FOOLY

In Photoshop, my JPEG image is CMYK. Once imported to Flash, the colors change to become brighter and more saturated. How can I stop this, or what am I doing wrong? Thank you!

Member Avatar for Oveek
0
196
Member Avatar for jonsan32

I've got this scrolling marquee code to work on this page: [url]http://www.jamball.com/2011/07/club-teams.html[/url] [B]but it goes crazy in IE[/B]. [COLOR="Red"]I know IE sucks[/COLOR], but over 40% of our customers use it. Is there a way to fix the script, or must I scrap the entire idea? There is a table in …

0
102
Member Avatar for Farhad.idrees

I m having Problem i want to put green image on black image... my css code is.. [CODE] @charset "utf-8"; /* CSS Document */ #Container { background-image:url(../Layers/Container.jpg); width:1024px; height:768px; background-repeat:no-repeat; } #MiniContainer { background-image:url(../Layers/MiniContainer.jpg); background-repeat:no-repeat; /*margin:150px 10px 100px 150px;*/ margin-top:100; margin-left:50px; margin-bottom:100px; margin-right:50px; } [/CODE] and my html code is …

Member Avatar for Arkinder
0
144
Member Avatar for Boboc

If anyone can help me I would be most grateful, Im curently working on a website at the minute that uses images that have been uploaded to a directory, along with a location reference in a MYSQL database. I have currently got the page to show the thumbnail version of …

0
80
Member Avatar for art_wired

Checked the images on this Nike site today [url]http://www.nikebetterworld.com/[/url] and found they were using multiple images at 1000 + kb per image and the site loaded lickety split!! How is this possible??!! I would love to be able to do this but am having trouble uncovering the info for how …

Member Avatar for art_wired
0
237
Member Avatar for ssreevidya.m

hai, I have a datalist that contain image button control and i bind images from folder to it. I need to get image slide show when clicking on an image. How can I implement it. Thanks in advance, sreevidya.

Member Avatar for barriegrant1
0
346
Member Avatar for oinkpink

Hi, i need help , i wanted images to be for instance 4 in row, before it goes on to the next row, and below the images i wanted a title there. This are my work so far, but i just cant get to what I wanted, i've been searching …

Member Avatar for oinkpink
0
4K
Member Avatar for CrankyMero

Hello Everyone For a project from skool, I been in charge of development, and we already have the system, but they wanted to add images to the project, and since i been using the TableAdapter.Insert commando to add records to the database, I need to know how to send an …

Member Avatar for ZidaneXero
0
400

The End.