This is excellent module, but i think this module can be better.
May be create for images files opportunity to display image preview and insert Only local images are allowed. or [img ... ] on cursor position by mouse click on image preview?
By the way, mouse click on mime icon non image files (like doc, ods, txt, pdf etc.) insert link to original files.

CommentFileSizeAuthor
#3 snapshot4.jpg23.86 KBbotanik

Comments

botanik’s picture

Sorry, i forgot insert code tags =)
insert <img ... /> or [img ... ]

Or may be create more themeable opportunities .. not only table, custom fields .. for example, i want create vertical block (div with width 50-70px) and add vertical mouse wheel scroll, but i can`t find solution for override this module theme.

skilip’s picture

Hi botanik,

Thanks for your suggestions. I have been thinking about adding a thumbnail to uploaded images too. To make the current list (table) themeable is definitely a no-go at the current phase of the module. It simply is too complex to allow other modules or themes to override it. Think only about the markup which is needed to place the flash swf movie in.

Nonetheless you also have the form element which you can use to create your own view. This is really flexible. In README.txt is a description on how to use this.

I'll keep this issue open to keep this suggestions in mind.

botanik’s picture

StatusFileSize
new23.86 KB

Yes of course, how theme form element I know and look all hooks where find many opportunities. In hook_swfupload i can change $instance in init section .. but i didn`t know how add a new column in table where i can display path to file.

in JS file function "replaceMacros" has only this array "var macros = {'{filename}':file.name, '{fid}':file.fid};" and insert filepath impossible =(

And just one question:
Why if I change in my hook "$instance->elements['description']['default_value'] = 'QQQ';" in browser files descriptions has other text?

PS
My idea is to make simple tool to add images into textarea. IMHO, this module is best solution at this time, but i want that it look like as http://drupal.org/files/issues/snapshot4.jpg, for example.

skilip’s picture

Status: Active » Closed (fixed)

This is added in 6.2