I've installed the module Thumbnail Manager in order to upload custom thumbnails. However, if I move a photo from one album to another the custom thumbnail is no longer attached to the photo.
I did some digging and found that an UPDATE statement is altering relations in the database incorrectly. An example:
Quote:
UPDATE g2_Derivative SET
g_derivativeSourceId=12426,g_derivativeOperations='thumbnail|140' WHERE
g_id=12427
However this SQL is being called procedurally in GalleryStorageExtras.class in the function saveEntity. I really don't want to touch this function just for a special case within Thumbnail Manager.
Is it possible to edit the thumbnail pluggin in a way to cause this SQL ine to not be called? Could someone help me find a fix for this bug?
Thumbnail Manager Version: 1.0.9.1
Gallery version = 2.2.4 core 1.2.0.6
PHP version = 5.2.4 apache2handler
Webserver = Apache/2.2.4 (Win32) mod_ssl/2.2.4 OpenSSL/0.9.8d PHP/5.2.4
Database = mysqlt 4.1.22-community-nt, lock.system=flock
Toolkits = Exif, Gd, Thumbnail
Acceleration = none, none
Operating system = Windows NT CSTEWART 5.1 build 2600
Default theme = matrix
gettext = disabled
Locale = en_US
Browser = Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 2.0.50727; .NET CLR 1.1.4322)
Rows in GalleryAccessMap table = 16
Rows in GalleryAccessSubscriberMap table = 60
Rows in GalleryUser table = 12296
Rows in GalleryItem table = 31
Rows in GalleryAlbumItem table = 7
Rows in GalleryCacheMap table = 0