MagicToolBox forum
May 17, 2012, 12:49:23 am *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Welcome to the Magic Toolbox forum!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: Thumbnails' height changes the full image container's height  (Read 1185 times)
phoenix3D
Newbie
*
Posts: 2


View Profile
« on: March 12, 2010, 03:58:32 pm »

Hi,

I'm currently testing the slideshow before buying it but i'm stuck with a problem that is quite strange.
I'm putting a few images as thumbnails. Everything works fine until I put the height attribute on one of the thumbnails.
I find it really strange that the thumbnails' height is being used as the supposedly larger image height !

I took a look at the code and I saw that the height attribute is being used in the style attribute of the DIV with the "MagicSlideshow" class, but also on the "MagicSlideshowThumbnailsContainer" classed DIV (that I can undertand) and on the "MagicSlideshowImagesContainer" DIV, which is very strange.
I think that the height attribute is used in places it shouldn't be used in.
Could you take a look at this ?

Thanks.
Logged
Alex
MagicToolBox Team
Hero Member
*****
Posts: 633



View Profile WWW
« Reply #1 on: March 15, 2010, 03:55:29 pm »

Hi phoenix3D,

Could you please give us a link to your page with the Maigc Slideshow, so we can look at your issue?

Thanks,

Alex
Logged
oleksiy
Administrator
Hero Member
*****
Posts: 1886


MagicToolBox CEO


View Profile
« Reply #2 on: March 16, 2010, 03:32:59 am »

We confirm this usage of width/height in the Slideshow code, however could you tell us what you would like to achieve? So that we would know what to change Smiley
Logged
phoenix3D
Newbie
*
Posts: 2


View Profile
« Reply #3 on: March 17, 2010, 12:36:11 pm »

It's not online but if you confirm this usage, I think you know what I mean.
I don't want to achieve something really weird, I just want to put a height attribute on my thumbnails but I don't want that height to be used as my full picture's height.
The thumbnail is supposed to be smaller than the real picture, not the same size...
Logged
Alex
MagicToolBox Team
Hero Member
*****
Posts: 633



View Profile WWW
« Reply #4 on: March 18, 2010, 10:30:11 am »

Hi phoenix3D,

If you are using the large images for thumbnails like this

   
Code:
    <div class="MagicSlideshow">
        <img src="img/image-1.jpg" />
        <img src="img/image-2.jpg" />
        <img src="img/image-3.jpg" />
    </div

you just need to explicitly define the container-size and enable thumbnails instead of set a height attribute, e.g.

   
Code:
    <script type="text/javascript">
        MagicSlideshow.options = {
            'thumbnails': 'outside',
            'container-size': 80
        }
    </script>

Hope this helps!

Alex
Logged
Pages: [1]
  Print  
 
Jump to:  

MagicZoom™ | Magic Zoom Plus™ | Magic Scroll™ | Magic 360™ | Magic Slideshow™ | Magic Touch™ | Magic Thumb™ | Magic Magnify Plus™
Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC