Closed (won't fix)
Project:
Marinelli
Version:
6.x-1.8
Component:
Miscellaneous
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
2 Jul 2008 at 23:47 UTC
Updated:
17 Jul 2016 at 00:36 UTC
Jump to comment: Most recent
Comments
Comment #1
btalon commentedsubscribe
Comment #2
Lioz commentedlooking at your code i see inline declaration for list items
this fixes item height hiding the text below
are you sure this code comes form image module?
adding inline style elements is not a good thing...
however try to delete the height delacaration and see what happens
Comment #3
XGI-Wrath commentedThanks Lioz...
This site is new and I haven't customized any of the themes' or modules' code yet. I'll look around and see where the inline style is coming from. I too ams surprised to see it there. Thanks for the guidance, I'll post my findings.
-=w=-
Comment #4
XGI-Wrath commentedFound the following in image_gallery.module:
Commented out the following:
$content .= " style='height : {$height}px; width : {$width}px;'>\n";Resulting in the following:
The galleries are no longer cluttered, but there is only one column of thumbnails. I was expecting more of a grid with multiple rows and columns, but with the font so large, it would be difficult. You've given a great start and I'm going to look at this some more. Thanks again for your help, it is at least usable now! :-)
-=w=-
Comment #5
metals83 commented@Wrath-BRIG It's an old post but thought it would be useful. You don't alter the module, these changes won't stay if you upgrade the module. So better approach is to copy the function theme_image_gallery_img to theme template,php file (if you don't have one create it !) rename the function to function phptemplate_image_gallery_img() and make all the changes that you want to. Remember to clear the cache at admin->settings->performance before you see the changes
Cheers
S
Comment #6
oadaeh commentedThis issue is being closed because it is against a branch for a version of Drupal that is no longer supported.
If you feel that this issue is still valid, feel free to re-open and update it (and any possible patch) to work with the 7.x-4.x branch.
Thank you.