MagicCMS Documentation

MagicUtils..::..getImageList Method (String, Boolean)

Gets the image list from folder.

Namespace:  MagicCMS.Core
Assembly:  MagicCMS.4.5 (in MagicCMS.4.5.dll)

Syntax


public static List<string> getImageList(
	string url,
	bool isPath
)

Parameters

url
Type: String
The URL. (Image path or folder path)
isPath
Type: Boolean
if set to true url is a path otherwise is an image. Default is false

Return Value

List of images urls.