Pyrano‐ and pyrylium mono‐8[4(1)] and/or 5(6)‐[2(4)]methine cyanine dyes (6a–k, 7a–f) were synthesized based on acyclic heterocyclic Schiff bases of pyrolo[3,2‐d]pyrazole[oxazole(imidazol‐6‐one)]‐1‐ium iodide salts, 5‐acetyl‐N‐aryl[pyrazolinyl(pyridinyl)]pyrolo‐[5,4‐d]pyrazolin‐iodide salts, and/or (anhydro bases) precursors (1a–i, 2a–I, 3a–i, 4a–i, and 5A,Ba–i). The structure of pyrylium‐9‐chloride and/or iodide and their pyrano(pyrylium)‐mono‐8[4(1)] and 5(6)[2(4)]methine cyanine dyes was identified by elemental and spectral data. The absorption spectra of some selected dyes were investigated in 95% EtOH, polar (nonpolar) organic solvents and in universal buffer solutions to investigate the optimal conditions for the application of such dyes as photosensitizers.