def images_path(instance, filename):
    """
    Returns path where free parking place images will be stored.
    """
    parking_name = instance.owning_parking.name
    if not parking_name:
        parking_name = '.'
    return 'parking_places/{0}/{1}'.format(parking_name.replace(' ', '_'), filename)