Subject: Media Gallery "Capture Time" Only shows years 1998 to 2009?

Posted on: 08/04/11 07:00pm
By: StingRay327

How do I fix the year range for the "Capture Time" when I go to edit or upload a picture?

Thanks!

Re: Media Gallery "Capture Time" Only shows years 1998 to 2009?

Posted on: 08/04/11 07:23pm
By: StingRay327

I found the fix. It was in the "Mediamanage.php" file in this line of code:

PHP Formatted Code
$year_select = '<select name="media_year">';
    for ($i = 2009; $i < 2020; $i++) {
            $year_select .= '<option value="' . $i . '"' . ($media_time_year == $i ? "SELECTED" : "") . '>' . $i . '</option>';


If there was a different place I should of done this let me know!

Thanks

Re: Media Gallery "Capture Time" Only shows years 1998 to 2009?

Posted on: 09/04/11 07:49am
By: ::Ben

Yes it is a bug in the old mediagallery plugin. See here

You can try to upgrade to mediagallery wkz. See Media Gallery WKZ 1.6.11 and Media Browser 1.0.0

Ben

Geeklog - Forum
https://www.geeklog.net/forum/viewtopic.php?showtopic=92529