Search the Community

Showing results for tags 'imagenes'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Português
    • Autenticação e Autorização
    • Gerenciamento de perguntas e respostas
    • Gerenciamento de produtos
    • Gerenciamento de vendas
    • Gerenciamento de envios
    • Gerenciamento de usuário
    • Controle de notificações
    • Gerenciamento de mensagens pós-venda
  • Español
    • Autenticación y Autorización
    • Gestión de preguntas y respuestas
    • Gestión de productos
    • Gestión de ventas
    • Gestión de envíos
    • Gestión de usuario
    • Control de notificaciones
    • Gestión de mensajes post-venta
  • English
    • Authentication and Authorization
    • Question & Answer Management
    • Product Management
    • Sales Management
    • Shipment Management
    • User Management
    • Notification control
    • Post Sale Message Management
  • Off Topic
    • Events
    • Off Topic
    • Documentation improvements
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 6 results

  1. Buenas a todos. Estoy trabajando en una importante empresa de Argentina y me asignaron la creación de una publicación a MercadoLibre por medio de una API-REST y cuando reviso el proyecto ya tenia instalado el SDK de Meli. Cuando quiero hacer la subida de la imagen probé de varias formas posibles y la mas cercana a funcionar es esta ultima: if ($request->hasFile('image')) { $proof = $request->file('image')->store('MeliMage'); $meli = new Meli(env('MELI_APP'), env('MELI_SECRET_KEY'), $accessToken->access_token, $accessToken->refresh_token); $params=array('access_token' => $accessToken->access_token); $url = Storage::url($proof); $source = array('source' => $url); $upimage = $meli->post('/pictures', $source, $params); return $upimage; } Lo hago subiendo al server ya que de forma local no me funcionaba, pero me da el mismo problema que de forma local, como si no llegara a la imagen. El mensaje devuelto es: { "body": { "id": "804426-MLA31523452943_072019", "max_size": "500x500", "dominant_color": null, "crop": { "y_size": null, "x_size": null, "y_offset": null, "x_offset": null }, "variations": [ { "size": "500x500", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/F-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/F-ES.jpg" }, { "size": "500x500", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/O-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/O-ES.jpg" }, { "size": "400x400", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/C-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/C-ES.jpg" }, { "size": "320x320", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/V-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/V-ES.jpg" }, { "size": "280x280", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/E-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/E-ES.jpg" }, { "size": "250x250", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/P-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/P-ES.jpg" }, { "size": "228x228", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/A-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/A-ES.jpg" }, { "size": "210x210", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/Y-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/Y-ES.jpg" }, { "size": "200x200", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/N-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/N-ES.jpg" }, { "size": "160x160", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/T-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/T-ES.jpg" }, { "size": "160x160", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/Z-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/Z-ES.jpg" }, { "size": "120x120", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/G-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/G-ES.jpg" }, { "size": "90x90", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/I-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/I-ES.jpg" }, { "size": "90x90", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/S-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/S-ES.jpg" }, { "size": "70x70", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/R-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/R-ES.jpg" }, { "size": "40x40", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/M-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/M-ES.jpg" }, { "size": "800x800", "url": "http:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/B-ES.jpg", "secure_url": "https:\/\/http2.mlstatic.com\/resources\/frontend\/statics\/processing-image\/1.0.0\/B-ES.jpg" } ], "source": "http:\/\/localhost\/storage\/MeliMage\/AueuxOSdNJ249SQ7ZY6Kk66cWsG4Sv2j9cWu6MWM.png" }, "httpCode": 201 } Espero me puedan dar una mano porque me esta volviendo loco. Saludos. PD: La carpeta storage es publica por el momento.
  2. Hola buenas, estoy tratando de reemplazar unas imagenes de una publicación, pero no consigo hacerlo, este es el codigo que ocupo para mandar la petición : $urlReplaceImage = "https://api.mercadolibre.com/items/" . $item . "?access_token=" . $token ; $imgMeli = "http://mlc-s1-p.mlstatic.com/973440-MLC31651341797_082019-O.jpg" ; //Imagen a reemplazar $dataMeli["pictures"] [] = array( "source" => $imgMeli ) ; $dataMeli["pictures"] [] = array( "source" => $imgMeli ) ; $responseMeli = $this->httpPut( $urlReplaceImage, $dataMeli ) ; echo $responseMeli ; ------------------------------------------------ //Función httpPut private function httpPut( $url , $dataMeli ){ $dataMeli = json_encode( $dataMeli ); $ch = curl_init( $url ) ; curl_setopt( $ch , CURLOPT_RETURNTRANSFER , true ) ; curl_setopt( $ch , CURLOPT_CUSTOMREQUEST , "PUT") ; curl_setopt( $ch , CURLOPT_POSTFIELDS , http_build_query( $dataMeli ) ) ; curl_setopt( $ch , CURLOPT_HTTPHEADER , array( 'Content-Type: application/json', 'Accept: application/json' )); $response = curl_exec($ch) ; return $response ; } y la respuesta que obtengo siempre es : "{"message":"body.invalid","error":"A body is expected. (A)","status":400,"cause":[]}" Cualquier aporte es bien recibido, Saludos.
  3. Hola, es posible especificar las imagenes en base64 dentro del JSON, en lugar de dar una ruta?. Tengo que levantar las imagenes desde una base de datos, o sea que no son accesibles publicamente. Quiero evitar el tener que almacenarlas en alguna direccion para despues vincularlas a la publicacion de Mercado Libre. Gracias!
  4. Buenas a todos, estoy trabajando con la SDK.NET de MeLi y estoy teniendo problemas para cargar imágenes almacenadas en el disco. Este es mi fragmento de código: Public Shared Async Function PostPic(Path As String) As Task(Of MeLiPicture) Try Dim params As New HttpParamsUtility.HttpParams params.Add("access_token", GetToken()) Dim Result As HttpResponseMessage = Await PostAsync("/pictures", params, New With {.file = New Uri(Path).AbsolutePath}) Dim JSONResult As String = Await Result.Content.ReadAsStringAsync Return DeserializeJSON(Of MeLiPicture)(JSONResult) Catch ex As Exception Throw ex End Try End Function Ej. Path="C:\Mis Imagenes\Logo.png" He probado el fragmento de código en reiteradas oportunidades y con muchas variantes y nunca he tenido un resultado positivo. Siempre obtengo esta respuesta --> BadRequest : "The fields [source] are required for requested call - (400)" ¿Alguien me podría ayudar? ¿o bien decirme donde esta mi error? Saludos
  5. Hola comunidad. Estoy integrando MELI a un backend desarrollado en PHP (con el SDK de PHP). Cuando publico un producto todo funciona bien pero las imágenes no se cargan. Extracto de la respuesta de MELI: [thumbnail] => http://www.mercadolibre.com/jm/img?s=STC&v=I&f=proccesing_image_es.jpg [secure_thumbnail] => https://www.mercadolibre.com/jm/img?s=STC&v=I&f=proccesing_image_es.jpg [pictures] => Array ( [0] => stdClass Object ( [id] => TEMPORARY_ID_16909627529 [url] => http://www.mercadolibre.com/jm/img?s=STC&v=O&f=proccesing_image_es.jpg [secure_url] => https://www.mercadolibre.com/jm/img?s=STC&v=O&f=proccesing_image_es.jpg [size] => 500x500 [max_size] => 500x500 [quality] => ) ) Necesito ayuda. Saludos!
  6. Alguma maneira de se melhorar a qualidade das imagens no envio de um anúncio utilizando-se da API? { "pictures":[ {"source":"http://www.apertura.com/export/sites/revistaap/img/Tecnologia/Logo_ML_NUEVO.jpg_33442984.jpg"}, {"source":"http://appsuser.net/www/wp-content/uploads/2012/10/logo-mercadolibre.jpg"} ] Algum param de qualidade talvez pra pôr talvez?? As fotos estão ficando com a qualidade horrível, é como se eu tivesse posto qualidade 5 no processador GD do php. :S ---English--- Any way to improve image quality on announce publication using API? { "pictures":[ {"source":"http://www.apertura.com/export/sites/revistaap/img/Tecnologia/Logo_ML_NUEVO.jpg_33442984.jpg"}, {"source":"http://appsuser.net/www/wp-content/uploads/2012/10/logo-mercadolibre.jpg"} ] There are, maybe, any quality param to put on it?? The photos are geting with a very poor quality, It seems like i'm processing the image on php-GD using the quality 5 (as param) :S Obrigado Gracias Thanks