public function JuiceboxGalleryDecorator::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.
Overrides JuiceboxGalleryInterface::removeImage
File
- includes/
JuiceboxGalleryDecorator.inc, line 73 - Base decorator class for a Juicebox Gallery.
Class
- JuiceboxGalleryDecorator
- Base decorator class for a Juicebox Gallery.
Code
public function removeImage($id) {
return $this->gallery
->removeImage($id);
}