Search
Add Beautiful Images with the Unsplash API
26.3.2020
Perhaps you know Unsplash? I'd wager it's the most popular stock photography site out there for two big reasons:
Every photo on there is pretty darn nice
Every photo is entirely free even for commercial use. You don't have to ask permission or even credit it (although that's appreciated).
Here's...
Client-Side Image Editing on Mobile
20.3.2020
Michael Scharnagl:
Ever wanted to easily convert an image to a grayscale image on your phone? I do sometimes, and that's why I build a demo using the Web Share Target API to achieve exactly that.
For this I used the Service Worker way to handle the data. Once the data is received on the client,...
How to Make Repeating Border Images
16.3.2020
I just saw this cool little site from Max Bittker: broider. You design an image on a 9-slice grid (except the middle part) and it will produce an image for you to use with border-image along with the CSS to copy and paste.
Check out my little design:
CodePen Embed Fallback
The areas of the image...
In-Browser Performance Linting With Feature Policies
26.2.2020
Here’s a neat idea from Tim Kadlec. He uses the Modheader extension to toggle custom headers in his browser. It also lets him see when images are too big and need to be optimized in some way. This is a great way to catch issues like this in a local environment because browsers will throw an error...
Audio-based Image Distortion Effects with WebGL
24.2.2020
Some experiments that show how to make audio-based distortion effects on images with p5.js and its sound library.
Audio-based Image Distortion Effects with WebGL was written by Yannis Yannakopoulos and published on Codrops
JPEG on the Blockchain: Image Format Creator Believes Tech Can Fight Copyright Theft
21.2.2020
A blockchain-based system might better flag fakes and prevent copyright violations, technical committee JPEG says
Do This to Improve Image Loading on Your Website
20.2.2020
Jen Simmons explains how to improve image loading by simply using width and height attributes. The issue is that there’s a lot of jank when an image is first loaded because an img will naturally have a height of 0 before the image asset has been successfully downloaded by the browser. Then it needs...
While You Weren’t Looking, CSS Gradients Got Better
14.2.2020
One thing that caught my eye on the list of features for Lea Verou's conic-gradient() polyfill was the last item:
Supports double position syntax (two positions for the same color stop, as a shortcut for two consecutive color stops with the same color)
Surprisingly, I recently discovered most...
Building an Images Gallery using PixiJS and WebGL
12.2.2020
Sometimes, we have to go a little further than HTML, CSS and JavaScript to create the UI we need, and instead use other resources, like SVG, WebGL, canvas and others.
For example, the most amazing effects can be created with WebGL, because...
Helping Browsers Optimize With The CSS Contain Property
10.2.2020
There is a growing number of things that we have to do to help the browser achieve for peak performance.
Responsive image syntax has several. For example, needing to tell the browser how large the image will be in our layout with the sizes attribute and how big the images are with w descriptors....
Native Image Lazy Loading in Chrome Is Way Too Eager
5.2.2020
Interesting research from Aaron Peters on <img loading="lazy" ... >:
On my 13 inch macbook, with Dock positioned on the left, the viewport height in Chrome is 786 pixels so images with loading="lazy" that are more than 4x the viewport down the page are eagerly fetched by Chrome...
Image Dragging Effects
3.2.2020
A set of playful dragging effects for images using various techniques.
Image Dragging Effects was written by Mary Lou and published on Codrops
Close to $6k in Bitcoin Cash Tips Paid to Read.cash Authors Last Week
29.1.2020
The read.cash blog has been a resource for the Bitcoin Cash (BCH) community for a while now but ever since the recent miner funded development proposal, the blogging site has gathered significant traction. For instance, the front page of read.cash shows that during the last week, more than $5,730...
Simple Image Placeholders with SVG
27.1.2020
A little open-source utility from Tyler Sticka that returns a data URL of an SVG to use as an image placeholder as needed.
I like the idea of self-running utilities like that, rather than depending on some third-party service, like placekitten or whatever. Not that I'd advocate for feature...
Flexible Captioned Slanted Images
25.1.2020
The end result of Eric Meyer's tutorial on creating this row of slanted images is pretty classy. But it's more about the journey than the destination (there isn't even really an isolated demo for it). Eric does an amazing job at talking it through like a thought process.
We did that recently, only...
What’s the Difference Between Width/Height in CSS and Width/Height HTML attributes?
24.1.2020
Some HTML elements accept width and height as attributes. Some do not. For example:
<!-- valid, works, is a good idea --<img width="500" height="400" src="..." alt="..."<iframe width="600" height="400" src="..."</iframe<svg width="20" height="20"</svg<!-- not valid...
How to Unroll Images with Three.js
22.1.2020
Discover the basic concept behind an unrolling image effect using WebGL.
How to Unroll Images with Three.js was written by Yuriy Artyukh and published on Codrops
Read.cash Platform Rewards Content Creators With Bitcoin Cash Incentives
2.1.2020
Since the platform’s launch, the Bitcoin Cash-centric blogging site read.cash has gathered a lot of traction. The website’s user base publishes interesting content and new material on a daily basis with the most popular authors gathering tips in bitcoin cash for their work. Also Read:...
Adding Dynamic And Async Functionality To JAMstack Sites
2.1.2020
Jason Lengstorf:
Here’s an incomplete list of things that I’ve repeatedly heard people claim the JAMstack can’t handle that it definitely can:
Load data asynchronously
Handle processing files, such as manipulating images
Read from and write to a database
Handle user authentication and protect...
PHP Templating in Just PHP
26.12.2019
With stuff like template literals in JavaScript and templating languages, like JSX, I've gotten used to wanting to write my HTML templates in one nice chunk and sprinkling in variables wherever I need them.
I had a situation where I needed to do that in "raw" PHP the other day, so I'm just...