You are here

public function JuiceboxGalleryInterface::removeImage in Juicebox HTML5 Responsive Image Galleries 7.2

Remove an image from the gallery.

Parameters

int $id: The id of an existing image that was already added to the gallery. This id should match the index for the image as returned by getImages().

Return value

boolean Returns TRUE on successful removal and FALSE on failure.

2 methods override JuiceboxGalleryInterface::removeImage()
JuiceboxGallery::removeImage in includes/JuiceboxGallery.inc
Remove an image from the gallery.
JuiceboxGalleryDecorator::removeImage in includes/JuiceboxGalleryDecorator.inc
Remove an image from the gallery.

File

includes/JuiceboxGalleryInterface.inc, line 126
Interface definition for a Juicebox gallery.

Class

JuiceboxGalleryInterface
Interface definition for a Juicebox gallery.

Code

public function removeImage($id);