2016-12-31 22:27:40 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								< div  class = " image-picker "  image - picker = " { { $name } } "  data - default - image = " { {   $defaultImage  }} "  data - resize - height = " { {   $resizeHeight  }} "  data - resize - width = " { {   $resizeWidth  }} "  data - current - id = " { {   $currentId  or '' }} "  data - resize - crop = " { {   $resizeCrop  or '' }} " >  
						 
					
						
							
								
									
										
										
										
											2016-12-24 23:21:19 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < img  @ if ( $currentImage  &&  $currentImage  !==  'none' )  src = " { { $currentImage } } "  @ else  src = " { { $defaultImage } } "  @ endif   class = " { { $imageClass } } @if( $currentImage === 'none') none @endif "  alt = " { {  trans('components.image_preview') }} " > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    </ div > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2016-12-31 22:27:40 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < button  class = " button "  type = " button "  data - action = " show-image-manager " > {{  trans ( 'components.image_select_image' )  }} </ button > 
							 
						 
					
						
							
								
									
										
										
										
											2016-12-24 23:21:19 +08:00 
										
									 
								 
							 
							
								
							 
							
								 
							
							
								    < br > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    < button  class = " text-button "  data - action = " reset-image "  type = " button " > {{  trans ( 'common.reset' )  }} </ button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    @ if  ( $showRemove ) 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < span  class = " sep " >|</ span > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								        < button  class = " text-button neg "  data - action = " remove-image "  type = " button " > {{  trans ( 'common.remove' )  }} </ button > 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								    @ endif 
							 
						 
					
						
							
								
							 
							
								
							 
							
								 
							
							
								
							 
						 
					
						
							
								
									
										
										
										
											2017-07-12 16:14:37 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								    < input  type = " hidden "  name = " { { $name } } "  id = " { { $name } } "  value = " { {  isset( $currentId ) && ( $currentId  !== 0 &&  $currentId  !== false) ?  $currentId  :  $currentImage }} " > 
							 
						 
					
						
							
								
									
										
										
										
											2017-12-07 01:32:29 +08:00 
										
									 
								 
							 
							
								
									
										 
								
							 
							
								 
							
							
								</ div >