Package DE_EPAGES::ImageGallery::API::ImageGallery
API helper functions for image galleries.
@EXPORT_OK |
Functions
RenameGalleryImageFile
Does a file move operation for the given file name. The file extension and it's directory location remains untouched. Also renames all derivatives of the image file, namely thumbnail, mgt and medium. In addition, update the galleryimage's object attributes with the new filename as well. If another file with the given new name already exists, an error is thrown.
Syntax |
my $hResult = RenameGalleryImageFile ( $ImageGallery, $ImagePath, $RelPathWithMG, $OldFilePath, $OldFileName, $NewFileName, $FileExt ); |
Input |
|
Return |
|