change to spanish
       Download

The download file comes in ZIP format, in it, an HTML called 'abcshow.html' and a folder 'abcshow_1.02' with all the library files: one javascript 'ABCshow.js', one CSS 'ABCshow.css' and two folders, 'img' (library images) and 'images' (sample photos).

Samples

Single images

ABCshow Image 1 ABCshow Image 2 ABCshow Image 3 ABCshow Image 4

Grouped images in a category

ABCshow Image 5 ABCshow Image 6 ABCshow Image 7 ABCshow Image 8

Single videos Youtube

ABCshow video 1 ABCshow video 2 ABCshow video 3

Grouped videos in a category Youtube

ABCshow video 4 ABCshow video 5 ABCshow video 6

Single videos Vimeo

ABCshow video 1 ABCshow video 2ABCshow video 3 ABCshow video 4

Grouped videos in a category Vimeo

ABCshow video 1 ABCshow video 1ABCshow video 1 ABCshow video 1

How it works?

1Lets get started

1.1 - Include in the header of your document the "ABCshow.js".

<script type="text/javascript" src="abcshow_1.02/ABCshow.js"></script>

1.2 - Include the style sheet "ABCshow.css" (or add the ABCshow styles inbetween the already existant styles).

<link rel="stylesheet" href="abcshow_1.02/ABCshow.css" type="text/css" media="screen" />

1.3 - These images should be located inside the "img" folder, following the specific order shown in 'ABCshow.js' file. These images should be located inside the "img" folder, following the specific order shown in "ABCshow.js" file.

2Activate images

2.1 - Be sure all the links of the images you're willing to include in the gallery contain the attribute rel="abcshow".

<a href="images/image-1.jpg" rel="abcshow" title="Título de la imagen" class="abc"><img src="images/image.jpg" alt="" /></a>

2.2 - If you want these images inside a category or group, add the name of that category between square brackets.

<a href="images/image-1.jpg" rel="abcshow[namegroup]" title="Título de la imagen" class="abc">image #1</a>

2.3 - All the links must include attribute class="abc".

<a href="images/image-1.jpg" rel="abcshow" title="Título de la imagen" class="abc"><img src="images/image.jpg" alt="" /></a>

3Activate videos Youtube

3.1 - The href's link must have the absolute URL of YOUtube's embed, including the video code (We can get this in the 'Add Video' option below every video at Youtube).

<a href="http://www.youtube.com/embed/Lbgbslrf5LU" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://img.youtube.com/vi/Lbgbslrf5LU/1.jpg" /></a>

3.2 - Every link must have the attribute rel="abcvideo[300|200]", specifying video height and width.

<a href="http://www.youtube.com/embed/Lbgbslrf5LU" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://img.youtube.com/vi/Lbgbslrf5LU/1.jpg" /></a>

3.3 - Every link must have the attribute class="abc".

<a href="http://www.youtube.com/embed/Lbgbslrf5LU" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://img.youtube.com/vi/Lbgbslrf5LU/1.jpg" /></a>

3.4 - In order to show a thumbnail (small image), of a video frame, simply add at the image "src" the red colored URL with the correct video code.

<a href="http://www.youtube.com/embed/Lbgbslrf5LU" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://img.youtube.com/vi/Lbgbslrf5LU/1.jpg" /></a>

4Activate videos Vimeo

4.1 - The href's link must have the absolute URL of Vimeo's embed, including the video code.

<a http://player.vimeo.com/video/29193046" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://b.vimeocdn.com/ts/236/084/236084241_100.jpg" /></a>

4.2 - Every link must have the attribute rel="abcvideo[300|200]", specifying video height and width.

<a href="http://player.vimeo.com/video/29193046" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://b.vimeocdn.com/ts/236/084/236084241_100.jpg" /></a>

4.3 - Every link must have the attribute class="abc".

<a href="http://player.vimeo.com/video/29193046" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://b.vimeocdn.com/ts/236/084/236084241_100.jpg" /></a>

4.4 - In order to show a thumbnail (small image), of a video frame, with your video code you should go to Vimeo thumbnail generator and get a size thumbnail (small, medium, large)

<a http://player.vimeo.com/video/29193046" title="Título del video" rel="abcvideo[300|200]" class="abc">
<img src="http://b.vimeocdn.com/ts/236/084/236084241_100.jpg" /></a>

About ABCShow

ABCdisegno

ABCshow its a free to use library created by Ricardo Castillo, ABCdisegno.com CEO (Spanish speaking Design, programming and creativity community), this library allows you to enhance images at first sight, as well as YouTube and Viemo videos. It's ideal for a picture gallery, or to zoom in particular images, like a news related shot. Also allows the same with videos from YouTube; just by knowing the reference code of each video, you can show small captures of it, and place them at first hand with any size you choose!.

The main feature of this library is the lack of need of frameworks for its work, for that, you will only have to include a single one javascript file in page's header. Its other fortress resides in the crossbrowser capacity, working even in older browsers, such as Internet Explorer 5.5 and 6.0

Its also possible to group images and videos in categories, allowing to navigate them with clicks or using keyboard's arrows.

Another of its particular features is having the option to show the loaded thumbs with a fade effect. This is achieved by simply adding the attribute class="abc". at the links.

Now help us to improove this library and add new functionalities for the future, send us your suggestions and donate if you feel so.

FAQ's

What should i do if the library is not working in my website?

First download and inspect the sample provided by us, then try to replicate each step explained HERE.

Why is the image opened in a new window?

First check that you're including the "ABCshow.js" file. If it's added, be sure all the links have the attrib rel="abcshow".

<script type="text/javascript" src="abcshow_1.02/ABCshow.js"></script>

<a href="images/image-1.jpg" rel="abcshow" title="Título de la imagen o video" class="abc">
<img src="images/image.jpg" alt="" /></a>

Why is the video opened in a new window?

First check that you're including the "ABCshow.js" file. If it's added, be sure all the links have the attrib rel="abcvideo[300|200]".

<script type="text/javascript" src="abcshow_1.02/ABCshow.js"></script>

<a href="images/image-1.jpg" rel="abcvideo[300|200]" title="Título de la imagen o video" class="abc">
<img src="images/image.jpg" alt="" /></a>

The script won't work until the entire page is loaded?

The script will work once the 'body' of the page its fully loaded.

The black semi-transparent background color is not covering the whole browser area.

Be sure that you're including the "ABCshow.css" styles sheet at the page's header. This one has to be included above (before) the javascript file.

<link rel="stylesheet" href="abcshow_1.02/ABCshow.css" type="text/css" media="screen" />

Can I delete the fade in from thumbs?

Yes you can, simply remove the attribute class="abc" from the image links that you don't want to show with fade in effect.

Can I add links in the images and videos links?

Yes you can, but you must substitute the special characters of each for their respective entities, here you have an example:

<a href="images/image-4.jpg" rel="lightbox" title="&lt;a href=&quot;link.html&quot;&gt;my link&lt;/a&gt;">
<img src="images/image.jpg" alt="" /></a>

Can I show images and videos from an iFrame?

NO, all the links MUST be in the page's body if you want to see the enhanced effects.

Can I add in the same category Images and Videos?

Not for now, but may be in a near future.

Can I use this library in a commercial proyect?

Yes, this library has CCA 2.5 licence. If you wish, you can make us donation to motivate us in the process of improving this library.

Contact us

Your thoughts are very important for us, don't doubt sending your suggestions. All fields with (*) are mandatory
(*) Name

(*) E-Mail

(*) Comments

Send