1 class Pettanr.SystemPicture extends Peta.SystemResource
\r
14 @get('id') + '.' + @get('ext')
\r
17 'image/' + @get('ext')
\r
20 '/system_pictures/' + @filename()
\r
23 {src: @r_url(), width: @get('width'), height: @get('height')}
\r
25 tmb_opt_img_tag: () ->
\r
26 new Pettanr.Image.SymbolPicture({
\r
33 symbol_option: (context, options) ->
\r
35 success: (symbol_item) =>
\r
36 options.success.call(context, symbol_item.to_symbol())
\r
39 initialize: (attr = {}, options = {}) ->
\r
40 super(attr, options)
\r