Pass the value in a field into a colorbox popup
Using the Drupal Colorbox module you should be able to accomplish this.

You just need to add the class colorbox-load to your link and then to modify the colorbox settings per link append something like ?width=500&amp;height=500 to the end of the path.

Colorbox Documentation


  Check the "Enable Colorbox load" option in Colorbox settings.
  
  This enables custom links that can open content in a Colorbox. Add the
  class "colorbox-load" to the link and build the url like this
  "[path]?width=500&amp;height=500&amp;iframe=true" or
  "[path]?width=500&amp;height=500" if you don't want an iframe.
  
  If you want to pass the width and height of the Colorbox as a
  percentage (useful for responsive designs), you can format the link
  like this "[path]?width=90%25&amp;height=90%25&amp;iframe=true" or
  "[path]?width=90%25&amp;height=90%25", where the "%25" is the HTML entity
  for "%".
  
  Other modules may activate this for easy Colorbox integration.
  
  Load inline content in a Colorbox
  
  Check the "Enable Colorbox inline" option in Colorbox settings.
  
  This enables custom links that can open inline content in a Colorbox.
  Inline in this context means some part/tag of the current page, e.g. a
  div. Replace "id-of-content" with the id of the tag you want to open.
  
  Add the class "colorbox-inline" to the link and build the url like
  this "?width=500&amp;height=500&amp;inline=true#id-of-content".
  
  It could e.g. look like this.
  
  Link to
  click  What
  ever content you want to display in a Colorbox. 
  Alternatively instead of style="display: none;" you could use
  class="element-hidden".
  
  Other modules may activate this for easy Colorbox integration.