Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"int too big to convert" on uploading media #608

Open
7 of 24 tasks
haririan opened this issue Apr 8, 2024 · 4 comments
Open
7 of 24 tasks

"int too big to convert" on uploading media #608

haririan opened this issue Apr 8, 2024 · 4 comments

Comments

@haririan
Copy link

haririan commented Apr 8, 2024

Important note

  • You must fill this form! If you don't fill it, your issue will be close immediately.
  • Put an X character between [ ] that is related to your issue, like [x]
  • Please remove Important note from this form!
  • Don't remove other sections (unless it's unnecessarily, like Debug logs and Screenshots sections)!

I've:

Issue category

  • Bug
  • Feature Request
  • Missing Feature
  • Question
  • Not sure

Language

  • C#
  • VB.NET

Usage

  • Windows Form/Console app
  • WPF app
  • Asp .NET MVC
  • Asp .NET Core
  • Universal Windows Platform [UWP]
  • Xamarin or Xamarin Forms
  • Mono
  • Other

Operating System

  • Windows
  • Windows Server
  • Linux
  • Mac OS
  • Other

Describe your issue

this is how i try to add image
var mediaImage = new InstaImageUpload
{

            Height = 0,
            Width = 0,
            Uri = @"ali.jpg"
        };
     
        var result = await api.MediaProcessor.UploadPhotoAsync(mediaImage, "COMMENT");

Screenshots

image
@fancifulcoder
Copy link

Hello, were you able to solve the problem?

@SailleshPawar
Copy link

I am also facing the same issue in .net core.
image

@fancifulcoder
Copy link

I was able to solve it this way.

image

image

@SailleshPawar
Copy link

@fancifulcoder I am still facing the same error.
Though If I use the repository examples project it works for me seems like some library is missing for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants