Closed (won't fix)
Project:
Image
Version:
5.x-1.8
Component:
image_gallery
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
22 Apr 2008 at 02:08 UTC
Updated:
16 Jan 2009 at 01:05 UTC
Hello,
I am somewhat new to drupal and I have a simple development question. I am trying to use a hook to the image gallery module. Specifically, I'm trying to add a gallery through php code. When I went through the source code of the module, I saw this:
> function image_gallery_admin_add($edit = array()) {
> if ($_POST['op'] == t('Delete') || $_POST['confirm']) {
> return drupal_get_form('image_gallery_confirm_delete', $edit['tid']);
> }
>
> return drupal_get_form('image_gallery_admin_form', $edit);
> }
I am confused. Where is the "meat" of adding an image gallery? All it seems to do is return a drupal page.
Comments
Comment #1
sunSorry, unfortunately this request is way too specific. Please have a look at the issue queue - Image maintainers are buried already. You might want to try to get further support at http://drupal.org/support. Additionally, the answer to your question might be covered in the handbooks at http://drupal.org/handbook/modules/image already.
If you were able to solve this issue on your own in the meantime, you might want to add the involved steps to this closed issue, so other users searching for a similar solution might find it.