Answers.Body: <p>A better way to tackle something like this would be to use a matrix instead of just a rich text area.</p>
  
  <p>With a matrix you can have an image block and then in your template you can pull any info you want from the images custom fields.</p>
  
  <p>We normally have at least three block types with a normal matrix, text, image, and gallery.</p>
  
  <p>Text is just a refactor text block.  Image is an image with a "position" field to control alignment (float left/right/center) the a gallery block which lets you select a series of images which display in a slideshow</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-10T16:15:38.570Z
Answers.Text: Thanks Keith. This is definitely a good option and one I've considered. However, in this case images are quite rare and the articles are really really long. I would prefer to keep it simple, so that they can just copy paste the whole article then go back and insert an image or two, but still include the image caption and or photo credit.
Answers.UserDisplayName: Douglas McDonald
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2014-11-10T04:30:06.950Z
Answers.LastActivityDate: 2014-11-10T04:30:06.950Z
Answers.UserDisplayName: Keith Mancuso
Body: <p>Does anyone know if there is a way to extend redactor to render a template, for example, when inserting an image so that it could also display custom asset fields (i.e. caption, photo credit, etc.) in a small html block? I have no idea how difficult or easy it is write redactor plugins.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2014-12-22T21:51:48.167Z
Comments.Text: This is a use case I'm looking to address with [ImageSmith](http://michaelrog.com/craft/imagesmith)'s bulk transform capabilities. Shoot me a note if you'd like to get on the best test list.
Comments.UserDisplayName: Michael Rog
Tags: <redactor><plugin-redactorstyles>
Title: Is there a way integrate redactor with your assets fields?
ThreadText: # Is there a way integrate redactor with your assets fields?
  
  (Asked by: username_0 on 2014-11-04)
  
  Does anyone know if there is a way to extend redactor to render a template, for example, when inserting an image so that it could also display custom asset fields (i.e. caption, photo credit, etc.) in a small html block? I have no idea how difficult or easy it is write redactor plugins.
  
  **Tags:** redactor, plugin-redactorstyles
  
  > **Comments:**
  > **username_1**: This is a use case I'm looking to address with [ImageSmith](http://username_1.com/craft/imagesmith)'s bulk transform capabilities. Shoot me a note if you'd like to get on the best test list.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2014-11-10. Score: 2
  
  A better way to tackle something like this would be to use a matrix instead of just a rich text area.
  
  With a matrix you can have an image block and then in your template you can pull any info you want from the images custom fields.
  
  We normally have at least three block types with a normal matrix, text, image, and gallery.
  
  Text is just a refactor text block. Image is an image with a "position" field to control alignment (float left/right/center) the a gallery block which lets you select a series of images which display in a slideshow
  
  > **Comments:**
  > **username_0**: Thanks username_2. This is definitely a good option and one I've considered. However, in this case images are quite rare and the articles are really really long. I would prefer to keep it simple, so that they can just copy paste the whole article then go back and insert an image or two, but still include the image caption and or photo credit.  
  
  ---
  
  