GithubHelp home page GithubHelp logo

danielgindi / dgimageloaderview Goto Github PK

View Code? Open in Web Editor NEW
5.0 3.0 1.0 21 KB

A bullet-proof high-performance image view that loads from your URLs (web & local!) for iOS / ObjC

License: MIT License

Objective-C 100.00%

dgimageloaderview's Introduction

DGImageLoaderView

A bullet-proof high-performance image view that loads from your URLs (web & local!) for iOS / ObjC

It features:

  • Loading an image from URL (Internet)
  • Loading an image from URL (Local file)
  • Post processing the image to resize it to required size
  • Embedded DGFastImageSize internally to be able to quickly obtain image dimensions without actually loading the image
  • Fade in (customizable)
  • Cropping the image, with different anchors in the image
  • Rotating the image
  • Default image
  • Disabling cache
  • Keeping / disabling aspect ratio
  • Option to enlarge if smaller than the view
  • Option to stretch to fill outer bounds of view
  • Option to skip fade animation if image was loaded from cache (no delay)
  • Option to delay the download of an image (or loading from file) until the image is visible on the screen. This is nice if you have a huge gallery and do not want to preload - then it will load only when the view becomes visible.
  • Option to load the images asynchronously on another thread
  • Option to detect scale of image from fileName (if it contains @2x/@3x) even on web URLs.
  • Limit maximum concurrent download connections

This was originally in my other repository https://github.com/danielgindi/drunken-danger-zone/

Me

  • Hi! I am Daniel Cohen Gindi. Or in short- Daniel.
  • [email protected] is my email address.
  • That's all you need to know.

Help

If you like what you see here, and want to support the work being done in this repository, you could:

  • Actually code, and issue pull requests
  • Spread the word

Donate

License

All the code here is under MIT license. Which means you could do virtually anything with the code. I will appreciate it very much if you keep an attribution where appropriate.

The MIT License (MIT)

Copyright (c) 2013 Daniel Cohen Gindi ([email protected])

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

dgimageloaderview's People

Contributors

danielgindi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

ycaihua

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.