6,113 Topics
![]() | |
please how do i insert and retrieve image from sql db in asp.net mvc app and before inserting the image, the user can resize the image before inserting it. | |
Hi, I had transferred a few thousand pics to my ipad from my PC. Now my PC , Crashed after that. Is there a way toget those old transferred pics back to my new PC. Have tried Dropbox and sync and iTunes etc. nothing works. These are all good only … | |
The idea of this thread is to help the beginning Python programmer with hints and helpful code. Please feel free to contribute! If you have any questions start your own thread! The creators of Python are very active, improving the language all the time. Here is a little of the … | |
Private Sub RetrieveButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RetrieveButton.Click conn = New MySqlConnection conn.ConnectionString = "server=127.0.0.1; Port=3306; user id=root; password=; database=bsit3d" Dim READER As MySqlDataReader Dim Command As New MySqlCommand conn.Open() Dim Query As String Query = "select * from bsit3d.form where username= '" & username.Text & … | |
while (rd.Read()) <table style="width: 14%; position: relative; top: -182px; left: 630px; height: 117px;"> <tr> <td> <asp:Image ID="Image1" runat="server" Height="102px" Width="114px" visible="true"/> </td> </tr> </table> protected void Page_Load(object sender, EventArgs e) { Label1.Text=Request.QueryString["Parameter"].ToString(); OleDbConnection cn = new OleDbConnection("Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Users\\user\\Documents\\EmpDB.accdb"); OleDbCommand cmd = new OleDbCommand("select * from Emp where ID= @imgID ", … | |
[CODE]<?php if(isset($_POST['upload']) && $_FILES['userfile']['size'] > 0) { $fileName = $_FILES['userfile']['name']; $tmpName = $_FILES['userfile']['tmp_name']; $fileSize = $_FILES['userfile']['size']; $fileType = $_FILES['userfile']['type']; $fp = fopen($tmpName, 'r'); $content = fread($fp, filesize($tmpName)); $content = addslashes($content); fclose($fp); if(!get_magic_quotes_gpc()) { $fileName = addslashes($fileName); } include 'config.php'; include 'opendb.php'; $query = "INSERT INTO upload (name, size, type, content … ![]() | |
After you got the basics of Python under your belt, the best way to get a good knowledge of the language and improve your coding skills is to start on a project you are interested in. Maybe an image viewer, a slide show, computer generated random or fractal art, a … | |
I'm uploading a file in laravel. The path is storing in database but unable to store image into destination folder. Here is my controller. public function post_contact() { $contact = new Contact; $contact->name = Input::get('name'); $contact->email = Input::get('email'); $contact->mobile = Input::get('mobile'); $contact->password = Input::get('password'); $contact->confirm = Input::get('confirm'); if($contact->save()) { $data … ![]() | |
Is it possible to OCR an image using java? Any links to logic or examples or APIs would be appreciated. | |
0ello I'm trying creating a triangular mesh from png. How can I extract the basic information from a image contour to create a mesh? I used opencv module in order to extract the contours . On xyContour variable I have essentially a path, but with a path I think that … | |
what is the database MRI image contain tumor brain image and healthy brain image? where can i find it? | |
what is the html code for **if we move our cursor on the image, the image name should appear**?? please help me urgent | |
Hi guys, I have a bit of code that displays an objects image, when you hover over it, it also shows the name of that object. What I would like, is when you hover over it for it to show the object Description instead, I am not sure what to … | |
Hai Everyone.. Could someone please tell me that is there any jquery plugin to upload an image with editing functionality like resize,drag position as in shown Facebook profile picture upload? ![]() | |
hi everyone. how can I get a database consists of page of html images. | |
Quite a while ago, I made [URL="http://www.daniweb.com/code/snippet217147.html"][B]this[/B][/URL] snippet. This code is basically the same, except that it adds animation. This method of blitting is very fast assuming you don't use a surface that's too large. On a 500 x 500 surface, I managed 350fps using only 0-1% of the cpu. … | |
Good day experts, i want to upload image and forms input to database using apachae method but it returns an error display below [CODE] org.apache.jasper.JasperException: Unable to compile class for JSP: An error occurred at line: 36 in the jsp file: /jsp/cat1.jsp name cannot be resolved 33: String fvalue = … | |
Hello, my Wordpress is using now LayerSlider. However, for the image layer content (not image background slider), how I can apply the hover effect?  And, these are the code using now by LayerSlider: <a alt="" data-ls="offsetxin:0;delayin:3500;easingin:linear;fadein:false;offsetxout:0;easingout:linear;fadeout:false;" style="top: 400px; left: 141.5px; display: block; margin-left: 0px; margin-top: 0px; transform-origin: 50% … | |
Hello, my Wordpress is using now LayerSlider. However, for the image layer content (not image background slider), how I can apply the hover effect?  And, these are the code using now by LayerSlider: <a alt="" data-ls="offsetxin:0;delayin:3500;easingin:linear;fadein:false;offsetxout:0;easingout:linear;fadeout:false;" style="top: 400px; left: 141.5px; display: block; margin-left: 0px; margin-top: 0px; transform-origin: 50% … | |
I'm coding in VB6. I have pictures in Picture1 and Picture2. I would like to replace the picture in Picture1 with the picture in Picture2. What code will get this done? Thanks. | |
Hi, I need to create a image editing tool in php. I'm begginer to the php. I tried it in 'javascript' but I need it to create it in php. my javascript code also didn't work(crop box is didn't work properly even it didn't move). I have no idea to … | |
I have a background image on my homepage that is partially cut out whenever I use Google Chrome. Sometimes it's just a corner and sometimes half the top. I have the height set to the correct size. Looks fine in Safari and Firefox. Validates fine. Does anyone have any suggestions? … | |
Plzz provide me the jsp code that: Uploads firstname,lastname and an image to the db. | |
Hello Daniweb Community, I'm wanting to slice a square image into 9 pieces like below  the code I'm currently using is this Private Function CropBitmap(ByRef bmp As Bitmap, ByVal cropX As Integer, ByVal cropY As Integer, ByVal cropWidth As Integer, ByVal cropHeight As Integer) As Bitmap Dim rect … | |
Hey guys, I've struggling to implement this solution for about a week now. We are using word templates that have inline shapes drawn inside. The inline shapes are used as a place holder to programatically insert image bar codes into the document. Previously we were using Ms.Interop.dll libraries to achieve … | |
Hello once again! I have searched in vain for a solution to this issue however, any threads that I've seen online were regarding copying a specific state of a dynamic image and were unresolved...or were more like what I was looking for and it was unresolved. My current form uses … | |
hi everyone. I have written a program that convert from color image to gray image in asp.net with visual basic, but I have a problem am new in asp.net and I want to display the gray image but I don't know how. please help me. this is a code. If … | |
i want to make an application, where user can upload their images and display it in Image control without physically saving it in a folder on disk. after done build the cone, an error show on this line. Dim base64String As String = Convert.ToBase64String(bytes, 0, bytes.Length) Error show on the … | |
hi everyone. I want to retrieve image from sql server database using asp.net with vb, but the image is not display and I don't know what is wrong with my code. please help me. Imports System.Data.SqlClient Imports System.IO Imports System.Drawing Public Class _Default Inherits System.Web.UI.Page Public sqlcon As SqlConnection = … | |
![]() | Hi, I have several image tags overlapping using css and am able to use hover to make the one selected move to the top of he pile. #gallery img{ float: left; width: 250px; height: 250px; position: relative; } #gallery img:nth-child(2) { left: -200px; } #gallery img:hover{ z-index: 10; } I … |
I have just seen a resurrected thread about issues with loading images to a PictureBox and the inability to delete the file while the program is running. There was no clear explaination of the problem, only suggested hacks and apparent frustration. So I thought I would offer this explanation from … | |
<!DOCTYPE html> <html> <head> <title></title> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" type="text/css" href="./dist/style.css"> </head> <body> <header class="toolbar"> <div class="icons"> <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="64" height="64" viewBox="0 0 64 64"> <path d="M32 4c-8.837 0-16.836 3.582-22.627 9.374l-9.373-9.374v24h24l-8.971-8.97c4.344-4.343 10.343-7.030 16.971-7.030 13.254 0 24 10.745 24 24 0 7.169-3.143 13.602-8.126 18l5.292 6c6.644-5.864 10.834-14.442 10.834-24 … | |
Iam just stuck on this code I want to add an water mark on in between this process but I don't know how to give it. If the user select upload on the first image the image will uploaded and it will show in the right side. I want to … | |
hi everyone. how can i upload image using asp.net with vb.net | |
for those who don't know, the PNG format in WinXP MS Paint is actually extended. the format is supplied via mfc42u.dll found in system32/ with this in mind, it may be possible to write an exploit to add extended support for even more formats, and quite possibly custom formats. | |
Hi guys, I have to create a C# application which is able to mask images but I don't really get on with it... I thought I will use this example for the project: http://www.camera-sdk.com/p_248-how-to-implement-image-masking-in-c-onvif.html Any ideas or experiences? Has anyboby here used this? Any help would be appreciated. Thanks!! | |
With info-graphic back-linking when someone uses my image and posts it to a site that is considered very poor quality. Is there any negative-effect from Google? or Google may think I'm spamming with my links on random sites.? | |
![]() | i does not know about store the image in database. what is the datatype of picture in oracle? |
hi everyone. how can I convert image fromat from jpeg to bmp without saving image in vn.net 2010. | |
Hi Guys I have a program thats supposed to generate 9 random objects made from lines and then allow me to save the panel showing the state of all 9 objects. Currently all 9 objects are being generated and when i click save the panel is being saved to a … | |
I need to fill an image created using a ton of QuadCurves, but they don't fill it all the way using the traditional fill method. Any suggestions? public class MonstercatComponent extends JComponent{ public void paintComponent(Graphics g){ Graphics2D g2 = (Graphics2D) g; drawGrid(g2); g2.setStroke(new BasicStroke(5)); QuadCurve2D earLeft1 = new QuadCurve2D.Double(145, 155, … | |
A THOUSAND apologies if this question has been asked time and time again. Google gave no results and Jeeves is retired so I come looking for help in the best programming forum around. [code=csharp]private void button1_Click(object sender, EventArgs e) { pictureBox1.ImageLocation=??????????? }[/code] My question is fairly simple, what do I … | |
Hi I am trying to provide access to a folder of photos. The website is Unix based so I can change permissions. I am using WISE-FTP 8 as my FTP program. I created a directory on the server and intend to upload about 40 photos to it. I uploaded one … | |
Hi, I am developing a website. I have a folder containing some images. I have display list in gried view but on gried_itemcomannd download the image but following erroe are display i have trying the following code string filePath = "http://sdokannad.org/httpdocs/SDOKannad/DailyEntry/" + e.Item.Cells[12].Text; Response.AddHeader("Content-Disposition", "attachment;filename=\"" + e.Item.Cells[12].Text); Response.TransmitFile(filePath); Response.End(); **http:/sdokannad.org/httpdocs/SDOKannad/DailyEntry/20150409_125733' … | |
Hi I am getting error this error while upload image? Error:Fatal error: Class 'Image' not found Code: $gallerycate_img = "gallerycateimg/".$_FILES["txt_photo"]["name"]; $gallerycate_image = $_FILES['txt_photo']['name']; if (($_FILES["txt_photo"]["type"] == "image/jpeg")||($_FILES["txt_photo"]["type"] == "image/jpg")||($_FILES["txt_photo"]["type"] == "image/gif")||($_FILES["txt_photo"]["type"] == "image/png")&& ($_FILES["txt_photo"]["size"] < 200000000)) { move_uploaded_file($_FILES["txt_photo"]["tmp_name"], "../gallerycateimg/" .$_FILES["txt_photo"]["name"]); copy("../".$gallerycate_img, "../gallerycateimg/thumb/".$gallerycate_image); $file_thumb="../gallerycateimg/thumb/".$gallerycate_image; $file_thumb_1="gallerycateimg/thumb/".$gallerycate_image; $img = new Image($file_thumb); $size = … | |
How to edit and save image to sql server and retrieve back in html. | |
Hi i would like to fetch images from name of the image by which i have stored the image from the upload folder. how can i do it in wordpress. ![]() | |
I want to display images based on what user checked from number of checkboxs. I'm trying this code, but it not working <!Doctype html> <html><body> <form method="post" action="" id="myForm"> <div class="opt-first"> <h1><b>Subject</b></h1> <input type="checkbox" value="Account/Finance" name="subject[]" /> Account/Finance<br /> <input type="checkbox" value="Marketing" name="subject[]" /> Marketing<br /> <input type="checkbox" value="" name="subject[]" … ![]() | |
Sir I have these codes <html> <head> <style type="text/css"> #pic { float:left; width: 170px; border: 1px solid red; padding: 1px; text-align: center; font-size:12px; } #pic img { float:left; width: 50px; height: 45px; } </style> </head> <body> <div id="pic"> <p> <img src="https://www.gravatar.com/avatar/ecefb26ed5fc91eca453b31a1f7cdfd8? d=identicon&s=80"> General Manager<br/> Azhar Sharif<br/> 0302-1234567 </p> </div> <body> … | |
** I was building a program that is supposed to paint an image in a JPanel. I should be able to select an image (such as a JPEG) from the Open item in the File drop down menu and then it should be visible in a new window. However, the … |
The End.