| 
 рони, спасибо!))) | 
| 
 Есть задумка - присваивать id картинке в ck editore, и если этот айдишник есть то не использовать галерею, сейчас присваиваю айди так, но блин не могу удалить атрибут, если выбрано пустое значение 
{
													id : 'colorBox',
													type : 'select',
													label : editor.lang.common.zoom,
													'default' : '',
													items :
													[
														[ editor.lang.common.notGallery , ''],
														[ editor.lang.common.single , 'cboxElement']
													],
													setup : function( type, element )
													{
														if ( type == IMAGE )
														{
															this.setValue( element.getAttribute( 'id' ) );
														}
													},
													commit : function(type, element) {
														if ( type == IMAGE )
														{
															if ( this.getValue() || this.isChanged() )
																element.setAttribute( 'id', this.getValue() );
															if ( this.getValue() == '')
															{
																element.removeAttribute('id');
															}
														}
													}
												}
 | 
| 
 piraids, Цитата: 
 | 
| 
 Решил проблему следующим образом: в ck editor в ckeditor/plugins/image/dialogs/image.js вставил такой кусочек кода: 
,
						{
							id : 'colorBox',
							type : 'select',
							label : editor.lang.common.zoom,
							'default' : '',
							items :
									[
										[ editor.lang.common.notGallery , ''],
										[ editor.lang.common.single , 'activeCBox']
									],
							setup : function( type, element )
									{
										if ( type == IMAGE )
											{
												var value = this.getValue();
												this.setValue( element.getAttribute( 'class' ) );
											}
									},
							commit : function(type, element) {
									if ( type == IMAGE )
										{
											if ( this.getValue() || this.isChanged() )
												element.setAttribute( 'class', this.getValue() );
										}
									}
						}
а в вызове colorbox'а сделал так: 
<script>
									$(document).ready(function(){
										$('img.activeCBox').click(function() {$(this).colorbox({href: $(this).attr('src')});
										});
									});
						</script>
 | 
| Часовой пояс GMT +3, время: 16:40. |