GithubHelp home page GithubHelp logo

portsoc / img101 Goto Github PK

View Code? Open in Web Editor NEW
0.0 6.0 1.0 96.03 MB

Examples for working with images in HTML.

HTML 100.00%
alt animation images img mask photos picture pictures responsive srcset

img101's Introduction

Working with Images

We have prepared a collection of image examples that you can interact with on the web at: https://soc.port.ac.uk/img101

Download / Install

You should get a copy the source code by, either:

We recommend you clone the repo, rather than downloading the zip, but if you do download the zip file you should uncompress it to a folder on your local machine (do not just open the zip and use the examples directly).

Use

Open the `img101`` folder in your preferred text editor - (we recommend you use VSCode but if you prefer an equally capable or better editor that's fine - just dont use Notepad).

Task

For each page,

  1. look at what it does, then
  2. look at the source code to see how it's done, then
  3. look at the questions and suggestions in the page * To answer the questions you will need to edit the page. * You can open the page on its own by shift-clicking on the menu. * When you edit the page, reload it to see how it has changed. * Record your discoveries for each question
  4. When you have completed the examples, experiment.

img101's People

Contributors

ear1grey avatar jacekkopecky avatar matt-thepie avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

tomatport

img101's Issues

jumpy picture size in example 12

in example 12, with the fish size, the picture size jumps because it stays 100% width. I'd suggest setting the height to something fixed instead, so the person in the picture stays a similar size all the time, just shows a bigger fish when there's space.

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.