Skip to main content

Create Image Thumbnails using CSS3 Slider with photos in Blogger

Image galleries / sliders especially useful for photoblogs, it helps you manage and slideshows for users. There are many ways to make the image slider, and in this article, we will create just by CSS3.
image-gallery-for-blogger
Step 1: Log in to your Blogger Dashboard and to Template> Edit HTML
css-dropdown-menu-in-blogger-01
Step 2: Press Ctrl + F and search for the keywords </ head> .
Step 3 : Right on the tag </ head> css insert the following:
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
<style type='text/css'>
.image-container {
position: relative;
width: 640px;
height: 530px;
margin: 0 auto;
text-align:center;
overflow: hidden;
}
.image-container a {
display: inline;
text-decoration: none;
}
/* Mini-thumbnails style */
.mini-thumbnail {
width: 18%; /* mini-thumbnails width */
margin:1px;
opacity: 1;
-webkit-box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
box-shadow: 0px 0px 3px rgba(0,0,0,0.5);
}
/* Style for the main thumbnail */
.large-thumbnail {
position: absolute;
width: 100%;
top: 800px;
margin:0 auto;
text-align: center;
display: block;
-webkit-transition: top 1s ease;
-moz-transition: top 1s ease;
-o-transition: top 1s ease;
-ms-transition: top 1s ease;
transition: top 1s ease;
}
.feature {
top: 110px;
width: 100%;
opacity: .3;
}
/* style for the selected mini-thumbnail */
a:hover .mini-thumbnail {
opacity: .5;
-webkit-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
-moz-box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
box-shadow: 0px 0px 10px rgba(0,0,0,0.5);
}
/* transition effects for the selected image */
a:hover .large-thumbnail {
top: 110px;
width: 100%;
z-index:3;
opacity: 1;
-webkit-transition: top 1s ease;
-moz-transition: top 1s ease;
-o-transition: top 1s ease;
-ms-transition: top 1s ease;
transition: top 1s ease;
}
</style>
In this article, I to slider size is height (530px) and width (640px) , to change the size as you like, you simply replace the two values is done.
Step 4: Click Save template to save the changes.
Step 5: In the Layout and then click the Add a Gadget , finished and select HTML / JavaScript , then you insert the following html frames inside:
01
02
03
04
05
06
07
08
09
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<div class="image-container">
<a href="javascript:void(0);">
<img class="mini-thumbnail" src="MINI-THUMB-URL1" />
<img class="large-thumbnail" src="LARGE-THUMB-URL1" />
</a>
<a href="javascript:void(0);">
<img class="mini-thumbnail" src="MINI-THUMB-URL2" />
<img class="large-thumbnail" src="LARGE-THUMB-URL2" />
</a>
<a href="javascript:void(0);">
<img class="mini-thumbnail" src="MINI-THUMB-URL3" />
<img class="large-thumbnail" src="LARGE-THUMB-URL3" />
</a>
<a href="javascript:void(0);">
<img class="mini-thumbnail" src="MINI-THUMB-URL4" />
<img class="large-thumbnail" src="LARGE-THUMB-URL4" />
</a>
<a href="javascript:void(0);">
<img class="mini-thumbnail" src="MINI-THUMB-URL5" />
<img class="large-thumbnail" src="LARGE-THUMB-URL5" />
</a>
<a href="javascript:void(0);">
<img class="large-thumbnail feature" src="LARGE-THUMB-URL1" />
</a>
</div>
In this article I used an empty link (javascript: void (0);) and you can replace it with the link that you want to. At the same time you should also change the value MINI-THUMB-URL is the path thumbnail (small photo) and LARGE-THUMB-URL is the path to the big picture.
Finally save the widget / gadget or published post / page is finished.

Comments

Popular posts from this blog

ABSOLUTE TIPS FOR YOUR HEALTH FOR BEST RESULTS

1)  start   a few   sort of  systematic  bodily   exercising .  Do  you see  it as a waste of time  but  as a  treasured   funding . The time you spend  will be   provided   typically   inside the   destiny   due to  your  better   health .  everyday   exercising   gives : -  higher   satisfactory  of  lifestyles -  better   productivity  /  better   performance  /  finest  achievements -  protection  from  persistent , degenerative  illnesses - Operational independence  through the years . 2)  enhance  your  consuming   behavior ,  because  we  honestly  are what we  eat . limit   dangerous   habits . Minimise: - Sugar, white flour and their derivatives - Trans...

HOW TO LOSE WEIGHT 11 REASONS WHY YOU CAN NOT LOSE KILOS

HOW TO COMPUTER MAINTENANCE OF CALORIES WEIGHT YOUR   Usually the very overpriced so take pounds instead of losing.  4.  sleep a little  so to have high levels of the hormones  ghrelin  and  cortisol  .  Both increase the feeling of hunger and contribute in making kg.  5.   discomfort from stress  so again there is increasing cortisol and other stress hormones that increase appetite. 6. Perhaps you have  hypothyroidism  and disturbed metabolism.  7. You can not control the  emotional eating  .  In other words, instead of nourish your body trying to nourish your feelings.  EMOTIONAL EATING: HOW CONTROLLED?  8. If you are taking  several drugs  such as antihistamines or steroids such as prednisolone may be difficult to control your weight.  9. If  you do not eat breakfast  then it is generally more difficult to lose kila.To same happens when more calor...

BODY SHAPE WHY CAN NOT lose WEIGHT

BODY SHAPE  WHY CAN NOT lose WEIGHT Part 1  The most common reasons why you can not lose weight are: You do not really sense how many calories you consume .  The understated brutally.  Eat much larger portions than those eligible under your plan   Eat snacks that do not catch the eye, but they add a lot of calories  Do not know the calorie content of many foods . You can not imagine eg that a cookie can have 200 calories, so eat a dozen because what soul have VRE brother little biscuits?  Consume a lot of liquids  that you may not realize how many calories they give you, so they do not count their actual contribution. And of course, liquid calories do not give the feeling of satiety!  Examples Are : -antipsykotika  -milk shakes  -smoothies  -Juices  -Milk cocoa  -athlitika drinks  -alkooloucha drinks  - fancy coffees that can exceed 600 Cal / g...