Index: fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js
===================================================================
--- fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js	(revision 4161)
+++ fckeditor/fckeditor/editor/dialog/fck_image/fck_image.js	(working copy)
@@ -191,6 +191,7 @@
 
 		GetE('txtLnkUrl').value		= sLinkUrl ;
 		GetE('cmbLnkTarget').value	= oLink.target ;
+		GetE('cmbLnkRelative').value	= oLink.rel ;
 	}
 
 	UpdatePreview() ;
@@ -264,6 +265,7 @@
 
 		SetAttribute( oLink, '_fcksavedurl', sLnkUrl ) ;
 		SetAttribute( oLink, 'target', GetE('cmbLnkTarget').value ) ;
+		SetAttribute( oLink, 'rel', GetE('cmbLnkRelative').value ) ;
 	}
 
 	return true ;
Index: fckeditor/fckeditor/editor/dialog/fck_image.html
===================================================================
--- fckeditor/fckeditor/editor/dialog/fck_image.html	(revision 4161)
+++ fckeditor/fckeditor/editor/dialog/fck_image.html	(working copy)
@@ -190,6 +190,13 @@
 							<option value="_parent" fcklang="DlgLnkTargetParent">Parent Window (_parent)</option>
 						</select>
 					</div>
+					<div>
+						<span fcklang="DlgLnkRelative">Relative</span><br />
+						<select id="cmbLnkRelative">
+							<option value="" fcklang="DlgGenNotSet" selected="selected">&lt;not set&gt;</option>
+							<option value="lightbox" fcklang="DlgLnkRelativeLightBox">Light Box (lightbox)</option>
+						</select>
+					</div>
 				</td>
 			</tr>
 		</table>
