https://www.icyphoenix.com/viewtopic.php?f=32&t=2623&p=50782#p50782 ----------------------------------- Joshua203 Mon 22 Nov, 2010 16:48 Re: [MOD] - OTF Gallery ----------------------------------- hiya, There a small language error in otf_upload.php: [code linenumbers=false] if($file_size > $maxsize) { trigger_error($user->lang['UPLOAD_FAILURE'] . '

' . $user->lang['UPLOAD_FAILURE_TOO_BIG'] . '

' . $user->lang['MAX_ALLOWED_SIZE'] . floor($maxsize / 1024) . 'SIZE_KB'); }[/code] the fix would be to replace the above with: [code linenumbers=false] if($file_size > $maxsize) { trigger_error($user->lang['UPLOAD_FAILURE'] . '

' . $user->lang['UPLOAD_FAILURE_TOO_BIG'] . '

' . $user->lang['MAX_ALLOWED_SIZE'] . floor($maxsize / 1024) . $user->lang['SIZE_KB']); }[/code] ----------------------------------------------- There's also a bug where the file redirects to the page containig this same text, i'm still looking for the reason why and where this goes wrong, this window has the size of the popup but has the normal overall header included, making it bigger than the window it is shown in) ------------------------------------------------ also in otf_copyright.html the flep.com link is dead... it should be flepstudio.org ------------------------------------------------ finally ... i think the version number is not updated ...in otf_config.php it says 1.5.0 where i think it should say 1.5.1 No hurry and unimportant but i just thought i should mention it before i forget :wink: Greetings, ..Joshua103