Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    N2C
    N2C is offline
    New Coder
    Join Date
    Mar 2013
    Posts
    11
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Individual link for Photo Gallery Photos

    Is there a way to create Individual links to individual photos in a Photo gallery??

    Most JQuery galleries have many Thumbs & Photos on a webpage (in the html) - however, I don't know how to create a link to a single photo in the gallery. I can link to each photo (www.example/jpg2) - but that opens the image on separate page without any website info in the browser page.

    I want to open my gallery webpage with the photo of "CHOICE" being displayed from a link, Is this possible??

    I have noted photo sharing websites (like Flickr) have a unique webpage for each member's photos.... I assume it's not possible unless you create a page for each photo - the photos to be used will only fit one to page due to size.

    Can anyone help?

    Thank You

  • #2
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    This should be possible with most galleries. Assuming you want different links to the gallery with different images displayed initially, then here's an approach:

    Pass the required image identifier as a query string: 'gallery.htm?id=3' or whatever.

    Then, if you're using a server side langauge e.g. PHP, test for and read the value of the photo, and use that to display the required image.

    Or, you could grab the querystring directly in javascript and set the image using javascript.

    The exact method will depend on how your gallery works and how the html on your page is constructed at load.
    Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
    Read Steve Krug's book Don't Make Me Think - essential reading on web usability
    I don't recommend much, but I do recommend Clook for UK web hosting

  • Users who have thanked SB65 for this post:

    N2C (03-03-2013)

  • #3
    N2C
    N2C is offline
    New Coder
    Join Date
    Mar 2013
    Posts
    11
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Can you send me in the right direction...

    Able to work with HTML & CSS. Next on the list to review/ learn are PHP & JS. Are there any websites that you are aware of that can get me started in learning either of the concepts you mentioned to help with my project?

    Thanks
    N2C

    Given a goal to achieve, the motivation to learn is greater...
    Last edited by N2C; 03-03-2013 at 02:59 PM.

  • #4
    Senior Coder
    Join Date
    Feb 2009
    Location
    Ilkley, West Yorkshire, UK
    Posts
    2,956
    Thanks
    9
    Thanked 727 Times in 721 Posts
    For PHP have a look here and specifically here for accessing data sent as a POST or GET.

    That same site has some javascript tutorials as well. For jQuery the jQuery site itself has some useful stuff.
    Use the W3C HTML Validator and CSS Validator to check your code and Firebug to see what css is applied to an element
    Read Steve Krug's book Don't Make Me Think - essential reading on web usability
    I don't recommend much, but I do recommend Clook for UK web hosting


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •