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:

  • print $image['width'] . "px";"> print $image['path'] " rel=" print $image['rel']; ">Only local images are allowed. print $image['width'];" height=" print $image['height'];" alt=" print $image['alt'];" src=" print $image['thumb_path'];" />
  • 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

    Comments

    Sigal’s picture

    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

  • tag saying: width= and the width of the picture, since each thumb I have has different width.
  • lizbethalml’s picture

    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?

    ntg’s picture

    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! :)

    lizbethalml’s picture

    yang_yi_cn’s picture

    Status: Active » Closed (won't fix)