I am using variables to insert images into a shape, but the images are coming through cropped. I chose the fill option, but it still happened when I chose the as is option
What you mean by "cropped"? Can you post screenshot of Variables dialogue where variable is defined.
Depending on image dimensions you may see entire image or only fraction of your image when As Is is chosen for fitting option. Do you understand what each of fitting option is doing? There are and some other important options as explained below.
Beside option to choose fitting method there are option to set Alignment and Clip to Bounding Box. Do you understand what those options are doing to placed image?
Alignment: when center is set that is instructing Photoshop to align center of image to center of rectangle with variable assigned. When top left is set that is instructing Photoshop to align top left of the image to top left of rectangle.....
Clip to Bounding Box is instructing Photoshop to delete pixels outside of rectangle or shape with assigned variable, that will effectively crop pixels sometimes what depend on method and image dimensions.
With Fill set as Method you can move image and reposition it after exporting or applying data set(s). Do not forget and Alignment options which can help sometimes.