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

Will be the web site link ever supported? #7

Open
yarodevuci opened this issue Nov 17, 2016 · 1 comment
Open

Will be the web site link ever supported? #7

yarodevuci opened this issue Nov 17, 2016 · 1 comment

Comments

@yarodevuci
Copy link

No description provided.

@prine
Copy link
Owner

prine commented Nov 22, 2016

Yeah this would be a nice extension. Maybe I am gonna add a solution for that. You could already try to write your own implementation. With the following code you can add your own implementations:

class WebImageThumbnailGenerator : ROThumbnailGenerator {

    var supportedExtensions:Array<String> = ["png", "jpg", "jpeg"]

    func getThumbnail(url:NSURL) -> UIImage {
        // Here fetch the image and return it
    }
}

// Add it
ROThumbnail.sharedInstance.addThumbnailGenerator(webImageThumbnailGenerator)

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

No branches or pull requests

2 participants