Duplicate Detection Guide¶
Quick Reference¶
Feature: Prevent uploading the same gallery twice Detection Methods: Path matching, name matching, queue checking Use Case: Organize and manage gallery uploads without accidental duplicates
What is Duplicate Detection?¶
Duplicate detection helps you avoid uploading the same gallery multiple times. BBDrop automatically detects two types of duplicates:
- Previously Uploaded - Galleries you've already uploaded
- Already in Queue - Galleries currently waiting to upload in the queue
When detected, BBDrop shows friendly dialogs allowing you to decide what to do.
How Detection Works¶
Previously Uploaded Galleries¶
BBDrop checks if a gallery folder has been uploaded before by looking for special marker files:
.imxgalleryid- Stores the gallery ID from the image host.imxmetadata- Stores upload metadata and timestamp- Other host-specific files in the gallery folder
Detection Accuracy: - Matches on folder path (primary method) - Matches on folder name (secondary) - Works even if images have been modified since upload - Reliable indicator that upload was successful
Already in Queue¶
BBDrop checks if the folder path is already in your current upload queue:
- Exact path matching
- Works across all tabs
- Prevents duplicate processing
Limitations¶
The current version uses path and name matching. True content hash comparison (MD5 checksum) is not yet implemented, so:
- Renamed folders may not be detected as duplicates
- Copied galleries with different paths won't be flagged
- Modified images in same folder won't prevent re-upload
Detection Settings¶
Duplicate detection is enabled by default and cannot be disabled. This is intentional to prevent accidental re-uploads.
What you can control:
- User prompts - You're always asked before action is taken
- Selection - Choose which duplicates to upload
- Batch operations - Select all or none with buttons
User Options When Duplicates Detected¶
When BBDrop finds duplicates, you'll see a dialog with options:
Previously Uploaded Dialog¶
2 galleries were uploaded previously
These folders have existing gallery files, indicating they
were uploaded before. Select which ones you want to upload again:
[x] Summer Vacation
/home/user/photos/vacation
Found: .imxgalleryid, .imxmetadata
[x] Birthday Party
/home/user/photos/birthday
Found: .imxgalleryid
[Select All] [Select None] [No, Skip All] [Yes, Upload Selected]
Your Options:
- Yes, Upload Selected - Re-upload checked galleries
- Use when: Gallery was updated with new images
- Use when: Previous upload failed (has .imxgalleryid but no images on host)
-
Creates new gallery ID on the image host
-
No, Skip All - Skip all previously uploaded galleries
- Use when: You don't want to re-upload anything
- Closes dialog and moves on to next items
Queue Duplicates Dialog¶
1 item already in queue
These folders are already in your upload queue.
Select which ones you want to replace:
[ ] Summer Vacation (Queue)
/home/user/photos/vacation
Current status: uploading
[Select All] [Select None] [No, Keep Existing] [Yes, Replace Selected]
Your Options:
- Yes, Replace Selected - Remove from queue and re-add as new entry
- Clears existing progress
- Resets retry count
-
Starts upload from scratch
-
No, Keep Existing - Keep the original queue entry
- Current upload continues unchanged
- Skips the re-added gallery
Re-uploading Galleries¶
When to Re-upload¶
You might want to re-upload a previously uploaded gallery:
- Add new images - Gallery folder has additional images
- Fix failed upload - Previous upload didn't complete properly
- Update BBCode - Gallery already exists but with different metadata
- Different host - Upload same gallery to a different file host
How to Force Re-upload¶
When the previously uploaded dialog appears:
- Check the galleries you want to re-upload
- Click "Yes, Upload Selected"
- BBDrop creates a new gallery ID on the image host
- Both old and new galleries exist separately
Important: This creates a NEW gallery on the image host. The old gallery is not modified or replaced.
Updating an Existing Gallery¶
If you want to modify an existing gallery (not create a new one):
- Edit the images in your folder
- Delete the
.imxgalleryidfile from the folder - Add the folder to BBDrop again
- Gallery will be treated as new
Troubleshooting¶
False Positives - "Previously Uploaded" Wrongly Detected¶
Problem: A folder shows as "previously uploaded" but it's a fresh gallery
Causes:
- Another folder with same name was uploaded before
- Folder was copied from a previously uploaded gallery
- .imxgalleryid file somehow got into the folder
Solutions:
-
Check for marker files
# Windows dir /a "C:\path\to\gallery" | findstr ".imx" # Linux ls -la /path/to/gallery | grep "^\.imx" -
Remove old metadata
- Delete
.imxgalleryidand.imxmetadatafiles - Right-click folder -> Properties (Windows) or show hidden files (Linux)
-
Confirm deletion
-
Re-add the gallery
- Drag folder back into BBDrop
- Should now be treated as new upload
False Negatives - Duplicate Not Detected¶
Problem: Same gallery added twice but no duplicate warning
Causes: - Folder was copied to new location with different path - Gallery folder was renamed since previous upload - No marker files from previous upload
Current Limitations: - Path-based detection only (not content hash) - Won't catch renamed or moved copies
Workaround: - Manually check queue before adding - Use consistent folder names for same galleries - Check "Already in Queue" dialog carefully
Clearing Duplicate Markers¶
Problem: Want to force a gallery to be treated as new
Steps:
- Locate the gallery folder
- Show hidden files (if not already visible):
- Windows: View -> Hidden items
-
Linux: Press Ctrl+H in file manager
-
Find and delete these files:
.imxgalleryid.imxmetadata-
Any other
.imx*files -
Close folder window and re-add to BBDrop
-
Gallery will now be treated as new upload
Best Practices¶
Organization Tips¶
- Keep folder names consistent
- Use same name for same gallery across sessions
-
Helps with duplicate detection accuracy
-
Don't rename uploaded folders
- If you rename, BBDrop won't recognize as duplicate
-
Rename after confirming upload completed
-
Use tabs for organization
- "Completed" tab for finished uploads
- "Queue" tab for pending uploads
- Reduces chance of accidental re-adds
Duplicate Detection Workflow¶
Recommended process:
- Add gallery folders to queue
- BBDrop shows duplicate dialogs if needed
- Review detected duplicates
- Click "Yes, Upload Selected" or "No, Skip All"
- Confirm uploads in queue
- Start uploads when ready
For batch operations:
- Prepare all folders
- Add them all at once (drag multiple folders)
- Handle all duplicate dialogs together
- Start single batch upload
See Also¶
- Gallery Management - How to organize galleries
- GUI Guide - Complete interface walkthrough
- Multi-Host Upload - Upload to multiple hosts
- Features Reference - Full feature list