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. [Utility &amp; Helpers](/categories/utility)
4. /
5. venveo/craft-retinafy

AbandonedArchivedCraft-plugin[Utility &amp; Helpers](/categories/utility)

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

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

1.0.0(8y ago)0157MITPHP

Since May 19Pushed 8y 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 2w ago

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 52% 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

2964d 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

[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k59](/packages/verbb-formie)[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.5M52](/packages/nystudio107-craft-seomatic)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)[verbb/field-manager

Manage your fields and field groups with ease.

195612.2k10](/packages/verbb-field-manager)[verbb/workflow

Enforce multi-step review processes for creating entries.

138123.0k1](/packages/verbb-workflow)[verbb/comments

Add comments to your site.

13753.7k](/packages/verbb-comments)

PHPackages © 2026

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