alt
- Ensured `alt` parameter is only appended when non-empty. - Added debug logging for constructed URLs.