Upload this ZIP to /home/aepyqgpu/public_html/tools and extract, replacing passport-photo-maker.php. Keep your backup. Requires PHP 7.4+, GD enabled, and existing tools/vendor/autoload.php with FPDF for A4 PDF output. After installing, test crop, rotate, flip, background options, custom size, JPG and A4 PDF.