Questions tagged as 'imagen'

2
answers

Managing an ImageField in Django - Rendering it in an html template

I have a custom user model in which I want to add a user avatar field: class User(AbstractBaseUser, PermissionsMixin): # email # username # first_name # last_name slug = models.SlugField(max_length=100,blank=True)...
asked by 13.06.2017 / 17:41
3
answers

PHPMailer, send html file with image and external css as message

I'm using the following code to send an HTML email with an attachment (zip) and if it works. What I want is to make changes for: 1. Send an HTML template already pre-made containing CSS (it's in an external file). 2. Embed (not attach) any...
asked by 29.04.2017 / 13:48
2
answers

Text always same position on img and with proportion to the image in html and CSS

I'm doing tests with text positioning on an image. I have this: This I get with this code. In html: <main> <div class="caja"> <img src="smartphones.png" alt="" > <div class="texto">...
asked by 13.11.2018 / 23:16
1
answer

How to serialize an image (bitmap) in bytes [] C # UWP?

What happens is that I have an image captured from a PC folder //Capturar imagen //https://docs.microsoft.com/es-es/windows/uwp/files/quickstart-using-file-and-folder-pickers var picker = new Windows.Storage.Pickers.FileOpenPicker(); picker.V...
asked by 08.11.2018 / 16:33
1
answer

How to store an image in a Microsoft Access database and then read it from the database?

I am developing a project, which under the circumstances my only option is to use access, but I have encountered this problem. I do not know how to store an image and read it from an Access database. I have looked in forums that indicate that wi...
asked by 03.11.2018 / 00:17
1
answer

Image from imageList to Picturebox comes out blurred (c #)

I'm trying to insert an image from an ImageList to a PictureBox, but when I load the image, it goes very blurry, the code is this: P3.BackgroundImage = imageList1.Images [0]; It should come out clear.     
asked by 22.09.2018 / 06:34
3
answers

I can not place background image with CSS, background-image, does not recognize it [duplicated]

input:focus{ background-color: #58ACFA; color: #000000; font-weight: bold; } body { background-size: 100vw 100vh; font-family: arial; background-image: url("img/sea.jpeg");...
asked by 07.09.2018 / 13:31
1
answer

Change img in responsive wordpress

I'm having problems with imagenes that occupy all div 1080px , to pass them to responsive I want them to occupy longer than wide obviously cutting the photo by the sides but I can not do it, how much stretching the pho...
asked by 24.08.2018 / 14:39
1
answer

Javascript library that converts pdf into jpg / png

Any bookstore that you know that convert pdf into a good quality image? I found a call pdf.js but it takes them out of bad quality do you know another Liberia or do you know how to move to the image quality that is downloaded in this library? th...
asked by 21.10.2018 / 20:45
1
answer

Problems dividing an image into squares in python

I'm trying to crop an image using python, but I do not understand why this code gives an error: imagen = PIL.Image.open("imagen-entera.jpg") ancho = int(imagen.size[0]/8) alto = int(imagen.size[1]/8) for si in range (8): for gh in range (8...
asked by 05.08.2018 / 19:35