Some bugs and a feature request
promes - March 12, 2009 - 11:59
| Project: | Flash gallery |
| Version: | 5.x-1.2 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Description
Recently I installed FG and found the following bugs and solutions:
1. in function theme_flash_gallery: the call to "_image_get_dimensions" has been changed into "image_get_sizes"
2. in function flash_gallery_is_jpg: the test on the extension should be: if (($info['extension'] == 'jpg') || ($info['extension'] == 'JPG'))
3. in function flash_gallery_image_url: if you have the private download enabled, no picture is shown. After removing the call to "file_create_url" it works allways.
I also have a feature request:
Now every visitor can see the gallery. I need the option to set more permissions: I like to restrict the view to certain roles only.
