PHPackages                             itafroma/drupal-markdown\_image - 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. itafroma/drupal-markdown\_image

ActiveDrupal-module[Utility &amp; Helpers](/categories/utility)

itafroma/drupal-markdown\_image
===============================

Provides shorthand to allow easy use of image fields in Markdown.

091[1 issues](https://github.com/itafroma/drupal-markdown_image/issues)PHP

Since Sep 3Pushed 12y ago1 watchersCompare

[ Source](https://github.com/itafroma/drupal-markdown_image)[ Packagist](https://packagist.org/packages/itafroma/drupal-markdown_image)[ RSS](/packages/itafroma-drupal-markdown-image/feed)WikiDiscussions 7.x-1.x Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Markdown Image
==============

[](#markdown-image)

Provides shorthand to allow easy use of image fields in Markdown.

Motivation
----------

[](#motivation)

The Markdown syntax for images is the following:

```
![image title](image url)
```

In Drupal, knowing the image URL is a difficult prospect because many different things can act on the image before it's displayed. One example is image styles: while you might know the original URL, finding out what the image style URL is can be difficult. Moreover, hard-linking to an image can cause problems if the image style changes.

Requirements
------------

[](#requirements)

- [Drupal 7](http://drupal.org/project/drupal "Drupal download page")
- The [Markdown](http://drupal.org/project/markdown "Markdown module project page") module
- An entity that has an image field and a text field with the Markdown text format enabled

Downloading and installation
----------------------------

[](#downloading-and-installation)

### Using [Composer](http://getcomposer.org "Composer Dependency Manager for PHP") via [Packagist](http://packagist.org "Packagist Composer repository")

[](#using-composer-via-packagist)

Add `itafroma/drupal-markdown_image` to your `composer.json`:

```
{
    "require": {
        "itafroma/drupal-markdown_image": "dev-7.x-1.x"
    }
}
```

Composer's Drupal installer assumes `composer.json` is in your `modules` folder. If it isn't and you want to install the module somewhere else, use a custom install path in your `composer.json`:

```
{
    "extra": {
        "installer-paths": {
            "sites/all/modules/{$name}/": ["type:drupal-module"]
        }
    }
}
```

More information can be found in the [README for Composer's installers package](https://github.com/composer/installers/blob/master/README.md "composer/installers README").

### Using Git

[](#using-git)

Clone the repository into one of your `modules` folders:

```
git clone -b 7.x-1.x git@github.com:itafroma/drupal-markdown_image.git markdown_image
```

Once downloaded, install Markdown Image as you would [any other module](https://drupal.org/documentation/install/modules-themes/modules-7 "Installing contributed modules (Drupal 7)").

Usage
-----

[](#usage)

Use the standard [Markdown syntax for images](http://daringfireball.net/projects/markdown/syntax#img "Markdown Syntax Documentation: Images"), replacing the URL with the name of the image field followed by the index of the image:

```
![Image tite](field_image:1)
```

Copyright and license
---------------------

[](#copyright-and-license)

Contributors to **Markdown Image** hold copyright to their [respective contributions](https://github.com/itafroma/drupal/contributors "Markdown Image contributors"). It is licensed via the [GPLv2 only](http://www.gnu.org/licenses/old-licenses/gpl-2.0.html "GPLv2 license"): if you contribute code, you agree to license your contributions via the same license.

GPLv2-compatible cross-licensing will be considered: please [create an issue](https://github.com/itafroma/drupal-markdown_image/issues "Markdown Image issue queue")! Due to its reliance on the Drupal API (which is [GPLv2+](https://drupal.org/licensing/faq/ "Drupal Licensing FAQ")), it cannot be cross-licensed with a less restrictive, non-GPL-compatible license.

The full license can be found in the [LICENSE file](https://github.com/itafroma/drupal-markdown_image/blob/7.x-1.x/LICENSE "LICENSE file").

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/65391dc5aa04dbfa5e2abcb672705493d3f1f5c3e291d614c9ea77ff93519ff0?d=identicon)[itafroma](/maintainers/itafroma)

---

Top Contributors

[![itafroma](https://avatars.githubusercontent.com/u/277116?v=4)](https://github.com/itafroma "itafroma (13 commits)")

### Embed Badge

![Health badge](/badges/itafroma-drupal-markdown-image/health.svg)

```
[![Health](https://phpackages.com/badges/itafroma-drupal-markdown-image/health.svg)](https://phpackages.com/packages/itafroma-drupal-markdown-image)
```

###  Alternatives

[mirazmac/dotenvwriter

A PHP library to write values to .env (DotEnv) files

19129.3k7](/packages/mirazmac-dotenvwriter)[joegreen0991/config

Config component based on laravel's

233.3k](/packages/joegreen0991-config)

PHPackages © 2026

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