def get_all_images(session, cloud_name, page, per_page, return_type=None,
    **kwargs):
    """
    Returns all build images found in cloud

    :type session: zadarapy.session.Session
    :param session: A valid zadarapy.session.Session object.  Required.

    :type cloud_name: str
    :param cloud_name: Cloud Name: i.e: zadaraqa9

    :type page: int
    :param page: The page number to start from.

    :type per_page: int
    :param per_page: The total number of records to return.

    :type return_type: str
    :param return_type: If this is set to the string 'json', this function
        will return a JSON string.  Otherwise, it will return a Python
        dictionary.  Optional (will return a Python dictionary by default).

    :rtype: dict, str
    :returns: A dictionary or JSON data set as a string depending on
        return_type parameter.
    """
    path = '/api/clouds/{cloud_name}/images'.format(cloud_name=cloud_name)
    parameters = {'page': page, 'per_page': per_page}
    return session.get_api(path=path, parameters=parameters, return_type=
        return_type, **kwargs)
