hi,Gordon
Thank you help me!
I tried css,but don't went.
output page code display:
<ul> <li> <ul> <li> ........ </li> <li> ........ </li> </ul> </li> </ul>
you see :
includes/theme.inc ----->function theme_item_list()
function theme_item_list($items = array(), $title = NULL, $type = 'ul') { $output = '<div class="item-list">'; if (isset($title)) { $output .= '<h3>'. $title .'</h3>'; }
if (!empty($items)) { $output .= "<$type>"; foreach ($items as $item) { $output .= '<li>'. $item .'</li>'; // have a li } $output .= "</$type>"; } $output .= '</div>'; return $output; }
Thanks ! jooomla
Message: 1 Date: Sat, 16 Sep 2006 16:13:27 +1000 From: Gordon Heydon gordon@heydon.com.au Subject: Re: [support] Display thumbnail with 2 column To: support@drupal.org Message-ID: 450B9607.5030009@heydon.com.au Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
This is quite easy, You don't even need to change the HTML.
basically all you need to do is create a list view with the image in it, and then float the images to the left and the image beneath will float up.
I also used the image exact module which creates square thumbnails which means everything is uniform.
Here is the css that I used.
#block-views-random_gallery li, .view-personal_gallery li { float: left; height: 214px; width: 169px; padding-right: 9px; }
Gordon.
If you want to see this in action goto http://visualarts.net.au/gallery in the next day or so you will see the results. This is being opened to the public in the next day or so.
jooomla wrote:
hi,all
I use Views module and Image module to create a image_node term page , default 1 column display, please tell me:
How do 2 column display?
Example:display_thumbnail_2.jpg
Thanks ! jooomla
!DSPAM:1000,450aeb2c222605696618876!
-- [ Drupal support list | http://list.drupal.org/ ]
End of support Digest, Vol 45, Issue 21
Hi,
My method works on a completely standard list view. There is not changing of the themes.
The only change that you will need to do to the css to change the identifiers. I have this random gallery running in a block, where as you may have it running in the main content area. You will need to adjust the first line accordingly.
The other thing you may need to do it change set the div that wraps around this to be a fixed width so that you only get 2 columns.
I actually have this in 2 places where the first is the random gallery which is 2 columns, and in the personal gallery which is 3 columns.
I took a look at the example that you submitted, and it would just require a little css so that the spacing is correct.
Gordon.
jooomla wrote:
hi,Gordon
Thank you help me!
I tried css,but don't went.
output page code display:
<ul> <li> <ul> <li> ........ </li> <li> ........ </li> </ul> </li> </ul>
you see :
includes/theme.inc ----->function theme_item_list()
function theme_item_list($items = array(), $title = NULL, $type = 'ul') { $output = '<div class="item-list">'; if (isset($title)) { $output .= '<h3>'. $title .'</h3>'; }
if (!empty($items)) { $output .= "<$type>"; foreach ($items as $item) { $output .= '<li>'. $item .'</li>'; // have a li } $output .= "</$type>"; } $output .= '</div>'; return $output; }
Thanks ! jooomla
Message: 1 Date: Sat, 16 Sep 2006 16:13:27 +1000 From: Gordon Heydon gordon@heydon.com.au Subject: Re: [support] Display thumbnail with 2 column To: support@drupal.org Message-ID: 450B9607.5030009@heydon.com.au Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Hi,
This is quite easy, You don't even need to change the HTML.
basically all you need to do is create a list view with the image in it, and then float the images to the left and the image beneath will float up.
I also used the image exact module which creates square thumbnails which means everything is uniform.
Here is the css that I used.
#block-views-random_gallery li, .view-personal_gallery li { float: left; height: 214px; width: 169px; padding-right: 9px; }
Gordon.
If you want to see this in action goto http://visualarts.net.au/gallery in the next day or so you will see the results. This is being opened to the public in the next day or so.
jooomla wrote:
hi,all
I use Views module and Image module to create a image_node term page , default 1 column display, please tell me:
How do 2 column display?
Example:display_thumbnail_2.jpg
Thanks ! jooomla
!DSPAM:1000,450aeb2c222605696618876!
-- [ Drupal support list | http://list.drupal.org/ ]
End of support Digest, Vol 45, Issue 21