1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

html gallery

Discussion in 'HTML & Website Design' started by Haki88, Aug 19, 2013.

  1. #1
    Can someone tell me how or paste link how to make html gallery?

    I just want add 20 images (small size) and when visitor click image it opens in original size?
     
    Haki88, Aug 19, 2013 IP
  2. GMF

    GMF Well-Known Member

    Messages:
    855
    Likes Received:
    113
    Best Answers:
    19
    Trophy Points:
    145
    #2
    Just do it like this

    
    <a href="link/to/big/image.jpg"><img src="link/to/small/image.jpg" alt="small image" height="xxx" width="xxx"></a>
    
    HTML:
    You have to create the small images yourself. And don't scale them within your browser with height and width.
     
    GMF, Aug 19, 2013 IP
  3. Haki88

    Haki88 Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #3
    thx, 1 more question please, is it possible to be opened on page? When i upload image it goes directly to that link. Can it be like lightbox or anything just to open inside my page?
     
    Haki88, Aug 19, 2013 IP
  4. rajku

    rajku Member

    Messages:
    37
    Likes Received:
    3
    Best Answers:
    1
    Trophy Points:
    33
    #4
    Yes, for that you need javascript, you can use this jquery lightbox plugin. leandrovieira.com/projects/jquery/lightbox/ On that page you will see the instructions to integrate the jquery plugin.
     
    rajku, Aug 19, 2013 IP
  5. Haki88

    Haki88 Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #5
    Problem is because am using ip content and am making new page. New page can be only html,only css or only javascript. If this is normal site i would just download some script and upload it to ftp and thats it but when i have only 1 field where i need to tipe code i dont know how to include image,javascript and css.
     
    Haki88, Aug 19, 2013 IP
  6. rubaidigitaldidi

    rubaidigitaldidi Greenhorn

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    Can you explain it with more info? I think I could help you @Haki88
     
    rubaidigitaldidi, Aug 19, 2013 IP
  7. Haki88

    Haki88 Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #7
    I dont know how to set code. I can only do something with codes if i have tutorial, but i found solution but now i have another problem :/
    I found program called VisualLightBox,i made gallery, uploaded files,paste index html and changed paths and it works perfect, but when anyone click on image, they cant save it. I dont mean download link, i mean they cant right click on image and save as. I also need some code to make background white :)

    Link:
    http://cabal2fans.com/sss.html
    Code (markup):
     
    Last edited: Aug 19, 2013
    Haki88, Aug 19, 2013 IP
  8. Haki88

    Haki88 Member

    Messages:
    68
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    43
    #8
    Done! Didnt see i have that option,now its ok.
     
    Haki88, Aug 20, 2013 IP