I got this working with minor modifications after upgrading a 2.0.3 board that had a working gallery in it. I have no idea if this will work in other cases.
Anyways, what I did was this:
follow the instructions in gallery.txt, untill you get to :
Quote:
Find function acceptupload() (Line 1277):
Find (Line 1347):
...
|
Skip the whole part, and Do this instead:
Find function acceptupload():
Find:
PHP Code:
fclose($filenum);
unlink($attachment);
Replace it with:
PHP Code:
fclose($filenum);
//unlink($attachment); //galhack
Find:
PHP Code:
$attachmentid=$DB_site->insert_id();
Replace it with:
PHP Code:
$attachmentid=$DB_site->insert_id();
makeThumb($attachmentid, $attachment_name, $attachment); //galhack
unlink($attachment); //galhack
And then follow further instructions in gallery.txt from CONTROLL PANEL OPTIONS.
That's all folks
"This is all i actually had to do too get it working, as I did a code comparison upgrade..."