Results 1 to 4 of 4

Thread: Using highslide to view images

  1. #1
    Join Date
    Mar 2009
    Posts
    1,221

    Using highslide to view images

    I have pictures that are inside the tag <a> </ a>. I can see it is in the input tag that is hidden. When I click on an image I have an event 'onclick' which activates and supports setting the image (but not all, than that are not hidden). Is it possible to take into account the hidden images? I use 'highslide' to a kind of image galleries.

    HTML Code:
    <a href="<?php echo $server.$image ?>" class="highslide" title="" onclick="return hs.expand(this, config1)">
    <?php if ($compt_image == 1) {?>
    <!--<img src="images/figures/one.jpg" />-->
    <input type="hidden" name="one" value="<img src='images/figures/one.jpg'>">
    <?php }else if ($compt_image == 2){?>
    <!--<img src="images/figures/two.jpg" border="none" />-->
    <input type="hidden" name="two" value="<img src='images/figures/two.jpg'>">
    <?php }else if ($compt_image == 3){?>
    <!--<img src="images/figures/three.jpg" border="none" />-->
    <input type="hidden" name="three" value="<img src='images/figures/three.jpg'>">
    <?php }else if ($compt_image == 4){?>
    <!--<img src="images/figures/four.jpg" border="none" />-->
    <input type="hidden" name="four" value="<img src='images/figures/four.jpg'>">
    <?php }else if ($compt_image == 5){?>
    <img src="images/figures/five.jpg" border="none" />
    <?php }else if ($compt_image == 6){?>
    <img src="images/figures/six.jpg" border="none" />
    <?php }else if ($compt_image == 7){?>
    <img src="images/figures/seven.jpg" border="none" />
    <?php }else if ($compt_image == 8){?>
    <img src="images/figures/eight.jpg" border="none" />
    <?php }else if ($compt_image == 9){?>
    <img src="images/figures/nine.jpg" border="none" />
    <?php } ?>
    </a>

  2. #2
    Join Date
    Nov 2008
    Posts
    1,022

    Re: Using highslide to view images

    Its not even how it hide its comments, in addition to nCode is not terrible, for else if it is possible than use a switch, but in addition its architecture is not that good

    Changes the name of your pictures to 1, 2, 3 .....

    and even

    PHP Code:
    <?php   $c 5?>
    <img src="images/figures/<?php echo $c ?>"/>

  3. #3
    Join Date
    Mar 2009
    Posts
    1,221

    Re: Using highslide to view images

    Yeah well thanks of architecture! Yes it is commented out but my tests early! In fact thanks to view an image visible, but I can return multiple images in this or other (return also hide images).

  4. #4
    Join Date
    May 2008
    Posts
    685

    Re: Using highslide to view images

    Use Highslide Editor. The Highslide Editor is a visual tool that lets you configure most of the numerous Highslide options without writing code, and upload the results directly to your web server. This is not only a great help, but also it saves time for professionals who don't have to read through the API documentation to get things done.

Similar Threads

  1. Software to view images in linux
    By Kingfisher in forum Windows Software
    Replies: 5
    Last Post: 11-01-2010, 10:24 AM
  2. Can't view Images in Windows Photo Viewer
    By KALLIYAN in forum Windows Software
    Replies: 4
    Last Post: 09-01-2010, 03:16 AM
  3. Unable to view restored Images
    By Crooked in forum Windows Software
    Replies: 5
    Last Post: 07-01-2010, 03:31 PM
  4. How to view the images on the DVD-R
    By DeMario in forum Technology & Internet
    Replies: 3
    Last Post: 19-11-2009, 05:30 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,713,569,701.12460 seconds with 17 queries