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

URL Failed to load. #60

Open
sooraj-e opened this issue May 9, 2013 · 5 comments
Open

URL Failed to load. #60

sooraj-e opened this issue May 9, 2013 · 5 comments

Comments

@sooraj-e
Copy link

sooraj-e commented May 9, 2013

UrlImageViewHelper failed to load an image from URL http://storage.cloud.appcelerator.com/HIlgj5Xyk9TipCk6JY4xZHgEJB0qXDfF/photos/34/4e/518b4aab37542f55f3001996/Logo_preview.jpg
This link is working and i can load it in an iOS app also. but in android it fails. UrlImageViewCallback onLoaded loadedDrawable returns null. I could load other images from the same server.

@koush
Copy link
Owner

koush commented May 9, 2013

If I click the image, it says access denied.

@sooraj-e
Copy link
Author

sorry. please try with this one http://i.imgur.com/mjzDNwh.jpg

@toudidel
Copy link

I also have similiar problem.
I have a valid URL (typed in browser shows my picture), but using method setUrlDrawable() I receive: java.net.ConnectException: localhost/127.0.0.1:7001 - Connection refused (image is provided by my localhost webservice)

@toudidel
Copy link

27.12.2013 22:29, aandino22 wrote:

I have a problem loading an image from php header('Content-type:
image/jpg') an example link is
http://cplusplustutorial.dev-corner.net/Associations/EventPhoto.php?id=35
the error message said: "error opening trace file: No such file or
directory (2)" using this method
UrlImageViewHelper.setUrlDrawable(imageView,
data.get(position).get(from[0]).toString(), null, new
UrlImageViewCallback() {
@OverRide https://github.com/Override
public void onLoaded(ImageView imageView, Bitmap loadedBitmap, String
url, boolean loadedFromCache) {
if (!loadedFromCache) {
ScaleAnimation scale = new ScaleAnimation(0, 1, 0, 1,
ScaleAnimation.RELATIVE_TO_SELF, .5f, ScaleAnimation.RELATIVE_TO_SELF,
.5f);
scale.setDuration(300);
scale.setInterpolator(new OvershootInterpolator());
imageView.startAnimation(scale);
}
}
});

You have an idea why this hapenning I need help


Reply to this email directly or view it on GitHub
#60 (comment).

Unfortunately I don't know what's the problem. Finally I don't use this
library.

Krzysztof

@aandino-dev
Copy link

Finally the error was mine the image was corrupted when i save it in the database the data was truncated. Thanks anyway.

aandino22

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

4 participants