Changing sizes of thumbnails - scrolling does not work properly
| Project: | jcarousel block |
| Version: | 6.x-1.6 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Hello,
I wonder if you can help me with my problem.
I need to create the jcarousel-block with thumbs that have different widths and height of 227px.
What I did:
I changed the css to this:
.jcarousel-skin-ie7 .jcarousel-container-horizontal {
width: 720px;
padding: 20px 40px;
}
.jcarousel-skin-ie7 .jcarousel-clip-horizontal {
width: 720px;
height: 229px;
}
.jcarousel-skin-ie7 .jcarousel-item {
height: 227px;
border: 1px solid #fff;
}
.jcarousel-list li,
.jcarousel-item {
float: left;
list-style: none;
/* We set the width/height explicitly. No width/height causes infinite loops. */
width: 345px;
height: 227x;
}
Then, in the jcarousel_block.tpl.php I changed this line (Added the style to the li tag:
<?php
print $image['path']
?>" rel="<?php
print $image['rel'];
?>Now, the thumbs show perfectly, but when I scroll, it skips some thumbs, for example, if I have thumbs: a, b, c, d, e, f First I see a and b, when I scroll to the right, it skips thumb c and displays thumbs d and e.
Can you please help me and tell me what else do I need to change?
Thank you very much,
Sigal

#1
Sorry, I see it didn't put the change I put in the tpl file properly in the post.
What I did is added a style to the
#2
Could you please tell me if you fix this??? I don't need to do all that I just need to show my images in a larger size than the one predefined in the carousel???? please any help?
#3
I tried to change the size of the thumbnail images but I did not manage to do it.
The thumbs have a size of 100x75pixels.
I did changes in the css file but the thumbs' size did not change.
I made some changes in the size of the thumbs in the jcarousel_block_block.tpl.php (made them 120x100px), they appeared in the desired dimensions but they were blurry.
I've not managed to find a solution to that. Does anyone know how to change the dimensions of the thumbs in the jcarousel?
Thanks in advance for your help! :)
#4
Hello! answered found in http://drupal.org/node/326572#comment-1240881