Comments for flash galleries
ipwa - November 10, 2007 - 17:51
| Project: | Flash gallery |
| Version: | 5.x-1.1 |
| Component: | Code |
| Category: | feature request |
| Priority: | critical |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
This would be a killer feature for this module, and would make it a lot more popular. It would be really cool to be able to have comments for each picture, but if this isn't possible, comments per gallery, would be extremely cool. I really believe this would benefit this module a lot.

#1
Hi, Flash Gallery is a great tool for image-presentation.
Two comments for installation:
The install-instruction are good, but my URL was http://yoursite.com/?q=fgallery not http://yoursite.com/fgallery.
I modified flash_gallery.module to set the display-order = upload-order:
// jzimm - show the first picture in preview
$last = db_fetch_object(db_query_range(db_rewrite_sql('SELECT n.nid FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid WHERE tn.tid IN (%s) AND n.status = 1 ORDER BY n.nid ASC'), implode(',', $descendant_tids), 0, 1));
// $last = db_fetch_object(db_query_range(db_rewrite_sql('SELECT n.nid FROM {node} n INNER JOIN {term_node} tn ON n.nid = tn.nid WHERE tn.tid IN (%s) AND n.status = 1 ORDER BY n.sticky DESC, n.created DESC'), implode(',', $descendant_tids), 0, 1));
// jzimm - display-order = upload-order
$result = db_query(db_rewrite_sql("SELECT n.nid FROM {term_node} t INNER JOIN {node} n ON t.nid=n.nid WHERE n.status=1 AND n.type='image' AND t.tid=%d ORDER BY n.nid ASC"), $tid);
// $result = db_query(db_rewrite_sql("SELECT n.nid FROM {term_node} t INNER JOIN {node} n ON t.nid=n.nid WHERE n.status=1 AND n.type='image' AND t.tid=%d ORDER BY n.sticky DESC, n.created DESC"), $tid);
Regards Jürgen Zimmermann
#2
** Moving Flash Gallery issues to own queue **