Questions tagged as 'imagem'

2
answers

Problem with resizing PNG images in PHP

Good evening. I'm having a virtual store script here, but I'm having problems with PNG images. When uploading an image like this: .Thescriptcheckstheextensionbasedonmimetype,"sanitizes" the file name and after that, generates 3 sizes of t...
asked by 08.11.2015 / 05:10
2
answers

What is the proper http code to respond to the content of an image?

Well, the question is quite straightforward. I'm wanting to use PHP to respond to the content of an image. However, I would like to know if the http status type will have any impact on the client (such as cache images in the browser). In t...
asked by 01.07.2015 / 16:06
2
answers

Uploading images in CodeIgniter

Good, First I wanted to say that I do not understand anything, but nothing of CodeIgniter, I never worked, I had not even heard of it. But the site is so done and I was asked to add an upload of images. And so I did, but evil. Here is the cod...
asked by 14.07.2015 / 12:51
1
answer

Problems in html formatting

I have an image upload with text on a website and after insert shows the images and text. Upload uploads the images to a folder and your path in the database. It's supposed to look like this: oneundertheother,soorganized.Butwhenanotherisinsert...
asked by 15.07.2015 / 17:13
1
answer

JavaScript - Return image dimensions

Explanation Hello everyone, I'm uploading an image with JavaScript , using the following code: $('#image-background').on("change", function(e) { var arq = URL.createObjectURL(e.target.files[0]); $("#mp-image-bg").attr("src", arq).c...
asked by 02.05.2015 / 18:34
2
answers

OnClick on Canvas

I have an image and on it is drawn a Canvas. I need that when I click on the image it opens in the normal size of it with the drawn canvas object. For now I click on the image and only open it, the canvas does not appear. That's because I do not...
asked by 26.06.2015 / 14:52
1
answer

Generate PDF images using PDFSharp -Windows Form

I'm using window form .net and would like to convert scanned images to PDF, thus generating PDF images. I'm using PDFSharp. I have the following code but it only generates a page. What commands should I use to generate grab the images and genera...
asked by 31.03.2015 / 16:08
1
answer

$ _FILES undefined index error how to solve [duplicate]

When uploading an image I get the error:    Notice: Undefined index: image in C: \ Apache24 \ htdocs \ change_photo.php on line 9       Notice: Undefined index: image in C: \ Apache24 \ htdocs \ change_photo.php on line 10 Call: <...
asked by 14.04.2015 / 04:25
1
answer

How do I play a song when I start playing an image?

How do I play a song when I start playing an image? javascript or php <script type="text/javascript"> rodarImagem( function adicionaClassERoda() { document.getElementById('pic').className = 'rodar'; }); </script>...
asked by 06.06.2015 / 20:21
1
answer

Error returning mysql database data

I made a normal form that returns the data in HTML. So I decided to insert images into the database and then gave a warning:    "Notice: Array to string conversion in   E: \ sites \ htdocs \ progdesenv2 \ admin \ acao.php on line 14 " As f...
asked by 23.04.2015 / 23:46