Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

213
Vistas
Upload webp an sending to server express and nodejs

I am developing a web application in node js with express, among its many functions I need to implement a small form to add products, with fields such as name, price, stock. just as I require an input in a form that allows me to upload a photo per product and when I receive it, I transform it into a webp type and after that I send it to the server where it can be stored with a unique code, I already have the entire form but I'm not sure how to send the change the photo in a format (so they can upload any compatible format and on the server it will still be saved as webp type), I tried implementing multer, but I didn't find any concise way to do it, is there any middleware ? or any concise and not too complicated way to do it? I also attach the dependencies that I have at the moment

const express = require('express');
const morgan = require('morgan');
const path = require('path');
const { engine } = require('express-handlebars');
const favicon = require('serve-favicon');
const session = require('express-session');
const MySQLStorage = require('express-mysql-session');
const flash = require('connect-flash');
const passport = require('passport');
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda