6,113 Topics

Member Avatar for
Member Avatar for ayooshkasmth

Hi, I have a problem with retrieving uploaded images from a database. It appears to upload fine, but when i try to display the image i get loads of binary jargon? I have tried looking everywhere for a solution, but unable to, any help would be greatly appreciated. The code …

Member Avatar for gentlemedia
0
8K
Member Avatar for lacaca

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 Reverend Jim
0
265
Member Avatar for vegaseat

Let's say you want to send a short private message to your friend, but don't want grandma to snoop around and find it. One way is to use the Python Image Library (PIL) and hide the message in a picture file's pixels. Just looking at the picture you will barely …

Member Avatar for JamesCherrill
5
10K
Member Avatar for Adrian_15

I'm somewhat new to coding websites. I'm trying to have a code where it pulls multiple images from a single database and displays it in a grid, not a table. At the top of my page I have a normal connection to the database. (very sorry about not having a …

Member Avatar for Adrian_15
0
3K
Member Avatar for begazed

I have an eCommerce website. Website loading speed is too slow. I have talked with hosting service provider. They told me that there nothing is wrong with hosting. So I need a developer who can help me to fix this issue. I will pay good.

Member Avatar for Trasser
0
647
Member Avatar for HimaniBansal
Member Avatar for rproffitt
Member Avatar for ranjanj2me

Sir can you please send me an example to upload an image to the server (with user defined file name and display message if name exist) at specific folder "images" and save its path to the mysql database. And again display the images uploaded on the server folder by using …

Member Avatar for happygeek
0
5K
Member Avatar for snigger

Hi I need to show an image thumbnail in one of jTable cells But I don't know how to do it! I'm using netbeans to design GUI . How can I do that? Thanks

Member Avatar for JamesCherrill
0
4K
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 Lokesh_S

Hi, I'm generating word doc on the fly by using html in asp .net with C#. And I want to add image at top but after creation of word doc I'm not able to see that image. I don't want to use Word or any third party dll. Please Help …

Member Avatar for RabidDog5150
0
833
Member Avatar for Agus Virga

How to save image from computer client to server using java?? Give me the source code..

Member Avatar for jwenting
-2
471
Member Avatar for shivubs

hiii i need your help, i am web developer (fresher). i want display images from database/folder using ajax in codeignater. i try ur source code not working.

0
438
Member Avatar for DaniWeb4Jim
Member Avatar for Reverend Jim
0
1K
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
516
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
815
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
485
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
408
Member Avatar for Mohd_13

if($_REQUEST['subview']=="add") { $title = mysqli_real_escape_string($db->conn,$_POST['title']); $cat_id = mysqli_real_escape_string($db->conn,$_POST['category']); $area = mysqli_real_escape_string($db->conn,$_POST['area']); $bedroom = mysqli_real_escape_string($db->conn,$_POST['bedroom']); $bathroom = mysqli_real_escape_string($db->conn,$_POST['bathroom']); $garage = mysqli_real_escape_string($db->conn,$_POST['garage']); $content=mysqli_real_escape_string($db->conn,$_POST['text']); $data = array("title"=>$title, "cat_id"=>$cat_id, "area"=>$area, "bedroom"=>$bedroom, "bathroom"=>$bathroom, "garage"=>$garage, "content"=>$content, "status"=>"active", "added_date"=>date("Y-m-d H:i:s", time()) ); if($db->insert($data,'bk_property') == true) { $last_id = mysqli_insert_id($db->conn); if($_FILES['image']['name']!="") { $check = getimagesize($_FILES["image"]["tmp_name"]); if($check !== false) …

Member Avatar for Dani
0
406
Member Avatar for Prateek_2

I am using codeigniter 2.1.2 on Win 8.1 and the following code is not working $this->load->library('image_lib'); $config['image_library'] = 'GD2'; $config['source_image'] = 'C:/xampp/htdocs/imgt/wall/wallpaper2.jpg'; $config['create_thumb'] = TRUE; $config['maintain_ratio'] = TRUE; $config['width'] = 75; $config['height'] = 50; $this->load->library('image_lib', $config); var_dump( $this->image_lib->resize()); // this returns true What is the problem i checked GD is …

Member Avatar for nhantam
0
2K
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
539
Member Avatar for usman_14

Hey guyss, here are a big champs of programming I have seen in this web, I am stucking in this assignment of mine, from where should I start I am totally stucked, is anyone here who can help me for this programme........ Define a function drawCircle. This function should expect …

Member Avatar for Gribouillis
0
1K
Member Avatar for hatem.ib

I'm trying to print multiple QR images in 1 page, but when i print i receive the last image only, the Code is: int QRLoop = Convert.ToInt32(txtSerialTo.Text) - Convert.ToInt32(txtSerialFrom.Text) + 1; for (int i = 0; i < QRLoop; i++) { int iSerial = Convert.ToInt32(txtSerialFrom.Text) + i; string QRString = …

Member Avatar for hatem.ib
0
503
Member Avatar for keerthi_3

<?php session_start(); if (!isset($_SESSION['id'])) { header('location:login.php'); } ?> <?php $nameErr = $emailErr = $usernameErr = $DateOfBirthErr = $departmentErr = $ageErr = $fileToUploadErr = $fileToUploadErrr = $fileToUploadErrrr = $fileToUploadErrrrr = $fileToUploadErrrrrr = "" ; $name = $email = $username = $DateOfBirth = $department = $age = $fileToUpload = $filename = $file …

0
237
Member Avatar for ddanbe

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

Member Avatar for rproffitt
0
340
Member Avatar for davy_yg

Any clue how to use an image for browse button? I try : <input type="file" name="userfile"> <input type="image" src="images/reg/upload_foto.jpg" value="Upload" name="Upload"> and still does not works. Can you turn an image into a browse file button?

Member Avatar for gentlemedia
0
182
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 davy_yg

Hello, I am trying to resize image with bootstrap. Can anyone help me explain this phenomena: https://getbootstrap.com/docs/4.0/content/images/ ? I am trying to resize the image on cell phone into smaller one with the same proportion. I thought this code will be successful: chicken.php <!DOCTYPE html> <html> <head> <title>ABL Home</title> <link …

0
196
Member Avatar for Anthony_22

Hello, I am trying to prevent my form, from submitting if the file is not an image type file but i keep failing, the array that i am using keeps displaying regardless of the files type. Any help would be grateful. <?php $Manufacturer = $_POST['Manufacturer']; $Brand = $_POST['Brand']; $Model = …

Member Avatar for ryantroop
0
586
Member Avatar for fatima_7

hi how can change the size of image: from CSS for three pages using dreamweaver ? how can i (position and reposition something in the page)? i tried this tag, but nothing change: img.resiz{width:200px;height:1000px; what is missing ?? should i include the img link? and what will be the correct …

Member Avatar for Tarek_2
0
276
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
655
Member Avatar for Mohammad_42

Hi everyone I want to develop an app with characteristics below: - open a picture in A4 or A5 size in a picturebox - insert text on the picture in certain places - printing the picture and the text inserted in A4 or A5 size. first I want to use …

Member Avatar for ddanbe
0
220
Member Avatar for Rajendra_2

hi, i am new to php. I am trying to fetch the image stored in database by using mysqli but couldnt fetch it. Please help me with this. Please find the code and let me know where i am lacking... <?php $link = mysqli_connect('localhost','root','','db_image') or die(mysqli_connect_error()); if(isset($_POST['btn_submit'])){ extract($_POST); $file_name=$_FILES["image"]["name"]; $file_tmp=$_FILES["image"]["tmp_name"]; …

Member Avatar for AndrisP
0
392
Member Avatar for NA

i want to display my image from a folder but its not work what i change in code to work <?php $dir_path = "/xampp/htdocs/image/"; $extensions_array = array('jpg','png','jpeg'); if(is_dir($dir_path)) { $files = scandir($dir_path); for($i = 0; $i < count($files); $i++) { if($files[$i] !='.' && $files[$i] !='..') { // get file name …

Member Avatar for hericles
0
362
Member Avatar for FlOrInAs14

Hello, how to make a button for change image and upload image with database. Please help me <!DOCTYPE html> <html> <head> <div class="profile_info"> <img src="images/user_profile.png" > <div> <?php if (isset($_SESSION['user'])) : ?> <div class="box-body no-padding"> <font size="6%" face="Comic Sans MS"> <strong><?php echo $_SESSION['user']['username']; ?></strong> <i style="color: #00f7fc;">(<?php echo ucfirst($_SESSION['user']['user_type']); ?>)</i></div></font> …

Member Avatar for Shankar.Shiv
0
386
Member Avatar for leya_1

I need to differentiate image between 2 file upload control: FileUpload1 and FileUpload2. My current code works fine but it actually upload images from both FileUpload1 and FileUpload2. How do I specify the file from FileUpload1 and FileUpload2. Below is my current code: Dim hfc As HttpFileCollection = Request.Files Dim …

Member Avatar for rproffitt
0
236
Member Avatar for vegaseat
Member Avatar for Daniele_2
4
19K
Member Avatar for Hamsterking

hello, i've bee searching for this from a while but i couldn't find an answer of my quetion, so i have 2 div with width 100% and heighh is really no defined it depend to the content but the problem is every time the content is too small, i would …

Member Avatar for Hamsterking
0
224
Member Avatar for monem_1

I use a code to print a libel with all its contents and move to the next page but the problem 1 - Printing breaks the base of the first page when moving to the next page I want to have a vacuum at the end of the page 1 …

Member Avatar for rproffitt
0
500
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 Hamsterking

hello danibe's friends i hope you all are doing well, i always had a question that i never asked so i would like my image to be full width not full screen just the width on any screen how can i do that without deforming the original image, have i …

Member Avatar for diafol
0
375
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
326
Member Avatar for prathapsv3

I am new in vb.net. The image has been stored in sql server as <binary data> and i dont know how to convert it to display in picture box.Please tell me what are the changes should i made to get it to work.Here is the code which i have done …

Member Avatar for fredrick_3
0
3K
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
534
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
550
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 dongtrien

In C# VS2005 I embedded a picture (file in the form *.png) normal but when the rebuild was reported The "GenerateResource" task failed unexpectedly. System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI +. Have you know how to fix this ?

Member Avatar for dongtrien
1
205
Member Avatar for parreirae1

I have changed from a previous 1TB disk from Toshiba to a 500 MB SSD from SAMSUNG. I have generated a full image backup, and after with a bootable pen I have tryed to restore the new 500 disk with it. Immediatly at the begining systems generats an error and …

Member Avatar for Reverend Jim
0
495

The End.