1,535 Topics

Member Avatar for
Member Avatar for vegaseat

This code shows how to obtain and display a GIF image from an internet website using the Tkinter GUI toolkit that comes with the Python installation.

Member Avatar for woooee
4
25K
Member Avatar for Tay_2

<?php $msg=""; $image1=""; $image1_err=""; //if upload button is pressed if(isset($_POST['upload'])){ $target="images/".basename($_FILES['image']['name']); $db=mysqli_connect("localhost","root","","categories"); $image=$_FILES['image']['name']; $text=$_POST['text']; if(isset($_POST['electro'])){ $sql="INSERT INTO electronic(image,text) VALUES ('$image','$text')"; mysqli_query($db,$sql); } //move image to a file if(move_uploaded_file($_FILES['image']['tmp_name'],$target)){ $msg="Image uploaded successfully"; }else{ $msg="There was a problem uploading image"; } } ?> <!DOCTYPE html> <html> <head> <title>Image Upload</title> <link rel="stylesheet" type="text/css" …

Member Avatar for alan.davies
0
515
Member Avatar for newbie_1

Hello, I can't display images from database. I have folder called "images" next to index.php where I keep images. I suppose I have wrongly defined folder path with images or sth else. <?php $connection = new mysqli("localhost", "root", "", "crud"); $sql = "SELECT * FROM test"; $res = $connection->query($sql); if(@$res->num_rows …

Member Avatar for Tpojka
0
811
Member Avatar for Víctor_19

I need to insert an imagen into a SQL Server Database and i need to do it using jsp, but i don't know how to do it. Someone can teach me the best way to do that?

Member Avatar for pty
0
476
Member Avatar for Mohamed_106

If you viste www.topelven.com you will find a perfect website devloped but till now i can't understand what they code with css can you give me exemple

Member Avatar for Mohamed_106
0
403
Member Avatar for OMG_1

Hi, I am a legacay (cobol) developer and wants to learn how to build websites. For this I decided to do a little project for myself. The site would be a places/travel tracker kind. It would show a certain map (ex, London, Taiwan, Greenland). Then you can click on a …

Member Avatar for pty
1
534
Member Avatar for ddanbe

For anyone interested in graphics [this site](https://gincker.com/) looks interesting.

Member Avatar for rproffitt
0
339
Member Avatar for dibakarmishra

I'm working with VB.net 2010. I need an windows form where i can select scanner's connected to my pc and then scan image and save it by a save dialogbox.... Waiting for help.....

Member Avatar for Mr.M
0
2K
Member Avatar for Anthony_22

i have been trying to upload image files in to my database but i failed in many ways, the form saves everything except the image files. i am not sure if its the php or the java or the html page, honestly i lost my path. i have included all …

Member Avatar for ryantroop
0
653
Member Avatar for winbatch

Here's a question for you: I often use remote desktop to connect to my office pc. Often times, I'm writing a document on the office pc and I need to include a screenshot of an application etc. Over RDP, how do I make the office pc take a screen shot …

Member Avatar for Mike_45
0
8K
Member Avatar for Kippstah

Hello, everybody. I was wondering if anybody could help me with something. I don't know if I'm taking things too fast but, I was wondering if somebody could help with this program I am making. I'm currently writing a "fake" bank script. Basically you start with a set amount of …

Member Avatar for balaji_8
-1
17K
Member Avatar for dsimonovski1

Hey. Any ideas on how I can apply a given text on a certain 2D object, so the text would follow the object shape? Imagine we have this object: http://prntscr.com/gmdv9w I want to be able to type some text in a textbox and have the plugin automatically place in on …

Member Avatar for AndrisP
0
324
Member Avatar for islander7

Hey, I'm new to the forums but fairly experienced when it comes to computers. I've got a Dell Dimension 8400 and a 2001FP monitor. When i boot the computer up, the video card's fan is spinning and the computer seems to power on fine... except for the fact that there …

Member Avatar for Robert_65
0
10K
Member Avatar for JamesCherrill

Hi Guys. This is a seemingly simple problem that's got me stuck, so I'd be very grateful for any ideas you can offer. I'm working on a program that has to display fixed nodes and the links between them. The links are uni-directional, but often pairs of nodes have two …

Member Avatar for ddanbe
0
525
Member Avatar for Stefce

Hello there :), i have bunch of pictures which the title is like this `Name-LastName-year-category-....` what i want to do is sort them all in folders which will have only their `Name-LastName` and all pics with that name go in that folder. Is there some tool for this job to …

Member Avatar for pdsubbu
0
545
Member Avatar for tryphy

Hi guys... I want some help of how to call images from a folder.... Its like..v have a folder called images and it has many images in it.....but i need only 6 images to display in a php webpage...when the webpage is reloaded, it displays another images...its like its displaying …

Member Avatar for cereal
0
3K
Member Avatar for davy_yg

Hello, I am planning on creating stock photos like 123rf.com. It's just a small feature on my web. I wonder how to create a watermark with codes? Is that possible? We are selling photography photos. Before the buyer purchase it - it must be watermarked. How? Regards, Davy

Member Avatar for Damhart
0
285
Member Avatar for Curious Gorge

Hello. I'm using Unity3d to create a simple turret simulation and I have run in to a problem. I need to find the angle to an object from the turret in 3d space. Up to this point I thought I could just take the (arc)trig values retrieved from certain perspectives …

Member Avatar for xrjf
0
548
Member Avatar for vegaseat

You can put an image and text on a Tkinter button widget. This small code shows you how. The GIF image file you want to use for the button should be in the working directory, or you have to give it the full path. Incorporate the Python Image Library (PIL) …

Member Avatar for neon_3
1
23K
Member Avatar for Stefce

How do i get the name of the image without the extension at the end ex. (.jpg) i got this code **functions.php** function get_image($id="1") { ?> <img class="img-responsive img-portfolio img-hover" name="picture" src="images/gallery/<?= urldecode(base64_decode($id)); ?>" alt=""> <?php } **pictures.php** <center> <form action="" method="POST"> <div class="col-lg-12"> <?php get_image($imageID); // $imageID is read …

Member Avatar for cereal
0
546
Member Avatar for insanely_sane

Hola people :D So now that my holidays have begun... I'm bored :P I have decided to make random stuff with Java. So till now I have upgraded my checkers game (added high scores, color 'themes' for the board, etc.), made a music player kind of thing (used JFileChooser and …

Member Avatar for David_97
0
2K
Member Avatar for Stefce

Hello i got a wierd problem, when am opening my website on a PC the site loads well and its best of all websites (`:D`).. but when i try to open it on phone or tablet the front page of the website which is meant to show the featured pictures …

Member Avatar for Stefce
0
396
Member Avatar for Start4me

My goal is to make manipulations to an image by adding shapes on top of the image using JavaScript. For example, adding rectangular shapes to an image of a refregirator, as shown below: ![Sample_Of_What_Result_Needs_to_Look_Like.png](/attachments/small/3/9dd037e6ad4d9a1edf955eb0e39abf2a.png "align-left") <!DOCTYPE html> <html> <head> <style> #avaliableSpace { border-radius: 25px; background: #00B050; padding: 20px; width: 125px; …

Member Avatar for Taywin
0
900
Member Avatar for jonymanolo

Hello Guys I am looking for some code,that can help me to build a C# method that can generate a photo mosaic (a big picture that is build up from other pictures) but really i dont have idea how can i do this. :S Thanks for all your help :D

Member Avatar for Paul_45
0
1K
Member Avatar for CJMW

So I'm maing a 3D game editor in Java using LWJGL (Lightweight Java Game Library), I have the editor set up so that the user can create new levels, load up saved levels, save and quick save current levels, import textured models etc.. the basics. I am now trying to …

Member Avatar for CJMW
0
330
Member Avatar for Phaelax

Title pretty much says it all. I want a background image to have a linear gradient fade to transparent. I've faded the image out to a color by overlaying a gradient on top of it, which unfortunately would only help me if my site background is a solid color. (see …

Member Avatar for Phaelax
0
440
Member Avatar for BryanA917

I like art and I like web development. I've been out of the loop the last two years and coming back, I see tons of new in-browser abilities. I don't know advanced code but wonder if the Internet can handle serving an adjustable (with scaling limbs), posable mannequin (like those …

Member Avatar for gentlemedia
0
471
Member Avatar for vegaseat
Member Avatar for M_6

I'm doing bachelor's in computer science, i want to develop a game on my fyp. My question is how big it should be to accepted . And gauge me some sample game which student created in their bachelor's level.. and your opinion which type of game etc...

Member Avatar for AssertNull
0
431
Member Avatar for koraljka
Member Avatar for Texx
0
1K

The End.