Skip to content

WebTool

WebTool is a local static gallery manager. It maintains image URL data and exports gallery JSON that Unity can import.

WebTool manages complete gallery entries:

FieldPurpose
idEntry identifier
urlImage direct link
orientationLandscape / Portrait classification
tagsTags
noteNote
metadataImage probe result

Unity Bake only reads url and orientation. Other fields are used by WebTool.

WebTool supports three data entry points:

EntryContent
Import JSONReads existing gallery JSON
Import URL TXTReads a text file with one URL per line
Bulk URL ImportPastes multiple lines of URLs

Default Orientation is used as the initial orientation during batch import.

The table provides entry-level editing:

ItemContent
URLImage address
OrientationLandscape / Portrait classification
TagsTag text
NoteNote text
MetadataProbe status and size information

Add Blank Entry is used to create an empty entry.

ControlEffect
SearchSearches URL, ID, tags, and notes
OrientationFilters by Landscape / Portrait
MetadataFilters by probe status
Page SizeSets the number of items shown per page

Top statistics show total count, Landscape count, Portrait count, invalid URL count, selected count, and Metadata OK count.

OperationResult
Select PageSelects the current page
Select FilteredSelects the current filtered result
Clear SelectionClears selection
Set Selected LandscapeMarks selected entries as Landscape
Set Selected PortraitMarks selected entries as Portrait
Generate IDsGenerates IDs from URL filenames
Remove Duplicate URLsDeletes duplicate URLs
Delete SelectedDeletes selected entries
Add Tag To SelectedAdds a tag to selected entries
Remove Tag From SelectedRemoves a tag from selected entries

Probe Image Sizes makes the browser load images and read width and height.

After probing succeeds, metadata records size and status. When Apply Detected Orientation is enabled, the tool writes orientation based on width and height: width>=height Landscape height>width Portrait

Probe Scope controls the probe range:

ScopeContent
SelectedSelected entries
FilteredCurrent filtered result
Missing MetadataEntries missing metadata
AllAll entries

Image probe results are cached in browser IndexedDB, with image URL as the cache key.

Normal probes do not read images again when they hit cache. Force Refresh ignores cache and probes again.

Export Unity JSON outputs the gallery config file used by Unity.

The exported JSON can be re-imported by WebTool, or handed to RemotePhotoManager to execute Import JSON Into Gallery.