We apologize for the instability of composr.app and appreciate your patience. We are working on the statistics addon and trying to find an optimal way to store and render data. Unfortunately, we have yet to find a solution that can handle the traffic (and therefore, tens of millions of statistical records) of composr.app. We're working hard on one.
#1428 - Javascript to customise attachment defaults
ATTACHMENT_UI_DEFAULTS.tpl implemented (made possible via changes in JAVASCRIPT_POSTING.tpl).
The default is...
/*
This file is intended for customising the way the attachment UI operates/defaults.
The following variables are defined:
is_image (boolean)
is_video (boolean)
is_audio (boolean)
is_archive (boolean)
ext (the file extension, with no dot)
*/
// Add any defaults into URL
defaults.thumb='1';
defaults.type=''; // =autodetect rendering type
// Shall we show the options overlay?
show_overlay=!is_archive;
Deployed for sponsorer as...
/*
This file is intended for customising the way the attachment UI operates/defaults.
The following variables are defined:
is_image (boolean)
is_video (boolean)
is_audio (boolean)
is_archive (boolean)
ext (the file extension, with no dot)
*/
// Add any defaults into URL
defaults.thumb='0';
defaults.type='';
// Shall we show the options overlay?
show_overlay=false;
The default is...
/*
This file is intended for customising the way the attachment UI operates/defaults.
The following variables are defined:
is_image (boolean)
is_video (boolean)
is_audio (boolean)
is_archive (boolean)
ext (the file extension, with no dot)
*/
// Add any defaults into URL
defaults.thumb='1';
defaults.type=''; // =autodetect rendering type
// Shall we show the options overlay?
show_overlay=!is_archive;
Deployed for sponsorer as...
/*
This file is intended for customising the way the attachment UI operates/defaults.
The following variables are defined:
is_image (boolean)
is_video (boolean)
is_audio (boolean)
is_archive (boolean)
ext (the file extension, with no dot)
*/
// Add any defaults into URL
defaults.thumb='0';
defaults.type='';
// Shall we show the options overlay?
show_overlay=false;
What are the different defaults.type that can be specified ?
Cheers
Ade
Try:
defaults.type='inline';
If it doesn't work right away, I will have another look.