Putting links into lightbox
I have a lightbox on my site. (Put in html code into VSD site) When I click on a thumbnail and one image opens, it doesn't have a specific url (in case someone wanted to share the link to that specific photo). Is there a way to do this?
This would take a little work after you export your project. You would need to edit the code and addin a social media bar.
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Well I don't need it to be shareable through social media, just to have a link that people could copy and paste. The site has been up for some time. It has the basic lightbox coding. What would need to be added to the coding to give each picture its only url?
Just so I understand you correctly, you want a link to that specific picture in the gallery?
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Yes, I want to keep the lightbox, so it shows thumbnails that show a larger image when clicked on. But when you get to this enlarged image, it doesn't have it's own url, so when someone references it, they can't just copy/ paste the link to me.
What you would need to do is add this in manually. Of course when someone sends you the link you won't get the nice lightbox version, you would have to use the absolute path to the image. As an example you would use the path to were your image is located:
www.yourdomain.com/data/images1/yourImage.jpg
you would edit your lightbox code and inlcude a link:
<a href="www.yourdomain.com/data/images1/yourImage.jpg">Image Name</a>
www.yourdomain.com/data/images1/yourImage.jpg
you would edit your lightbox code and inlcude a link:
<a href="www.yourdomain.com/data/images1/yourImage.jpg">Image Name</a>
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Great, that's exactly what I needed! Thank you!
Excellent! Glad it helps.
Taking over the world one website at a time!
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Steve Kolish
www.misterwebguy.com
YouTube Channel:
https://www.youtube.com/channel/UCL8qVv … ttneYaMSJA
Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.