hello

thanks for greate module.
I would like to ask about more pager styles. I addded some examples to this issue and you can see what I mean.
There should be more option to put pager in the block area not only top, bottom, but right/left/center also.

Second question about pager is it possible to put some parameteres to change hight and with of thumbnails pager?

CommentFileSizeAuthor
pager2.png293 bytesenjoy777
pager.png872 bytesenjoy777

Comments

redndahead’s picture

I'm willing to accept any patches for other pager styles.

As far as adjusting the height and width you can set this using css to whatever size you want. Hopefully in the future we will be able to utilize imagecache to create the thumbnails.

pelicani’s picture

Your hope is my need ; )
I'm planning to jump in and start figuring out a solution.
However, it may not be something you would want to commit.
Do you have a idea of how you WANT to integrate Image Cache?
I'm willing to put in a little extra if you could reuse the solution.

pelicani’s picture

so, my quick solution was to replace the image cache used in the primary image with a thumbnail image.
myThumb.replace('HP_Feature','HP_Feature_Thumb');
could we add an option in the view to select a specific image cache field to replace the main one?
I'm game if you like this solution.

redndahead’s picture

With new fields support in the dev version creating thumbnails using thumbnailhover might better accomplish what you are looking for. You can then just make sure you choose an imagecache for the image field.

light9’s picture

Pager with some fields data will be nice, for dates and node names for example.

Aaron, thank you for this amazing module. No doubt this is the best sliding content solution for drupal.

pelicani’s picture

RE: image cache and thumbnails
I plan to come back to this and make a patch, if anyone finds this useful.

I altered the js again to grab a setting field from the .inc file. (views_slideshow_singleframe.views_slideshow.inc)

myThumb = $(slide).find('img').attr('src');
if (settings.image_cache) {
myImageCache = settings.image_cache;
myThumb = myThumb.replace(myImageCache.replace("thumbnail","feature"),myImageCache);
}
return '

Only local images are allowed.

';

Here is a new setting field, I'd need to put into .dev (I'm still running beta2)
Could also use a check for the module.
the field displays a select list of all image cache presets.

$presets = array();
foreach(imagecache_presets() as $key => $data) {
$presets[$data['presetname']] = $data['presetname'];
}
$form['singleframe']['image_cache'] = array(
'#type' => 'select',
'#title' => t('Image Cache Image'),
'#options' => $presets,
'#default_value' => (isset($view->options['singleframe']['image_cache'])) ? $view->options['singleframe']['image_cache'] : 0,
'#description' => t('Pick which image cache preset to use for the pager image.'),
);

redndahead’s picture

Status: Active » Fixed

Feel free to follow up the image cache feature with this issue #617680: Add Image Cache Preset to Thumbnail Pager

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.