Skip to content
This repository has been archived by the owner on Feb 24, 2021. It is now read-only.

Releases: ooade/pimg

V1.1.2

21 Aug 07:50
Compare
Choose a tag to compare

⚠️ Breaking Changes to Preact and Vue Packages ⚠️

Before:
import Image from 'pimg/dist/preact'
import Image from 'pimg/dist/vue'

Now:

import Image from 'pimg/preact'
import Image from 'pimg/vue'

Update all latest feature in vue

17 Mar 00:36
Compare
Choose a tag to compare
Pre-release
v1.0.0-rc.2

1.0.0-rc.2

FetchOnDemand, Placeholder, Global Config

16 Mar 23:29
Compare
Choose a tag to compare
v1.0.0-rc.1

1.0.0-rc.1

scrollToReveal works!!!

13 Mar 13:52
Compare
Choose a tag to compare
Pre-release

scrollToReveal now uses the Intersection Observer API 🎉 🎉 🎉

Twitter-like data saver mode

16 Feb 19:46
Compare
Choose a tag to compare
Pre-release

Version 1 alpha

28 Jan 20:12
Compare
Choose a tag to compare
Version 1 alpha Pre-release
Pre-release

What's new?

  • ScrollToReveal 🎉
  • Thumbnail Prop 🎉

You can check them out here -> https://pimg.surge.sh


Go ahead and build that Medium clone 😅

loadingClassName prop

20 Jan 07:08
Compare
Choose a tag to compare

Thanks to @VinSpee for this release 🎉

Add Thumbnail Component

19 Jan 17:14
Compare
Choose a tag to compare

Thumbnail Component Release

With Thumnail Component, users can add images from other sources rather than from cloudinary.

Example:

import Image, { Thumbnail }  from 'pimg'

render() {
   <Image src="imageSrc">
      <Thumbnail src="thumbnailSrc" />
   </image>
}

Caveat

Make sure your thumbnailSrc size is around few kilobytes for better performance.