The soluble polyimide (PI)–silver nanocomposite (PISN) 6a containing chalcone moieties as a photosensitive group was synthesized successfully by a convenient ultraviolet irradiation technique. A precursor such as AgNO3 was used as the source of the silver particles. PI 6 was synthesized by the one-step synthesis of PI from polycondensation reaction of 4,4′-diamino chalcone 4 with pyromellitic anhydride 5 in the presence of iso-quinoline solution. The resulting composite film was characterized by Fourier transform infrared spectroscopy, X-ray diffraction, scanning electron microscopy, thermogravimetry analysis, and differential scanning calorimetry.