We present a microscopic approach for giant dipole resonance (GDR) where the linear response by the nuclear density to the dipole radiation is represented through the single-particle wavefunctions calculated with a triaxial Woods-Saxon potential. We follow a microscopic-macroscopic approach to estimate the nuclear deformation with the same potential. We explain the recent experimental data for even-even nuclei 144-152Nd and 152Sm and present a comparison with the macroscopic approach for GDR. We highlight the cases where the results from the microscopic approach are sensitive to the change in single-particle configuration despite no change in shape and mass but with a change of two protons in a mid-shell region. We also present the fine structure analysis of the GDR cross-section using the continuous wavelet transform (CWT) framework and elucidate the origin of such fine structures.