- 
						Forum
			
		
 
					 
			- 
				Index
				
			
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Installations and updates
				
			
 
					 
			- 
				Prevention of duplicate filenames for pictures
				
			
 
		
	
	
	
						Prevention of duplicate filenames for pictures		
	
	
	
		
	
	
	
	
	
		
		
				
		- 
			oorzaak
		
 
							- 
													Topic Author
											
 
		
		
					- 
				Visitor			
 
		
					- 
				
			 
		
			
		 
		
			
	
						12 years 8 months ago				#1207
		by oorzaak
	
	
		
			
			
				Hi,
Our site will depend fully on front-end submission of locations & pictures thereof. This induces the risk of duplicate file names of picture files. I did some testing and I had these results:
- When I upload a picture, GMapFP gives the filename this prefix: '681__'
 
- When I upload the second picture with exactly the same filename, it gets this prefix: '0__' so the first picture is not overwritten.
 
- Each following picture with the same filename gets the same prefix '0__', thus overwriting the second picture.
 
Would it be possible to either extend the range of prefixes or to force the user to change the filename manually when a duplicate name is detected?
Kind regards,
Frits			
 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 1929					
 
				
				
									- 
						Thank you received: 267					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
			
	
						12 years 8 months ago				#1222
		by gmapfp
	
	
		
			
			
				Hi,
When the Pro version uploads a picture, GMapFP adds the id of the user before.
By cons, it isn't right that it overwrites an old picture.
I will make the update.
For a quick response on all the questions of the Pro version, you can send me directly a email.			
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
		- 
			oorzaak
		
 
							- 
													Topic Author
											
 
		
		
					- 
				Visitor			
 
		
					- 
				
			 
		
			
		 
		
			
	
						12 years 8 months ago				#1229
		by oorzaak
	
	
		
			
			
				
gmapfp wrote: When the Pro version uploads a picture, GMapFP adds the id of the user before.
The point is that uploads will almost entirely be made by non-registered users. So we have no user id.
gmapfp wrote: By cons, it isn't right that it overwrites an old picture.
I will make the update.
I do not understand what you mean by this.
Kind regards, Frits
ps. I've just submitted a review in the JED. A positive one, of course  
			 
					 
	 
			Please Log in  or Create an account to join the conversation.
	
		
			 		
													 
	 
	
		
				
	
		Less
		More
		
			
									- 
						Posts: 1929					
 
				
				
									- 
						Thank you received: 267					
 
				
				
				
									- 
											
 
				
									- 
											
 
				
				
									- 
											
 
				
									- 
											
 
				
				
							
		 
	 
		 
		
	 
 
	
		
	
	
	
	
	
	
 
	
		- 
						Forum
			
		
 
					 
			- 
				Index
				
			
 
					 
			- 
				GMapFP
				
			
 
					 
			- 
				Installations and updates
				
			
 
					 
			- 
				Prevention of duplicate filenames for pictures
				
			
 
		
	
	
	
	
		Time to create page: 0.038 seconds