| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | --- | 
					
						
							|  |  |  | title: Imagefield Import Archive | 
					
						
							| 
									
										
										
										
											2020-03-08 14:32:13 +00:00
										 |  |  | date: 2011-05-23 | 
					
						
							| 
									
										
										
										
											2018-12-31 12:13:05 +00:00
										 |  |  | excerpt: I've finally uploaded my first module onto Drupal.org! | 
					
						
							| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | tags: | 
					
						
							| 
									
										
										
										
											2015-06-14 03:27:41 +01:00
										 |  |  |   - drupal-planet | 
					
						
							|  |  |  |   - imagefield-import | 
					
						
							| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | --- | 
					
						
							| 
									
										
										
										
											2020-03-08 17:52:59 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | I've finally uploaded my first module onto Drupal.org! | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-08 17:52:59 +00:00
										 |  |  | I've written many custom modules, although the vast majority of them are either | 
					
						
							|  |  |  | small tweaks for my own sites, or company/site-specific modules that wouldn't be | 
					
						
							|  |  |  | good to anyone else, so there would be nothing achieved by contributing them | 
					
						
							|  |  |  | back to the community. Previously, I've blogged about the | 
					
						
							|  |  |  | [Imagefield Import](http://drupal.org/project/imagefield_import) module - a | 
					
						
							|  |  |  | module that I use on a number of sites, both personal and for clients - and what | 
					
						
							|  |  |  | I've looked for lately is for a way to speed up the process again. Gathering my | 
					
						
							|  |  |  | images together and manually copying them into the import directory takes time - | 
					
						
							|  |  |  | especially if I'm working somewhere with a slow Internet connection and I'm | 
					
						
							|  |  |  | FTP-ing the images into the directory. Also, it's not always the easiest | 
					
						
							|  |  |  | solution for site users - especially non-technical ones. | 
					
						
							| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-08 17:52:59 +00:00
										 |  |  | So, I wrote the Imagefield Import Archive module. Including comments, the module | 
					
						
							|  |  |  | contains 123 lines, and builds upon the existing functionality of the Imagefield | 
					
						
							|  |  |  | Import module by adding the ability for the user to upload a .zip archive of | 
					
						
							|  |  |  | images. The archive is then moved into the specified import directory and | 
					
						
							|  |  |  | unzipped before being deleted, and the user is directed straight to the standard | 
					
						
							|  |  |  | Imagefield Import page where their images are waiting to be imported, just as | 
					
						
							|  |  |  | usual. | 
					
						
							| 
									
										
										
										
											2015-03-16 21:18:03 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2020-03-08 17:52:59 +00:00
										 |  |  | The module is currently a | 
					
						
							|  |  |  | [sandbox project](http://drupal.org/sandbox/opdavies/1165110) on Drupal.org, | 
					
						
							|  |  |  | although I have applied for full project access so that I can be added as a | 
					
						
							|  |  |  | fully-fledged downloadable module. |