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

Externally hosted images #25

Open
katelynienaber opened this issue May 8, 2020 · 1 comment
Open

Externally hosted images #25

katelynienaber opened this issue May 8, 2020 · 1 comment

Comments

@katelynienaber
Copy link

How would I use Pig with externally hosted images?

I am grabbing an array of posts from Facebook and the images are hosted there. Pig is automatically prepending my hostname to the front of the URL...and then ofc the image can't be found...

image

@schlosser
Copy link
Owner

Hey there! You should implement urlForSize – the function that generates the URL you want based on the requested size.

Hope that helps!

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

2 participants