1,537 Topics

Member Avatar for
Member Avatar for mmcdonald

This could be a PHP issue or a linux issue. My form uses the following code to allow users to upload their banner and worked fine on my old server: if ($_FILES["banner"]["name"]!="") { $folder_path = "images/server_banners/"; $myfileext=substr($_FILES["banner"]["name"], - 4,4); $banner_file_path=$username."-".$server_id.$myfileext; $file_path = $folder_path.$banner_file_path; if (file_exists($file_path)) { unlink($file_path); move_uploaded_file($_FILES["banner"]["tmp_name"],$file_path); } else …

Member Avatar for radow
0
188
Member Avatar for AndreRet

I need to add an image (saved path in mysql - image from file on server returned from $image_id) to my page according to 4 rows returned. There will always be 4 rows returned from db. My problem is that it shows the same image (main with 3 thumbnails) in …

Member Avatar for AndreRet
0
232
Member Avatar for happygeek

Am just editing a news story ([How to disable SIM-killing USSD PUK attack that has spread to all Androids](http://www.daniweb.com/software-development/mobile-development/news/436119/how-to-disable-sim-killing-ussd-puk-attack-that-has-spread-to-all-androids#post1873145)) and cannot upload accompanying image. Get the following: "A problem was encountered while attempting to move the uploaded file to the final destination."

Member Avatar for Ancient Dragon
0
2K
Member Avatar for lse123

I have in Android/Java/Eclipse a Flag Guess Game: appear a name of country and below 3 or 6 or 9 flags (depend on settings) in 1 or 2 or 3 rows respecively to, choose the flag for the country name...well something wrong exist and flags appear some very big and …

Member Avatar for lse123
0
124
Member Avatar for kirtee2209

Hello. I have a picture box on a form. The imageLocation of the picture box is set to a url like for example "http://www.google.mu/imgres?imgurl=http://1.bp.blogspot.com/-w6AJJ5Xoulg/T3AymMKbFlI/AAAAAAAAACI/EslCtw42HHg/s1600/jpeg.jpg&imgrefurl=http://zainriasat786.blogspot.com/2012/03/discuss-impact-that-file-format.html&h=480&w=640&sz=36&tbnid=fkqhzaWg8cSK4M:&tbnh=90&tbnw=120&zoom=1&usg=__54xTPooPnJOFy8xQS0TJXOtV1d8=&docid=JkpXnRk64SCIzM&hl=en&sa=X&ei=LjxoUO_uEsXRrQf28oDYBw&sqi=2&ved=0CD0Q9QEwBA&dur=24". When the form closes, we can see that memory is not released. I have added code to dispose the picture box on form closing but when …

Member Avatar for kirtee2209
0
2K
Member Avatar for eesha.ebaad

my images are stored on server in folder "Albums".To access images the path is "/Albums/". I have tried this code but its not working.boxes for images appear on page load but after that immediately disappear. <asp:ListView runat="server" ID="listView"> <ItemTemplate> <asp:Image ID="img" ImageUrl= '<%# "/" + Eval("PictureLink")%>' width ="44" height ="45" …

Member Avatar for prashantchalise
0
119
Member Avatar for code739

Hi guys i have a problem here i have and input type file which will be containing an image file <input type="file" onchange="validate(this)"/> now my code below work in its extension detection but if it is invalid the input file still have i value i want it that if the …

Member Avatar for code739
0
3K
Member Avatar for DyO1

Hello, I need a code for saving BackgroundImage from PictureBox1 with SaveFileDialog1. Please help me (I can't find the code) .

Member Avatar for Doogledude123
0
104
Member Avatar for Thembelani

hie guys l have basic knowledge of c and c++.Recently we were given a project assignment on statistical modelling we have to implement it using c/c++.I researched on the libarries that l can use eg sdl,openGL,what l wld like to noe is it possible to code using gcc in linux, …

Member Avatar for mike_2000_17
0
1K
Member Avatar for shlokka

hi guys, i have a rege code that looks to see if a block of text has a link. i have modded it to show the link as an image if it exists (badly i know this method isnt very good) what i need to do is check if the …

Member Avatar for diafol
0
206
Member Avatar for navi17

Hello friends, I have a background image in body. What i want to achive is that 1)- calculate the visitor screen resolution. 2)- based on that resolution i want to resize my background image. Can anyone help? Looking for quick response. Thanks and regards navi

Member Avatar for vasile.manda
0
2K
Member Avatar for LastMitch

Hi I'm starting to learn **html/css**. I have a issue of breaking a caption in the **alt** into **2** lines. This is my image example `<img src="images/Tom3.jpg" width="400" height="400" alt="Image is ... yada .. whatever" />` I want the caption in the **alt** stop at **width 400** of the image …

Member Avatar for LastMitch
0
211
Member Avatar for Khav

Hi I am developing my own image hosting script and i want to add api image upload.However i have no idea of how to create API support at this moment.I particularly like the tinyurl api . How can i create a similar api so that users can upload images to …

Member Avatar for pritaeas
0
216
Member Avatar for lancelot626

I saved some images in an sqlite database but when i tried to display them using static bitmap i get an error OnOpenEdit self.frmEdit.imageCtrl.SetBitmap((i[7])) File "C:\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_controls.py", line 1229, in SetBitmap return _controls_.StaticBitmap_SetBitmap(*args, **kwargs) TypeError: in method 'StaticBitmap_SetBitmap', expected argument 2 of type 'wxBitmap const &' here is a print of …

0
136
Member Avatar for shenamae.borja

Can I print letters in assembly graphics mode by using some commands, or do i have to draw everything pixel by pixel? If so, how?

Member Avatar for mathematician
0
149
Member Avatar for mkapetanos

I'm trying to create a script which get an url and makes a thumbnail in .NET C#. I tried some scripts I found on the internet but I [used this one](http://stackoverflow.com/questions/2715385/convert-webpage-to-image-from-asp-net). However I saw that it uses lot of resources and sometimes becomes very slow. Next, I tried to find …

Member Avatar for pritaeas
0
150
Member Avatar for Michelle.Amethyst

Hi I am currently studying to become a primary school teacher and have an assessment to create an interactive webpage. Now as it is to be interactive I would like to make it so when the student clicks on the image, it becomes another image, I do not want a …

Member Avatar for EvolutionFallen
0
239
Member Avatar for ownedbynothing

this is Sudoku.java this is the main class. Reminder does the time keeping, the SudokuBoardDisplay displays the board and draws images. The one who handles the logic is the SudokuModel How do I make the images clickable and do something. how to display the remaining time as JLabel ....? i …

Member Avatar for mKorbel
0
599
Member Avatar for code739

Hi guys, Im just confuse...heres the situation Im having photo uploads in php.., before uploading temporary file will be created my question is where can you find the temporary file, @the web server(where your php app is runnin) or @the client PC(where the uploading session is done) thanks in advance.....

Member Avatar for code739
0
229
Member Avatar for jonsan32

I'm trying to get random images to display onto four different cells with their corresponding links in place. All that's happenning is one random image is chosen and displayed throughout. Is there a way to pull 4 images from the given list and display them randomly instead? **Thanks a bunch …

Member Avatar for jonsan32
0
417
Member Avatar for manjeet593

Hello Everyone, ASP.NET (C#) I have problem in retrieving the images from Table created in SQL Server Management Studio. Actually I had uploaded the images into folder in the Application Server on Visual Studio and the path of the images is given in the Table Attribute. Thus I have table …

Member Avatar for JorgeM
0
163
Member Avatar for Michael27

I have 1 picturebox loaded with an image, what i'm trying to do is every time i click on loaded image the same picture loads into empty picturebox. Now for 1 picturebox is easy, all i do is picturebox1.Image = img; I'm trying to make an event that will load …

Member Avatar for Michael27
0
443
Member Avatar for innovateuk

I have the exact function with image resize on my site, but I would like to add the watermark to the same function, I tried with many options, but nothing worked. Can someone help me to add watermark function please code as follow function do_resize_image($file, $width = 0, $height = …

Member Avatar for innovateuk
0
293
Member Avatar for LastMitch

Hi I recently create a `Simple JQuery` code with captions with some help from other Daniweb members: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery I got a better understanding how it works. So I decide to add a `image count` with this code. The past few hours I been trying to modify this code, kinda play …

Member Avatar for LastMitch
0
483
Member Avatar for LastMitch

Hi I recently created a `JQuery Gallery Script` in the `Javascript` section with some help from **pritaeas** & **JJenZz**: Here is the link to the script: http://www.daniweb.com/web-development/javascript-dhtml-ajax/threads/434987/havent-issue-with-seeing-alt-with-image-in-jquery The `JQuery` code works you can check the link and test it out. Since the script is in `JQuery`. I want to add …

Member Avatar for LastMitch
0
643
Member Avatar for momonq1990

how can i send mail with working .gif, .png and background color using mail()function. what i need to set? i have $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; pls help what i need to do :(

Member Avatar for momonq1990
0
187
Member Avatar for LastMitch

Hi, This is the first script that I trying to read and learn how it function. I not very familiar with `JQuery`. I'm more in `PHP`. But I notice other members know other languages beside `PHP`. So I'm trying to do what other Developer are doing which is knowing another …

Member Avatar for LastMitch
0
456
Member Avatar for h0rryp0tter

Somehow I am unable to fire the onerror event or get the code in the onerror to work. This code is an attempt to collect a sequence of images in an array. I am using onerror event in order to mark the end of sequence and thus terminate the loop. …

Member Avatar for Troy III
0
350
Member Avatar for vistamizer101

Hi everyone i'm using vb 2008 for this project and i'm still not so familiar with it so please help me... I'm trying to display image from MS Access database to another form picturebox but its not working. this is the error i always encounter -> (System.ArgumentException was unhandled Message: …

Member Avatar for TnTinMN
0
380
Member Avatar for MMadhavi

I have one table as movie. In that i have one field as 'image' in which i want to store the images. In my mca project, I m trying to make admin panel. For this when administrater is going to add movie details, at that time i want to store …

Member Avatar for diafol
0
223
Member Avatar for tom.vardy.12

include '../../snippets/connect.php'; $orgid = $_GET['orgid']; if(!isset($orgid) || empty($orgid)){ die("Please select your image!"); }else{ $query = mysql_query("SELECT orghomepic FROM org_home_pic WHERE orgid='".$orgid."'"); $row = mysql_fetch_array($query); $content = $row['orghomepic']; if (empty($content)) { **$image = imagecreatefromjpeg('http://www.ineed.org.uk/dev/media/images/nohomepic.jpg'); header('Content-type: image/jpg'); imagejpeg($image);** } else { header('Content-type: image/jpg'); echo $content; } } So this was working previously …

Member Avatar for tom.vardy.12
0
222
Member Avatar for vijayram

Hai every body I want to uploaded images rotate 360 degree.everyimage have one rotate icon. any body plz help me.

Member Avatar for pritaeas
0
98
Member Avatar for garyjohnson

I have a site where users can view videos and now I am wondering how do make the videos into small thumbnail images that only display the first frame.

Member Avatar for pritaeas
0
105
Member Avatar for maiden128

Hello, I'm new and I was wondering how to do these things in python using turtle graphics... but don't know how to do it: 1.Write a program that draws a red line connecting two points (-39,48) and (50, -50) and displays the coordinates of the two points. 2. How to …

Member Avatar for woooee
0
228
Member Avatar for phpHelp

Hey guyz, I am here again with a PHP issue... I need to upload an image and create a thumbnail for the same. Yeah it's so simple. But the difficult part is that the user will create the thumbnail (not crop) by his own choice. Please help.

Member Avatar for pritaeas
0
141
Member Avatar for jayrbete

hi to all, can you help me in my program, i can't retrieve my image in the database to vb.net how can i view my image when i click in listview? plss help me THIS IS MY CODE HOPE YOU CAN HELP ME! Imports MySql.Data.MySqlClient Public Class Often_Motorcycle_Problems Public ConnString …

Member Avatar for jayrbete
0
813
Member Avatar for Pankti Shah

I am making a project where i have a rotating and moving 3d cube and on click of any face of cube, that face should be enlarged. All the six faces of cube should have different images. I searched a lot but doesn't get any working. Any help regarding this …

0
112
Member Avatar for phadalemadhuri

http://www.srisanthi.9xitsolutions.com/SBPoints/Home.aspx as per above link 1. I want to upload plotting map... 2. then i have to assign plotno to it dynamically... 3. when user take his cursor to the particular plot i have to show the description of it which i saved in db 4. those plot get book …

0
114
Member Avatar for cee.gee.50

Hi everyone. I have not done any type of coding in some years and can use some help with a simple yet frustrating task. I am trying to allow registered users to upload a "profile" photo to the server and insert the path into the database. I would like to …

Member Avatar for arrgh
0
247
Member Avatar for kirtee2209

Hello. I have four picture boxes on a form and the ImageLocation of each picture box is set to a web url. When the form loads, the images are retrieved asynchronously. That is when the form loads, you can see the images appearing one by one. Is there a way …

0
116
Member Avatar for weemy

Hello, it's my first post here, i have a big issue "as i can see", i'm creating a cms script, and have a problem with image, that i want to make the clint chose any image and press submit, here i want to make a thumb of this image with …

Member Avatar for diafol
0
151
Member Avatar for jonsan32

**I have a fairly simple script, but I'm having trouble sizing up my randomly displayed images. I want them all to have the height of 150px. Any help would be great. Thanks! code below:** <script type="text/javascript"> window.addEventListener?window.addEventListener('load',function() { ray.rand('thisCell'); },false): window.attachEvent('onload',function() { ray.rand('thisCell'); }); // FF : IE1 var ray= …

Member Avatar for jonsan32
0
214
Member Avatar for oglahai

Hi, I am attempting to draw graphics on a PowerPoint slide. Say I draw a line and a rectangle. What code do I add to the function to have those objects group together? Thanks, Ken

0
125
Member Avatar for john.mcdonnell.777

I have this code and I have been trying to figure it out for a while now but i cant get it to work .My basicproblem is I cant get the paint part or the programme to work properly. I have done several paint programmes in the past but i …

Member Avatar for JamesCherrill
0
247
Member Avatar for hwoarang69

i cant seem to print imageicon in board.java. any ideas? i got two files. board.java and WorldBackground.java i have a WorldBackground.java where i am create background image import java.awt.Image; import javax.swing.ImageIcon; public class WorldBackground { static ImageIcon background = new ImageIcon(WorldBackground.class.getResource("Images/backg.jpg")); public static Image getBackground() { return background.getImage(); } } …

Member Avatar for hwoarang69
0
227
Member Avatar for sandeep555
Member Avatar for vanessa.difranco

I am trying to add a logo into cells A1:J1 (they have already been merged). I have the logo set as the background of 2 different userforms. I can't figure out how to get the image from the background and into the merged cells on the worksheet. PLEASE HELP!!!

Member Avatar for trystan4861
0
197
Member Avatar for kanonno.earhart.56

Hi guys! I'm not computer savvy and need your help and suggestions. And what do you think about my PC? Is it like really old? CPU-Z TXT Report ------------------------------------------------------------------------- Binaries ------------------------------------------------------------------------- CPU-Z version 1.61.2 Processors ------------------------------------------------------------------------- Number of processors 1 Number of threads 2 APICs ------------------------------------------------------------------------- Processor 0 -- Core …

Member Avatar for caperjack
0
374
Member Avatar for LastMitch

Hi I'm having issue with editing the **Input Type** in **2** different position. I want to edit and add input text in the img. I also want to edit and add input text in the content. What I want to learn is how to add **2** **Input Type** areas in …

Member Avatar for LastMitch
0
175
Member Avatar for leokin

I quit using Windows last year, except occassionally (XP). My hobbies and love is music (playing jazz guitar and using editing software, my favorite programs being Ardour and Audacity) and photography (favorite programs are Darktable, Gimp and Shotwell), using the Linux distros, Ubuntu and Lubuntu, which I am happy with. …

Member Avatar for sbesch
0
443

The End.