mirror of
				https://github.com/flynx/ImageGrid.git
				synced 2025-10-31 19:30:07 +00:00 
			
		
		
		
	added %(..)b to exporting + some tweaking...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
		
							parent
							
								
									6869baef54
								
							
						
					
					
						commit
						bc91949196
					
				| @ -299,6 +299,7 @@ function filterImagesDialog(){ | ||||
| 	cfg['Flipped'] = {select: [ | ||||
| 		'', | ||||
| 		'no', | ||||
| 		'any', | ||||
| 		'vertical', | ||||
| 		'horizontal' | ||||
| 	]} | ||||
| @ -377,6 +378,8 @@ function filterImagesDialog(){ | ||||
| 				} else if(/^Flipped/.test(field) && res[field].trim() != ''){ | ||||
| 					if(res[field] == 'no'){ | ||||
| 						filter['flipped'] = 'undefined|null' | ||||
| 					if(res[field] == 'any'){ | ||||
| 						filter['flipped'] = '.*' | ||||
| 					} else { | ||||
| 						filter['flipped'] = res[field] | ||||
| 					} | ||||
|  | ||||
| @ -750,6 +750,8 @@ function exportImageTo(gid, path, im_name, size){ | ||||
| 	dest = dest.replace('%e', '.'+src.split('.').pop()) | ||||
| 	// marked status...
 | ||||
| 	dest = dest.replace(/%\(([^)]*)\)m/, MARKED.indexOf(gid) >= 0 ? '$1' : '') | ||||
| 	// bookmarked status...
 | ||||
| 	dest = dest.replace(/%\(([^)]*)\)b/, BOOKMARKS.indexOf(gid) >= 0 ? '$1' : '') | ||||
| 	// gid...
 | ||||
| 	dest = dest.replace('%gid', gid) | ||||
| 	dest = dest.replace('%g', gid.slice(34)) | ||||
|  | ||||
							
								
								
									
										2
									
								
								ui/ui.js
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								ui/ui.js
									
									
									
									
									
								
							| @ -1111,6 +1111,7 @@ function exportPreviewsDialog(state, dfl){ | ||||
| 				'%n - filename\n'+ | ||||
| 				'%e - extension (with leading dot)\n'+ | ||||
| 				'%(abc)m - if marked insert "abc"\n'+ | ||||
| 				'%(abc)b - if bookmarked insert "abc"\n'+ | ||||
| 				'%gid - log gid\n'+ | ||||
| 				'%g - short gid\n'+ | ||||
| 				'%I - global order\n'+ | ||||
| @ -1123,6 +1124,7 @@ function exportPreviewsDialog(state, dfl){ | ||||
| 				'%n - filename\n'+ | ||||
| 				'%e - extension (with leading dot)\n'+ | ||||
| 				'%(abc)m - if marked insert "abc"\n'+ | ||||
| 				'%(abc)b - if bookmarked insert "abc"\n'+ | ||||
| 				'%gid - log gid\n'+ | ||||
| 				'%g - short gid\n'+ | ||||
| 				'\n'+ | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user