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

Popup showing without image #28

Open
oualidouka opened this issue Jul 25, 2018 · 9 comments
Open

Popup showing without image #28

oualidouka opened this issue Jul 25, 2018 · 9 comments

Comments

@oualidouka
Copy link

I am doing every this as shown here but when I click the image it shows popup without the image
in log cat there is no error.
can you help me, please

@Abdelsattar
Copy link
Contributor

can you share with us your code and the image url and screen shot before click and after click

@oualidouka
Copy link
Author

oualidouka commented Jul 26, 2018

hi
this is my code
`
glide.with(this).load(cleaned_image).apply(requestOptions).into(cleaned_img);

    final ImagePopup imagePopup = new ImagePopup(this);

    imagePopup.setWindowHeight(800); // Optional
    imagePopup.setWindowWidth(800); // Optional
    imagePopup.setBackgroundColor(Color.BLACK);  // Optional
    imagePopup.setFullScreen(true); // Optional
    imagePopup.setHideCloseIcon(true);  // Optional
    imagePopup.setImageOnClickClose(true);  // Optional

    imagePopup.initiatePopup(cleaned_img.getDrawable());

    cleaned_img.setOnClickListener(new View.OnClickListener() {
        @Override
        public void onClick(View view) {

            imagePopup.viewPopup();

        }
    });

`
i forget to tell you that i am using Glide to download image from url and show it in the image view

@chathuralakmal
Copy link
Owner

are you sure when you click on cleaned_img, it has already loaded image from Glide?

@oualidouka
Copy link
Author

yes the cleaned_img is shown in the image view

@oualidouka oualidouka changed the title Popup showin without image Popup showing without image Jul 30, 2018
@oualidouka
Copy link
Author

up

@mustafamn
Copy link

Did you solve the problem if yes means can u show the code???

@oualidouka
Copy link
Author

Did you solve the problem if yes means can u show the code???

hi, no i didn't ,i am here waiting for library developer .

@Abdelsattar
Copy link
Contributor

@oualidouka did you changed initiatePopup with initiatePopupWithGlide() as you already using glide ?

@ELTEGANI
Copy link

not work empty

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

5 participants