I have a site that uses the Album mod and I want to change the width of thumbnails. How can I do this?
I can't seem to figure out how to do it via the templates. I am using the default template.
Thanks
Thumbnail width with Album mod
-
- New Member
- Posts: 5
- Joined: Thu Aug 30, 2007 12:36 am
Re: Thumbnail width with Album mod
I think images uploaded via the modules get thumbnails automatically created at a fixed width, 100px I think. If you upload (ftp) images and thumbnails yourself then I guess you can set the width of thumbnails to anything you like since you are creating them.
Width and/or sometimes height of what you see is in the CSS not in the templates? Templates for structure / CSS for presentation.
Part of the default Album CSS is given below.
Width and/or sometimes height of what you see is in the CSS not in the templates? Templates for structure / CSS for presentation.
Part of the default Album CSS is given below.
Code: Select all
/* Album and Picture Lists */
.thumb
{
padding:0;
[b] width:150px;[/b]
margin:0 0.5em 0.5em 0;
/* Thumbnail spacing */
text-decoration:none;
line-height:normal;
list-style-type:none;
text-align:center;
float:left;
}
.thumb a
{
display:block;
[b] height:72px; [/b]
/* Set link formatting*/
width:100px;
/* Thumb width*/
/* Thumb height*/
padding:10px;
/* Thumb padding to form thumb frame */
/* You can set the above to 0px = no frame - but no hover indication!*/
margin:0;
background-color:white;
/*Background of thumb */
border-top:1px solid #eee;
/* Borders of thumb frame */
border-right:2px solid #ccc;
border-bottom:2px solid #ccc;
border-left:1px solid #eee;
text-decoration:none;
}
Re: Thumbnail width with Album mod
I'm curious... isn't there a way how to change the default size of thumbnails? Is it hard-coded?
Re: Thumbnail width with Album mod
See Larger Thumbnails for Album thread
http://forum.cmsmadesimple.org/index.ph ... 844.0.html
http://forum.cmsmadesimple.org/index.ph ... 844.0.html