Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Image viewer / gallery

Options
  • 27-07-2010 2:42pm
    #1
    Registered Users Posts: 180 ✭✭


    Hi I want to put a simple image viewer or gallery on my website.

    Would rather not use scripting for simplicity.

    I have seen one on this webpage for example : http://eaglesflying.com/index.htm
    (on the right hand side)

    could someone please explain how you construct something like this?


Comments

  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    If you want a simple to implement, yet nice looking solution then I think that "Lightbox" would do the trick.

    http://www.huddletogether.com/projects/lightbox/


  • Closed Accounts Posts: 18,163 ✭✭✭✭Liam Byrne


    Darkphenom wrote: »
    Would rather not use scripting for simplicity.

    If you mean that you don't want to use JavaScript, then you're looking at iFrames or Frames, which is a disaster of a solution which affects SEO and the browser's back button.

    Not only does the example linked to use scripting, it actually uses inline code to trigger it.
    <a onclick="return showImage(this, 'image_placeholder', 'image_description',500,375) " href="/classified/efvisitorandeagle_lg.jpg" title="A visitor admiring a young eagle"><img src="/classified/efvisitorandeagle.jpg" alt="A visitor admiring a young eagle" title="A visitor admiring a young eagle" width="200" height="150" class="userimage" /></a>
    

    What makes you think that a decent gallery can be achieved without scripting ?


  • Registered Users Posts: 234 ✭✭Lostinspace


    Hi OP,

    I'd have a look at http://www.webappers.com/category/components/gallery/. Flip through the 8 pages and you're sure to find something that will appeal to you. A lot of them are free and you can download the source files and then embed into your own site.


  • Registered Users Posts: 180 ✭✭Darkphenom


    eoin wrote: »
    If you want a simple to implement, yet nice looking solution then I think that "Lightbox" would do the trick.

    http://www.huddletogether.com/projects/lightbox/

    I am trying to get this to work the scripts dont seem to be working. I have set everything up but when I click on the images nothing happens.


    EDIT: I realise now that I was missing some of the scripts :O


  • Registered Users Posts: 21,257 ✭✭✭✭Eoin


    Use Firefox with the web developer toolbar. That will show you any JavaScript errors that are occurring, which will be the first place to start. If you're using IE, then check for the yellow icon in the bottom left which indicates a JScript error. Also make sure that the files are in the same folder structure that the page is expecting.


  • Advertisement
  • Registered Users Posts: 180 ✭✭Darkphenom


    Yes, scripts do a good job of viewing images. Thanks Guys!


Advertisement