Skip to content
Extraits de code Groupes Projets
Valider a886b8dd rédigé par danielvincent's avatar danielvincent
Parcourir les fichiers

made photos for album previews 200x200, small thumbnails now at 50x50

parent 1d515e7b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -16,7 +16,7 @@ class ImageUploader < CarrierWave::Uploader::Base ...@@ -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 ...@@ -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 { ...@@ -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 ...@@ -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
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter