input: Write a function to scrape photos and captions from a given website and print their details. The function should take a URL as input and use BeautifulSoup to parse the HTML and extract the image sources and captions from specific div elements with class 'image-gallery__image'. If the caption is missing, it should print 'No caption'.
  assert scrape_photos_and_captions('https://example.com/webpage1')
  assert scrape_photos_and_captions('https://example.com/webpage2')
  assert scrape_photos_and_captions('https://example.com/webpage3')
  assert scrape_photos_and_captions('https://example.com/webpage4')
  assert scrape_photos_and_captions('https://example.com/webpage5')
output: def scrape_photos_and_captions(url):
      import requests
      from bs4 import BeautifulSoup
      
      response = requests.get(url)
      soup = BeautifulSoup(response.text, 'html.parser')
      
      for img in soup.find_all('div', class_='image-gallery__image'):
          src = img.find('img')['src']
          caption = img.find('p')
          if caption:
              print(f"Image Source: {src}, Caption: {caption.text}")
          else:
              print(f"Image Source: {src}, Caption: No caption")