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
|
end
|
||||||
|
|
||||||
version :thumb_small do
|
version :thumb_small do
|
||||||
process :resize_to_fill => [30,30]
|
process :resize_to_fill => [50,50]
|
||||||
end
|
end
|
||||||
|
|
||||||
version :thumb_medium do
|
version :thumb_medium do
|
||||||
|
|
@ -24,7 +24,7 @@ class ImageUploader < CarrierWave::Uploader::Base
|
||||||
end
|
end
|
||||||
|
|
||||||
version :thumb_large do
|
version :thumb_large do
|
||||||
process :resize_to_fill => [300,300]
|
process :resize_to_fill => [200,200]
|
||||||
end
|
end
|
||||||
|
|
||||||
version :scaled_full do
|
version :scaled_full do
|
||||||
|
|
|
||||||
|
|
@ -379,9 +379,12 @@ label {
|
||||||
/* cycle it! */
|
/* cycle it! */
|
||||||
.album {
|
.album {
|
||||||
position: relative;
|
position: relative;
|
||||||
height: 300px;
|
height: 200px;
|
||||||
width: 300px;
|
width: 200px;
|
||||||
display: inline-block; }
|
display: inline-block; }
|
||||||
|
.album img {
|
||||||
|
width: 200px;
|
||||||
|
height: 200px; }
|
||||||
.album .name {
|
.album .name {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 6;
|
z-index: 6;
|
||||||
|
|
|
||||||
|
|
@ -478,10 +478,14 @@ label
|
||||||
/* cycle it! */
|
/* cycle it! */
|
||||||
.album
|
.album
|
||||||
:position relative
|
:position relative
|
||||||
:height 300px
|
:height 200px
|
||||||
:width 300px
|
:width 200px
|
||||||
:display inline-block
|
:display inline-block
|
||||||
|
|
||||||
|
img
|
||||||
|
:width 200px
|
||||||
|
:height 200px
|
||||||
|
|
||||||
.name
|
.name
|
||||||
:position absolute
|
:position absolute
|
||||||
:z-index 6
|
:z-index 6
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue