made photos for album previews 200x200, small thumbnails now at 50x50
This commit is contained in:
parent
1d515e7b7e
commit
a886b8ddbc
3 changed files with 13 additions and 6 deletions
|
|
@ -16,7 +16,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
|||
end
|
||||
|
||||
version :thumb_small do
|
||||
process :resize_to_fill => [30,30]
|
||||
process :resize_to_fill => [50,50]
|
||||
end
|
||||
|
||||
version :thumb_medium do
|
||||
|
|
@ -24,7 +24,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
|||
end
|
||||
|
||||
version :thumb_large do
|
||||
process :resize_to_fill => [300,300]
|
||||
process :resize_to_fill => [200,200]
|
||||
end
|
||||
|
||||
version :scaled_full do
|
||||
|
|
|
|||
|
|
@ -379,9 +379,12 @@ label {
|
|||
/* cycle it! */
|
||||
.album {
|
||||
position: relative;
|
||||
height: 300px;
|
||||
width: 300px;
|
||||
height: 200px;
|
||||
width: 200px;
|
||||
display: inline-block; }
|
||||
.album img {
|
||||
width: 200px;
|
||||
height: 200px; }
|
||||
.album .name {
|
||||
position: absolute;
|
||||
z-index: 6;
|
||||
|
|
|
|||
|
|
@ -478,10 +478,14 @@ label
|
|||
/* cycle it! */
|
||||
.album
|
||||
:position relative
|
||||
:height 300px
|
||||
:width 300px
|
||||
:height 200px
|
||||
:width 200px
|
||||
:display inline-block
|
||||
|
||||
img
|
||||
:width 200px
|
||||
:height 200px
|
||||
|
||||
.name
|
||||
:position absolute
|
||||
:z-index 6
|
||||
|
|
|
|||
Loading…
Reference in a new issue