Posted by BlueIrisNina on November 7, 2009 at 2:52am
Jump to:
| Project: | Image |
| Version: | 6.x-1.0-beta3 |
| Component: | image_gallery |
| Category: | bug report |
| Priority: | normal |
| Assigned: | BlueIrisNina |
| Status: | closed (fixed) |
Issue Summary
I searched this forum and found a thread from over a year ago about this but I am having the same problem with the most recent release. I went throught he troubleshooting tips and all seems to be set up right. Thickbox works for the 6 images per page.
I have created a gallery with views, custom pagers, thickbox and image gallery. The images per page is stuck at 6. I have the views for the gallery set to 25.
I am using Drupal 6.
What do I need to do to fix this?
Thanks,
Nina
Comments
#1
Try the troubleshooting steps in the manual.
Not sure what thickbox has to do with it -- do you mean the page is simply showing 6 images instead of 25?
#2
Hi Joachim,
I spent another day on this and have just now got it working. Thanks for answering. I undid and deactivated the views for image galleries and saw that on the "plain" (non-views) image-gallery it was set at 6. I changed this and then I reactivated the views and the views then kicked in and I was able to edit now in views. For some reason it was not letting me do this without deactivating and reactivating them first.
Thickbox is working just fine.
Thanks again,
Nina
#3
modules/image/contrib/image_gallery/image.gallery.pages.inc, changing the 6 in line 59 in beta4 "fixed" this for me:
$result = pager_query(db_rewrite_sql($query), variable_get('image_images_per_page', 6), 0, db_rewrite_sql($count_query), $args);
#4
Why on earth don't you just go set the image_images_per_page variable in the UI?
#5
Where in the UI is it?
Note that I have Views on my site, and tried to set it through that; but wasn't really interested in disabling views (it runs a big chunk of the site outside of the gallery) to reveal the setting on the non-views image_gallery settings page.
#6
If you disable the image_gallery view the settings are available at admin/settings/image/image_gallery