Questions tagged as 'imagem'

3
answers

How to put caption in an ImageView

I would like to know if it is possible to put caption in a ImageView similar to the image below, if possible an explanation or study material.     
asked by 25.04.2014 / 14:56
1
answer

How does logic work to figure out the size of the image?

In PHP and other programming languages, it is possible, through some special functions, to find out the size of the image. For example: list($width, $height) = getimagesize('images/icon.png'); I was curious to know how languages do this....
asked by 22.06.2016 / 17:11
2
answers

My image does not appear in ImageView

I'm looking for the image on SdCard. Everything works fine, opens the gallery, selects the image, but the selected image does not appear in ImageView. Code: public void btnFoto(View view){ Intent intent = new Intent(Intent.ACTION_GET_...
asked by 08.09.2015 / 16:20
4
answers

How to replace the src of an img tag?

I have an html page that shows an image for each day of the year. Images are organized into folders such as /img/o1/o1.jpg (referring to January 1st), and so on. My html is simple I want you to take the day + month today and replace...
asked by 28.03.2014 / 03:58
2
answers

Resize image with PHP while maintaining proportion

I'd like to resize images by proportion from a remote link using PHP. Is this possible? Type:    link for    link Note: In this case, the 2 addresses belong to me. No image theft.     
asked by 19.03.2014 / 02:47
2
answers

What is the safest way to identify that the upload file is an image?

I'm making a system where I can receive an image upload. To check on the server if the file type is image, I thought of this code: if (strpos($upload->getClientMimeType(), 'image') !== 0) { throw new UploadException( sprintf...
asked by 20.01.2017 / 13:30
1
answer

Use of memory PHP images

I have an upload of images and to handle the images I have already used ( ImageWorkShop and # Tested images: Imagem 01 (1920x1080 1,27MB JPG); Imagem 02 (4134x2362 132KB PNG); I have the following test code to upload (library Imag...
asked by 08.05.2015 / 20:22
2
answers

Change src of images through jquery

I'm using the Animated Responsive Image Grid plugin and want to change the images src through Javascript / Jquery. HTML code: <div id="ri-grid" class="ri-grid ri-grid-size-1 ri-shadow"> <ul> <li><a href="#"><...
asked by 22.02.2014 / 02:21
1
answer

Why does Firefox not display WEBP images?

I made a slide on a website where I use images that were passed to me in WEBP format. I thought everything was fine, because everything in Chrome was working. But I noticed that in Firefox (version 57.0.4) the images are not displayed. I'd...
asked by 23.01.2018 / 13:04
1
answer

How to crop an image from the gallery or photo taken by the camera, save and load an imageView

I would like to know how to crop an image from the gallery or photo taken by the camera, save and load a imageView , as I can do this for the intent gallery option, but for the camera option it returns me a data = null below...
asked by 04.02.2016 / 23:17