I am not able to delete any custom thumbnails from albums; when I check the box to delete the thumbnail and submit the form I get this error: "Fatal error: Call to undefined function: getmimetype() in c:\inetpub\wwwroot\gallery2\modules\thumbnail\classes\ThumbnailHelper.class on line 414"
The thumbnail remains intact!
<Please check the G2 FAQ (sticky topic in this forum) before posting!>
----
Gallery2 version: @version $Revision: 1.8 $Date: 2005/01/06 07:07:28
Webserver (with version): IIS 4/5
Datatabase (with version): MySQL 4.1.7
PHP version (eg 4.2.1): 4.3.10
Graphics Toolkit(s): GD
Operating system: winXP professional SP2
Web browser/version: any; IE6 FF1.0
Posts: 383
Another similair bug appeared. For one reason or another the thumbnail of a category has vanished, and I cannot set a new one. The only option I have is to delete it (which is an option provided) But like said that doesn't work!!
Posts: 383
And it now happened again after I moved a sub-album from one album to another.
So at least now you have a way to try to reproduce!!!
edit: it happened again when I deleted a sub-album: the thumbnail for the parent disappeared!!
edit: for no appearant reason the parent album got the same thumb as the child. What's up with this, I have not been doing wierd stuff, just adding new pics the editing the caption with that new bulk-change option. (In which I also found an obvious bug, you'll take that out eventually when you have the time)
Posts: 8601
good catch.. i guess i'll make the album just take the first item to use as its highlight, as we no longer know which item was highlighted before.
please describe the steps to reproduce the 2nd problem.. i can't understand from all your edits above..
Posts: 383
Well, I am not sure this has much to do with the highlight going bad, could be though... Let me try to clear things up:
First off:
I set custom-thumbnails for each album (but leaf-level albums get the highlight).
What I did:
- I moved a sub-album to another parent and its previous parent lost its custom thumbnail. That is, it now displayed "no thumbnail" but I was unable to set a new one because when I "edit album" I get the checkbox "remove custom thumbnail" but no option to set a new one (and removing the current thumbnail doesn't work like explained in my topic start)
- I deleted a sub-album from an album which had a custom-thumbnail and that album lost the thumbnail after the deletion. (reproducable, I just tried it again with test categories)
Posts: 8601
fix for the first one committed to cvs.. i understand the 2nd one now, and i'll take a look tomorrow. glad to know someone is using this feature
Posts: 383
Well, it is either using no thumbnails which displays as a silly link or use the random highlight which is confusing if an album has too many sub-albums. So I think it is a good feature!
Looking forward to the newest cvs with both problems fixed (even though I cannot get a cvs, don't know how to on windows; tried a cvs program, but it didn't work. So I am looking for the nightly snapshots instead :P)
Posts: 8601
ok, 2nd fix committed to cvs.. try tomorrow's nightly.
Posts: 383
So this means I will be able to:
-Delete custom-thumbnails,
-move sub-albums without losing the custom-thumbnail on the parent,
-delete sub-albums without losing the custom thumbnail on the parent?
Thanks!
Edit:
For future reference:
It is indeed fixed, I tested it!