Git Product home page Git Product logo

node-fleximg's Introduction

#node-fleximg

Responsive image loader - Automatically resizes image files to fit the desired display dimensions

not ready for production use

##Website http://www.fleximg.com

##What

###Client

collect all img tags that have "data-src" attribute set
each
	measure desired display dimensions
	set the source of that img tag to a path that leads to the resized image

###Server

catch the request for that image file
	if not image_file_exists
		create a resized version of the original image
	
	deliver it

#amazon ec2 setup

##debian based distros

  • setup your ubuntu ec2 instance in amazon aws console
  • create a new security group to allow incoming connections on port 8080
  • sudo apt-get install -y git
  • git clone https://github.com/cioddi/node-fleximg.git
  • cd node-fleximg
  • ./server_test_setup.sh
  • start the fleximg node server using node index

##MIT license Copyright (c) 2013 Max Tobias Weber

##additional copyright info ###assets img/test.jpg (2013 Loren Kerns http://www.flickr.com/photos/lorenkerns/9262656978/)

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.