PHPackages                             venveo/craft-retinafy - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. venveo/craft-retinafy

AbandonedArchivedCraft-plugin

venveo/craft-retinafy
=====================

A direct remake of the Craft Retinafy plugin for Craft 2.0 by markgoodyear.

1.0.0(7y ago)0157MITPHP

Since May 19Pushed 7y ago1 watchersCompare

[ Source](https://github.com/venveo/craft-retinafy)[ Packagist](https://packagist.org/packages/venveo/craft-retinafy)[ RSS](/packages/venveo-craft-retinafy/feed)WikiDiscussions master Synced today

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

Retinafy plugin for Craft 3
===========================

[](#retinafy-plugin-for-craft-3)

#### Note:

[](#note)

This is a direct port from [markgoodyear's Craft Retinafy for Craft 2](https://github.com/markgoodyear/craft-retinafy) in order to help facilitate Craft 2 to Craft 3 migrations.

Retinafy will only work on images with `@2x` in the filename. The `@2x` signifies its intended use.

By default, Retinafy generates the 1x version of the 2x version uploaded. The 1x version is used as the image tags `src` attribute, and the uploaded version is the `srcset` 2x version. For example, if your image is to be displayed at 250x250px, upload a 500x500px version, and Retinafy will handle the rest.

**Example output**:

```

```

Usage
-----

[](#usage)

### As a Craft variable

[](#as-a-craft-variable)

Retinafy can be used as a Craft variable:

```

```

### As a Twig filter

[](#as-a-twig-filter)

Retinafy can also be used as a Twig filter:

```

```

Options
-------

[](#options)

Retinafy allows passing in a custom image transform:

```
{# As a Craft variable #}

{# As a Twig filter #}

```

When passing in a transform, Retinafy will use the generated image as the image tags `src`, and then determine if the uploaded image can be used as a 2x version. If the image is large enough, it will create the 2x version of the transform and add in the required `srcset` markup.

Plugin Settings
---------------

[](#plugin-settings)

Retinafy currently provides plugin settings to control the 2x suffix to suit your workflow (`@2x`, `.2x` etc.), and to bypass the 2x suffix when using transforms. Bypassing the 2x suffix on transforms is useful in many situations, such as when creating thumbnails for an image gallery where the original file wouldn't necessarily be 2x, but the thumbnails could display a 2x image if the original is big enough.

[![Retinafy settings page](/screenshots/settings.png)](/screenshots/settings.png)

License
=======

[](#license)

Retinafy is licensed under the [MIT license](/LICENSE.md).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2915d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c06cc90c1a7f274f31233258cedf58df05f581a0c1a79f44b40764a60b96f377?d=identicon)[ransom](/maintainers/ransom)

---

Top Contributors

[![Mosnar](https://avatars.githubusercontent.com/u/3810939?v=4)](https://github.com/Mosnar "Mosnar (3 commits)")

---

Tags

cmsCraftcraftcmscraft-pluginretinafy

### Embed Badge

![Health badge](/badges/venveo-craft-retinafy/health.svg)

```
[![Health](https://phpackages.com/badges/venveo-craft-retinafy/health.svg)](https://phpackages.com/packages/venveo-craft-retinafy)
```

###  Alternatives

[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.4M46](/packages/nystudio107-craft-seomatic)[verbb/image-resizer

Resize assets when they are uploaded.

127269.1k7](/packages/verbb-image-resizer)[verbb/tablemaker

Create customizable and user-defined table fields.

40168.8k1](/packages/verbb-tablemaker)[wrav/oembed

A simple plugin to extract media information from websites, like youtube videos, twitter statuses or blog articles.

36205.0k3](/packages/wrav-oembed)[verbb/hyper

A user-friendly links field for Craft.

24130.9k9](/packages/verbb-hyper)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
