6,113 Topics

Member Avatar for
Member Avatar for davy_yg

Hello, I am trying to create a gallery like in this website: [Web Sites](http://themes.webinane.com/dastak/index.html) When you hover mouse over the gallery certain notes appears on top of the images. How to create such thing through jquery?

Member Avatar for JorgeM
0
82
Member Avatar for vegaseat

Similiar to the snippet posted at: http://www.daniweb.com/software-development/python/code/449036/display-an-image-from-the-web-tkinter but this time we use PIL to resize the image from the internet keeping its aspect ratio to fit a specific display area/box.

Member Avatar for HiHe
3
2K
Member Avatar for dhatsah

I have a form where the user can select an image (via a file dialogue) of any size which is then previewed in a pictureBox sized at 150px by 150px with the sizeMode of the pictureBox set to zoom any space that is then not occupied by the image is …

Member Avatar for Fenrir()
0
366
Member Avatar for infoitmanoj
Member Avatar for rubberman
0
239
Member Avatar for myk45

Hi All, I´m using a QTextBrowser to display an external html document (and its image resources) which is placed in the same directory as the application. Everything works fine except that images are not displayed properly. Instead of the actual picture there is a "missing image" icon. I tried different …

Member Avatar for NathanOliver
0
2K
Member Avatar for naju
Member Avatar for 42452

i want to make a program written in vb.net which will take text file and a image file,after that the ouput will be the hidden text in a image so that no one can steal data from that image only sender can hide that data in a image and the …

Member Avatar for Mr.M
0
478
Member Avatar for himanjim

The code simply captures your working window as jpeg image and stores it in the same directory as where your java class after compiling by javac is being stored

Member Avatar for Ashan_1
0
2K
Member Avatar for gampzz

image is uploading in directory and in db also but when i refresh image disappear database.php // i know i should not to use mysql but i have the it into mysqli so no big issue in this <?php //Connection $con=mysql_connect("localhost","root",""); if(!$con) echo "Failed to connect with MySQL.".mysql_error()."<br />"; //Create …

Member Avatar for mattster
0
944
Member Avatar for rani_4

In a query say i have a image path that have multiple images stored as path=http://localhost/images/xyz.When i run the code: <?php //Retrieves data from MySQL mysql_connect("localhost", "root", "") or die ("Could not save image name Error: " . mysql_error()); mysql_select_db("dawat") or die("Could not select database"); $data = mysql_query("SELECT 'images_path' FROM …

Member Avatar for rani_4
0
568
Member Avatar for bhagvad30

Hi I am using progress .GIF image when my web page is refresh or any postback is happen i show progress bar its working fine but when data is render that time .GIF images freezes in IE Browser.

Member Avatar for bhagvad30
0
1K
Member Avatar for 9tontruck

I am trying to download (into memory) an image as an object firstm, and display it as a background of body. here is what I have done: var url = "www.example.com/image/image.jpg"; var imageObject; $.ajax({ type: "GET", url: url, datatype:"image/jpg", success: function (data) { imageObject = data; $("body").css("background", imageObject); // not …

Member Avatar for JorgeM
0
220
Member Avatar for mcroni

hi, i have written a function that can search through a folder and display a picture in a new window if the file is present but i always have to add the image file format or extension before the function can work. is there a way i can work around …

Member Avatar for vegaseat
0
280
Member Avatar for endlessdesert

Hello, I have this C# code but I get the error in the title. on the "FromFile" part. I want to simply publish images in my PC on a WPF application. How can I get rid of this error? Thanks. Code : using System.Drawing; namespace Photo { public partial class …

Member Avatar for deceptikon
0
349
Member Avatar for see1234
Member Avatar for Aslam Mansoor
0
100
Member Avatar for La

def askopenfilename(self): filename= tkFileDialog.askopenfilename(initialdir='C:/..',title='Select File' , filetypes=[('Bitmap Images', '*.bmp'),('Png Images', '*.png'),('Gif Images', '*.gif'),("Jpeg","*.jpg"),("All files", "*")]) self.entryVariable.set(filename) if filename == None: return open(filename,'rb') self.entry.update(filename) self.image = Image.open(filename) self.img = ImageTk.PhotoImage(self.image) self.canvas.config(width=400, height=300) self.lab.img = self.img self.lab.pack() self.canvas.create_image(1,1, anchor=NW, image=self.img) self.scrollbar_vert = Scrollbar(self.canvas) self.scrollbar_vert.pack(side=RIGHT, fill=Y) self.scrollbar_hor = Scrollbar(self.canvas) self.scrollbar_hor.config(orient=HORIZONTAL) self.scrollbar_hor.pack(side=BOTTOM, fill=X) self.canvas.config(yscrollcommand=self.scrollbar_vert.set) …

Member Avatar for vegaseat
-1
679
Member Avatar for neha1511

Friends, I want to know how to write a C program to embed text or data into the image, and also how to display this image as output. Can anyone please help me, its urgent guys!!!

Member Avatar for Ahmad_Khalaf
-1
1K
Member Avatar for cambalinho

i'm buiding an image class, but i need some information... the C\C++ teach how read binary\text files... but not how the files are build like JPEG, PNG, GIF and others :( i can't find a page for give me the file struture and when i found it, i only see …

Member Avatar for mike_2000_17
0
559
Member Avatar for 2384443

Hi, evry1.. i need yur help.. i want to place an image as my background.. how am i supposed to do it..?? i have tried this `setBackground("C:\\image\\background.jpg");`i also tired this `Icon m1 = new ImageIcon("C:\\New folder (5)\\background.jpg");lb1.setIcon(m1);` But none of this is working.. what shuld i do???

Member Avatar for raj.mscking
0
395
Member Avatar for hanspeare_1

Hello Daniweb,, I have uploaded an image using the student_id as its filename. The student id is auto-incremented and unique per student_id. Now i am confused why it gives me problem to display it. I have tried. <?php print '<img src="uploads/'.$session_id.'" />' ?> <?php print '<img src="uploads/'.$session_id.".".$ext'" />' ?> <?php …

Member Avatar for hanspeare_1
0
4K
Member Avatar for everton.retweets

Hi Everyone, I am trying to write text to a image and I would like to save that image as a new file with the text in place. I have been doing some google'ing and testing but im getting confused a wee bit. The two scripts I have found both …

Member Avatar for Taywin
0
280
Member Avatar for game4tress

I've made a rectangle with another 3D point inside. The rectangle is textured with an image. Now, I need to move the point that is inside the rectangle to another 3D position. Does anyone knows how this is possible? The only way I found, that is no good for what …

0
263
Member Avatar for hanspeare_1

Hello Daniweb, I have manage to create codes that could upload a image that is purposely to serve as profile picture of a certain student. My problem is how to rename it to aN AUTO COLLATE UNIQUE ID NUMBER so that i can display it specifically to a certain student …

Member Avatar for RAPIDFIRE0311
0
206
Member Avatar for Pyler
Member Avatar for mexabet

I have a user registration script that includes image upload. Everything works, but each time a user registers, the image he/she uploads replaces the image (userimage) of every other user. What I need is to only update the userimage of that user based on ID. Any help would be much …

0
123
Member Avatar for Indians

i want to upload the employee profile picture into mysql database using php. i tried this coding. image uploaded successful but when i fetch that image on browser it shows me text character like this (ÿØÿàJFIFHHÿáLExifMM*bj(1r). one more problem is below 20kb size images only uploaded into mysql. how to …

Member Avatar for mattster
0
3K
Member Avatar for Pravesh_1

I am using phpThumb class to generate thumb image and watermark image/text; I am getting thumbnail image successfully but not able to write any watermark text or image. <img src="phpThumb.php?src=<?php echo $row['user_profileid']; ?>/<?php echo $profile['photo_name']; ?>&w=144&h=173&fltr[]=wmi|watermark.png|BL" alt="" class="profile-pic"> I have to change in config file to show watermark ??

Member Avatar for Pravesh_1
0
226
Member Avatar for jovstudios

Hello Guys, I have a Question, it possible storing image to dabase using blob in the Framework of CI? This is my Code in Controler. function get_data_from_post(){ $data['page_headline'] = $this->input->post('page_headline',TRUE); $data['page_title'] = $this->input->post('page_title',TRUE); $data['keywords'] = $this->input->post('keywords',TRUE); $data['description'] = $this->input->post('description',TRUE); $data['page_content'] = $this->input->post('page_content',TRUE); $imageName = $_FILES['featured_img']['name']; $data['featured_img'] = $this->input->post(file_get_contents($_FILES['featured_img']['name']),TRUE); return $data; …

Member Avatar for jovstudios
0
8K
Member Avatar for hanspeare_1

Good Day, There's a sticky that TUT about uploading image but i want the restrictions to be in this manner. But my problem here is no notice, no errors but the image file won't upload eventhough the other data has been updated, Here, check my codes. this quite long to …

0
159
Member Avatar for _neonyx_

Hi everyone! Posting here because I'm having trouble with some code that to me looks perfectly fine, and I've seen it function perfectly fine when typing it as an example on another site, but for some reason it seems buggy on my site only :/ Here's the HTML portion: <div …

Member Avatar for _neonyx_
0
761
Member Avatar for ParPau

All, Looking for newbie help. I searhed the internet looking for examples to follow. What I want to do is write code to read a multipage pdf and convert to jpg (each page) and display on screen. I find way too much stuff that is either complicated or it is …

Member Avatar for Taywin
0
2K
Member Avatar for ankit.baphna

Hi Friends, I am using this code to upload image but it seems my call is not getting inside function. I put some echo commands for debugging. all I get output is after selecting file "hello entering function". but do not get other echo command print. Neither insert command is …

Member Avatar for ankit.baphna
0
409
Member Avatar for vegaseat
Member Avatar for LaxLoafer

Yesterday I deftly managed to submit a post with a broken image. See: [retrieving photos from hard drive](http://www.daniweb.com/hardware-and-software/threads/482573/retrieving-photos-from-hard-drive#post2110926) The image immediately followed the first line but now returns an HTTP 404 error, possibly because I removed it as an attachement. Wasn't immediately aware of the problem because my browser had …

0
207
Member Avatar for Paul_26

Hello i try to update the Image using Update Query in MySQL here's the code $pic = $_FILES['photo']['name']; $sql = "UPDATE `std_login` SET `imagename` = '$pic' WHERE `std_id_no` = '$std_id'"; the File upload works, but not Stored in Database. what to do? help me please.

Member Avatar for thirsty.soul
0
2K
Member Avatar for MrDavo

Hi Everyone, It has been a while since I have delved into web design, and as a result many of the old tags that I have used are no longer supported within HTML5. Due to the changes I am being forced to rely upon CSS to perform tasks where I …

Member Avatar for NetJunkie
0
283
Member Avatar for subhraakasuny

Hi Team, I am beginner in Java. I am trying to prepare report using Java,the code will generate a Microsoft Word Document and add some text and images in it. I am using Apache POI for this.I am able to create and add text in the doc file and the …

Member Avatar for subhraakasuny
-1
8K
Member Avatar for IWDesigns

hi, i have a site built in CI and i have integrated a js/jq image slider into the index page. i linked all the files to the correct places but for some reason the js isnt working? some of the fonts in the slider are controled by js files, and …

Member Avatar for Raj Kumar_1
0
709
Member Avatar for SaRa Ahmad

i need to know if i can scan an image or any file from vb6 form then save it to my database, if yes how i can do it ?? thanx in advance...

Member Avatar for Sabrina.Moro
0
1K
Member Avatar for preetchannay

hello to all..., i am working on a project and there i am facing a problem of adding pictures to a label.In my project its like that.. i have a textfield ,a button and a label. When i write the file name in the textfield and then after clicking on …

Member Avatar for preetchannay
0
142
Member Avatar for faisal.qureshi.7121614_1

Hi everyone, kindly help me for the issue, i am building a web application where members need to add/upload their avatars and other images, but instead of letting them upload images directly from their PC, i allowed them only to take URL ('Copy Image URL') from external websites by right …

Member Avatar for cereal
0
190
Member Avatar for Thien_1

I want to make my background image in reponsive desgin mode. I want to make the background image will be resize when changing size of browser. Using "background:cover,background-position:center" it not working. I guess because i set height and width for background image but if i didn't set the image will …

Member Avatar for aliceknight
0
344
Member Avatar for hanspeare_1

Hello Admins and Php Friends, I have manage to upload the image using this codes $student_id = $_POST['student_id']; $first_name = $_POST['first_name']; $last_name = $_POST['last_name']; $gender = $_POST['gender']; $date_of_birth = date("Y-m-d",strtotime($_POST['date_of_birth'])); $contact_no = $_POST['contact_no']; $grade = $_POST['grade']; $section = $_POST['section']; $LRN = $_POST['LRN']; $email1 = $_POST['email1']; $email2 = $_POST['email2']; $address = …

Member Avatar for hanspeare_1
0
361
Member Avatar for JulieR31392

Hi there, I have a website that i need to have a user submit some information and upload 2 files. And add the information to the database. what is the best way to do this. Any and all help would be apprechiated. This is a not for profit site. I …

Member Avatar for Banderson
0
186
Member Avatar for mexabet

I'm trying to code a registration form. But I'm stuck at adding a borrowed code of image upload, resize, save and store its path in MySQL database. The error message is "Undefined index: fileimage" on the line where I have this code: if($_FILES['fileimage']['name']). Here is the register.php: <?php // include …

Member Avatar for mexabet
0
721
Member Avatar for kshahnazari

hey , I'm trying to read a 24 bit bmp file but after reading the first pixel something goes wrong, any ideas? int i; FILE* f = fopen("Sample.bmp", "rb"); unsigned char info[54]; fread(info, sizeof(unsigned char), 54, f); // read the 54-byte header // extract image height and width from header …

Member Avatar for triumphost
0
7K
Member Avatar for Struct.dorlitz

Usercontrol1 private string lastName; private string nnovo; public string LastName { get { return lastName; } set { lastName = value; label2.Text = value; } } public string Nnovo { get { return nnovo; } set { nnovo = value; label1.Text = value;} } Form Button btn = (Button)sender; SqlCommand …

Member Avatar for Struct.dorlitz
0
214
Member Avatar for aseel_1

s their an error in this code ?? !! it display Image uploded successfully but it isn't !!!!!!! if(isset($_POST['submit'])) { $query="insert into POST (Title,SubTitle,PostDetail,PDay,PMonth,PYear) values('$_POST[_title]','$_POST[_subtitle]','$_POST[_detail]',". date("d").",".date("m").",".date("y").")"; //echo $query; mysql_query($query); $msg="post added sucsessfully"; if($_FILES['_postimage']['tmp_name']!= "") { move_uploaded_file($_FILES['_postimage']['tmp_name'] ,$_SERVER['DOCUMENT_ROOT'].'/Aseelblog/POST_imgs/a.jpg'); $msg.="</br>Image uploded successfully"; //DOCUMENT_ROOT=/var/www/example ///// } else { $msg.="image File too large or …

Member Avatar for veedeoo
0
159
Member Avatar for DJBirdi

I just wanna get a feel for the opinions that exist out there about this subject. I've worked with everything from small to very large image storage requirements within PHP and MySQL. What are some of the issues/usage requirements that you guys look at when considering building mysql apps that …

Member Avatar for JorgeM
0
232
Member Avatar for palanisvasam

The End.