--- a/branches/2.5.4/cgi-bin/yabb2/Sources/YaBBC.pm
+++ b/branches/2.5.4/cgi-bin/yabb2/Sources/YaBBC.pm
@@ -13,7 +13,7 @@
 ###############################################################################
 our $VERSION = '2.5.4';
 
-$yabbcpmver = 'YaBB 2.5.4 $Revision: 1061 $';
+$yabbcpmver = 'YaBB 2.5.4 $Revision: 1078 $';
 if ($action eq 'detailedversion') { return 1; }
 
 LoadLanguage('Post');
@@ -317,14 +317,14 @@
 
     my $use_greybox = $img_greybox;
 	if($action eq 'ajxmessage' || $action eq 'ajximmessage' || $action eq 'ajxcal' ) {
-		$parameter{'name'} = qq~class="liveimg" name="post_liveimg_resize"~;
+		$parameter{'name'} = qq~class="liveimg" id="post_liveimg_resize"~;
 		$use_greybox = 0;
 	}
 	elsif ($action eq 'eventcal') {
-		$parameter{'name'} = qq~name="post_img_resize"~;
+		$parameter{'name'} = qq~id="post_img_resize"~;
 	}
 	else {
-		$parameter{'name'} = $type ? qq~name="signat_img_resize"~ : qq~name="post_img_resize"~;
+		$parameter{'name'} = $type ? qq~id="signat_img_resize"~ : qq~id="post_img_resize"~;
 	}
 
     $parameter{'alt'} =~ s/[<>"]/*/gxsm;    #" make my text editor happy;