G
G
Gibbzy2011-06-17 09:24:58
Lightbox
Gibbzy, 2011-06-17 09:24:58

Lightbox analogue

I have pictures that need to be enlarged.
Images are built like this:

[img src="..." width="..." height=".."]

When using lightBox, the structure should be like this:
[a href="..."][img src ="..." width="..." height="..."][/a]
The link to the big image is taken from the href of the link, but I need it to be taken from the src of the image itself.

Please tell me an analogue of a lightbox that can do this. Or maybe the lightbox can be configured this way?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Arthur Koch, 2011-06-17
@dudeonthehorse

I like highslide.com/gallery library better.
And in your case: either I cannot understand what you are trying to convey, or you yourself do not understand what you are trying to say. Links to images are not taken from anywhere, you yourself indicate where they should be taken from. Do you want to refuse small previews? Just specify the path in src and href in the same way.

P
ProstoDesign, 2011-06-17
@ProstoDesign

colorpowered.com/colorbox/ - this will help.

A
Alexander, 2011-06-17
@Alexx_ps

Do you understand how long the page will take to load if you upload a gallery of large photos there and simply reduce their parameters width="..." height=".."?
And think about how you will hate mobile users with GPRS for 5r.\mb. - your page will gobble up fifty kopecks from them right away.

D
dimsemenov, 2014-01-19
@dimsemenov

Take a look - dimsemenov.com/plugins/magnific-popup

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question