Low fat foods for people with gallstones, plenty of fibre, fruit, vegetables = a good healthy low fat mixed diet.
Kidney stones you need to talk to your doctor. It depends which type of stones you have...
Uric Acid Stones
People at risk for uric acid stones should reduce their intake of foods that contain purines. This include beer and other alcoholic beverages, anchovies, sardines, yeast, organ meats (e.g., liver, kidneys), legumes (e.g., dried beans, peas, and soybeans), mushrooms, spinach, asparagus, cauliflower, and poultry.
People with calcium oxalate stones should not avoid oxalate-rich foods unless the physician specifically recommends a restrictive diet. Most of the foods that contain oxalates are very important for good health.
High oxalate... chocolate, cocoa, dried figs, ground pepper, lamb, lime peel, nuts, parsley, poppy seeds, purslane, rhubarb, sorrel, spinach, and Swiss chard.
Moderate amount of oxalate...beans (green and wax), blackberries, blueberries, carrots, celery, coffee (roasted), concord grapes, currants, dandelion greens, endive, gooseberries, lemon peel, okra, green onions, oranges, green peppers, black raspberries, strawberries, and sweet potatoes.
The most important dietary recommendations for reducing the risk for calcium stones are increasing fluid intake, restricting sodium, and reducing protein intake.
A lower risk for calcium stones is also associated with higher potassium intake.
A high calcium diet does not appear to increase the risk for kidney stones as long as it also contains plenty of fluids and dietary potassium and phosphate. (Increasing calcium alone may pose a modest risk for stones.)
Do you see why it's important to talk to your docor about your diet? Perhaps a dietitian as well.