Conversion of .jpg files into DICOM in MRI images

I have three different folders containing .jpg images of three different views of a shoulder MRI (axial, coronal, sagittal). How can I convert them into DICOM format? Additionally, if I upload the sequences as they are, 3D Slicer treats all the folders as axial views and does not differentiate them. How can I change this? How can I upload everything as a single volume?

If you only have jpg then you will have trouble working in 3D. You’ll need to figure out the geometry that has already been thrown away by the conversion. You should really get original dicom images that contain the scan parameters needed to reconstruct.