English:
Resolution Picker – quality-of-life extension for Forge Neo
Quickly dial in the perfect resolution without doing aspect-ratio math by hand. Adds a compact control panel right under the Width/Height sliders in txt2img and img2img.
Features
- 📐 Aspect ratio lock – move one slider and the other follows, keeping the ratio exact (e.g. 4:3 stays 4:3). Sizes snap to the grid where both sides are multiples of your step, so there is no rounding drift.
- 🔗 Link mode – both sliders move by the same amount, keeping the difference between them constant.
- One-click ratio presets, split into groups:
- Landscape: 1:1, 5:4, 4:3, 3:2, 16:10, 16:9, 2:1, 21:9, 3:1
- Portrait: 4:5, 3:4, 2:3, 10:16, 9:16, 1:2, 9:21, 1:3
A preset keeps roughly your current pixel count and switches the ratio lock on.
- Live info – current ratio and megapixels, and the matching preset is highlighted.
- Respects the built-in Resolution Step setting, and the slider min/max (up to 4096).
- Works with the built-in swap button (⇅) and picks up resolution changes from PNG Info and other extensions.
## Installation
Copy the sd-webui-resolution-picker folder into extensions/ and fully restart the WebUI.
Pure JavaScript, no extra dependencies, no settings to configure.
The first archive is the English-language version, the second is in Russian.
Created with the help of Claude
=============================================================
Russian:
Resolution Picker – QoL-расширение для Forge Neo
Быстрый подбор разрешения без ручного подсчёта пропорций. Добавляет компактную панель прямо под ползунками Width/Height во вкладках txt2img и img2img.
Возможности
- 📐 Фиксация соотношения сторон – двигаешь один ползунок, второй следует за ним с точным сохранением пропорции (4:3 остаётся 4:3). Размеры привязываются к сетке, где обе стороны кратны выбранному шагу, поэтому пропорция не «плывёт» из-за округления.
- 🔗 Режим связки – оба ползунка двигаются на одинаковую величину, разница между ними сохраняется.
- Пресеты пропорций в один клик, разделены на две группы:
- Горизонтальные: 1:1, 5:4, 4:3, 3:2, 16:10, 16:9, 2:1, 21:9, 3:1
- Вертикальные: 4:5, 3:4, 2:3, 10:16, 9:16, 1:2, 9:21, 1:3
Пресет сохраняет примерно текущее количество пикселей и сразу включает фиксацию пропорции.
- Информация на лету – текущая пропорция и мегапиксели, подсветка подходящего пресета.
- Учитывает встроенную настройку Resolution Step и границы ползунков (до 4096).
- Работает со встроенной кнопкой свапа (⇅) и подхватывает смену разрешения из PNG Info и других расширений.
## Установка
Скопируй папку sd-webui-resolution-picker в extensions/ и полностью перезапусти WebUI.
Чистый JavaScript, без зависимостей, настраивать ничего не нужно.
Первый архив это расширение на английском , второй на русском.
Сделано с помощью Claude
