Skip to content

Releases: felixicaza/astro-lqip

v1.6.0

21 Oct 02:26

Choose a tag to compare

   🚀 Features

  • Add support to handle strings paths, module-like imports and dynamic imports  -  by @felixicaza (8e516)

Now you can also put the image path as string directly in the src prop. Support absolute paths in src folder, relative paths and alias.

Example with absolute path:

---
import { Image, Picture } from 'astro-lqip/components';
---

<Image src="/src/assets/images/image.png" alt="Cover Image" width={220} height={220} />
<Picture src="/src/assets/images/other-image.png" alt="Other Image" width={220} height={220} />

Example with relative path:

---
import { Image, Picture } from 'astro-lqip/components';
---

<!-- assuming you are on the path `/src/pages/index.astro` -->
<Image src="../assets/images/image.png" alt="Cover Image" width={220} height={220} />
<Picture src="../assets/images/other-image.png" alt="Other Image" width={220} height={220} />

Example with alias:

---
import { Image, Picture } from 'astro-lqip/components';
---

<Image src="@/assets/images/image.png" alt="Cover Image" width={220} height={220} />
<Picture src="@/assets/images/other-image.png" alt="Other Image" width={220} height={220} />
    View changes on GitHub

v1.5.0

18 Oct 22:38

Choose a tag to compare

   🚀 Features

  • Add support for SSR mode for LQIP generation with Node Adapter  -  by @felixicaza (65bb3)
    View changes on GitHub

v1.4.1

28 Sep 17:27

Choose a tag to compare

   🐞 Bug Fixes

  • Add ImagePath type and update resolveImagePath function to handle dynamic imports  -  by @felixicaza (fc9e5)
    View changes on GitHub

v1.4.0

28 Sep 02:28

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v1.3.2

23 Aug 21:20

Choose a tag to compare

   🐞 Bug Fixes

  • styles: Adjust opacity and z-index for lqip image when JavaScript is disabled  -  by @felixicaza in #12 (becd4)
    View changes on GitHub

v1.3.1

16 Aug 22:14

Choose a tag to compare

   🐞 Bug Fixes

  • refactor: Improve Image and Picture components in lqip CSS management  -  by @felixicaza (e19bf)
    View changes on GitHub

v1.3.0

16 Aug 19:05

Choose a tag to compare

   🚀 Features

    View changes on GitHub

v1.2.2

24 Jul 02:39

Choose a tag to compare

   🐞 Bug Fixes

    View changes on GitHub

v1.2.1

11 Jul 16:49

Choose a tag to compare

No significant changes

    View changes on GitHub

v1.2.0

11 Jul 16:45

Choose a tag to compare

   🚀 Features

    View changes on GitHub