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)...
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...
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">...
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...
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...
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.
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...
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...
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...