lib/generators/social_stream/documents/templates/initializer.rb in social_stream-documents-1.1.4 vs lib/generators/social_stream/documents/templates/initializer.rb in social_stream-documents-2.0.0.beta1
- old
+ new
@@ -1,26 +1,54 @@
SocialStream::Documents.setup do |config|
# Configure picture thumbnails
#
# config.picture_styles = {
- # :thumb48sq => ["48x48"],
- # :thumbwall => ["130x97#"],
- # # midwall preserves A4 proportion: 210x297
- # :midwall => ["80x113#"],
- # :preview => ["500>"]
+ # :"170x127#" => ["170x127#"],
+ # # this one preserves A4 proportion: 210x297
+ # :"80x113#" => ["80x113#"],
+ # :"500" => ["500>"]
# }
# Configure audio thumbnails
#
- # config.audio_styles = { :webma => {:format => 'webm'} }
+ # config.audio_styles = {
+ # webma: {
+ # format: 'webm',
+ # processors: [ :ffmpeg ]
+ # },
+ # waveform: {
+ # format: :png,
+ # convert_options: {
+ # color: :transparent,
+ # background_color: 'ffffff',
+ # width: 460,
+ # height: 75
+ # },
+ # processors: [ :waveform ]
+ # }
+ # }
# Configure video thumbnails
#
# @@video_styles = {
# :webm => { :format => 'webm' },
# :flv => { :format => 'flv' },
# :mp4 => { :format => 'mp4' },
- # :poster => { :format => 'png', :time => 5 },
- # :thumb48sq => { :geometry => "48x48" , :format => 'png', :time => 5 },
- # :thumbwall => { :geometry => "130x97#", :format => 'png', :time => 5 }
+ # :"170x127#" => { :geometry => "170x127#", :format => 'png', :time => 5 }
+ # }
+
+ # List of mime types that have an icon defined
+ # config.icon_mime_types = {
+ # default: :default,
+ # types: [
+ # :text, :image, :audio, :video
+ # ],
+ # subtypes: [
+ # :txt, :ps, :pdf, :sla,
+ # :odt, :odp, :ods, :doc, :ppt, :xls, :rtf,
+ # :rar, :zip,
+ # :jpeg, :gif, :png, :bmp, :xcf,
+ # :wav, :ogg, :webma, :mpeg,
+ # :flv, :webm, :mp4
+ # ]
# }
end