Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
VietTH-VenShop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tran Hoang Viet
VietTH-VenShop
Commits
a05be382
Commit
a05be382
authored
Jul 23, 2015
by
Tran Hoang Viet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
VietTH: Fix issue share scocial has not image because image is too small
parent
a5890ab8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
app/uploaders/image_uploader.rb
+3
-3
No files found.
app/uploaders/image_uploader.rb
View file @
a05be382
...
@@ -37,15 +37,15 @@ class ImageUploader < CarrierWave::Uploader::Base
...
@@ -37,15 +37,15 @@ class ImageUploader < CarrierWave::Uploader::Base
# Create different versions of your uploaded files:
# Create different versions of your uploaded files:
version
:large
do
version
:large
do
process
resize_to_fill:
[
110
,
86
]
process
resize_to_fill:
[
330
,
258
]
end
end
version
:medium
do
version
:medium
do
process
resize_to_fill:
[
71
,
38
]
process
resize_to_fill:
[
213
,
114
]
end
end
version
:small
do
version
:small
do
process
resize_to_fill:
[
51
,
32
]
process
resize_to_fill:
[
153
,
96
]
end
end
# Add a white list of extensions which are allowed to be uploaded.
# Add a white list of extensions which are allowed to be uploaded.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment