About Image Tags

Add images from an imageField on the page to any place of a text area.

Category 1Photo/Video/Audio
Modules that perform some function related to media such as photos and audio/video.
Category 2Text Formatters
Textformatter modules that provide run-time formatting for blocks of text (typically used with Text/Textarea fields).
Release StateStable
Should be safe for use in production environments. *
Authordiogo
Module Version1.0.2
Class NameTextformatterImageTags
Compatibility2.2, 2.3, 2.4, 2.5, 2.6, 2.7
Date AddedJuly 25, 2012
Last UpdatedJune 27, 2016
Recommended ByNew recommendations may take up to 1 day to appear.

Details

This module provides a way of adding images from an imageField on the page to any place of a text area by inserting this tag {fieldname:n}, where "fieldname" is the name of the image field, and "n" is the position of the image in this field.

The outputted markup will be on this format:

Code:
<img src='$image->url' alt='$image->description'>

If you need the kind of functionality this module offers. You should also keep an eye on the module that is being developed by adamkiss. For now, it lives on this forum thread

Instructions

Follow these instructions to install the module
To activate it on a text area field, go to the DETAILS tab on this field EDIT page, and choose it from the Text Formatters options.

To add an image, place {fieldname:n} anywhere on the textarea, where "fieldname" is the name of the field from where you want the image to be pulled, and "n" is the number that represents the position of that image on that field.

---

You may also consider using Hanna code to the same as this module. I explained how here:
https://processwire.com/talk/topic/1182-module-image-tags/?p=40015

README

To activate the Image Tags on a text area field, go to the DETAILS tab on this field EDIT page, and choose it from the Text Formatters options.

To add an image, place {fieldname:n} anywhere on the textarea, where "fieldname" is the name of the field from where you want the image to be pulled, and "n" is the number that represents the position of that image on that field.

---

You may also consider using Hanna code to the same as this module. I explained how here:
https://processwire.com/talk/topic/1182-module-image-tags/?p=40015

Comments

No comments yet. Be the first to post!

Post a Comment

Your e-mail is kept confidential and not included with your comment. Website is optional.