Add a node that outputs width and height of the size selected from the preset (.csv).
https://github.com/nkchocoai/ComfyUI-SizeFromPresets
git clone https://github.com/nkchocoai/ComfyUI-SizeFromPresets
comfy node install comfyui-sizefrompresets