MagicCMS Documentation

Miniatura..::..GetGalleryFromPath Method

Gets the gallery from path. Create a list of Miniatura.Pk from the images of a directory.

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

Syntax


public static List<int> GetGalleryFromPath(
	string url,
	int width,
	int height
)

Parameters

url
Type: String
The URL.
width
Type: Int32
The width.
height
Type: Int32
The height.

Return Value

List of miniature pk (unique IDs)