Closed (fixed)
Project:
Views Slideshow
Version:
6.x-2.0-beta2
Component:
User interface
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2009 at 12:41 UTC
Updated:
30 Mar 2010 at 04:40 UTC
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?
| Comment | File | Size | Author |
|---|---|---|---|
| pager2.png | 293 bytes | enjoy777 | |
| pager.png | 872 bytes | enjoy777 |
Comments
Comment #1
redndahead commentedI'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.
Comment #2
pelicani commentedYour 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.
Comment #3
pelicani commentedso, 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.
Comment #4
redndahead commentedWith 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.
Comment #5
light9 commentedPager 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.
Comment #6
pelicani commentedRE: 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 '
';
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.'),
);
Comment #7
redndahead commentedFeel free to follow up the image cache feature with this issue #617680: Add Image Cache Preset to Thumbnail Pager