I've found and edited in some additional file sizes for images, since I needed 50k and 500k as an additional option.
It's to be found in the /window/index.js and /window/index.html files.
But I sadly can't get the edited and repacked XPI to be installed in Firefox.
Any ideas/possibility on how to add the following lines in the original developer's code here and republish it to Mozilla's Addons-site? Would be greatly appreciated.
Also, on the wishlist would be to be able to sort for file size ascending/descending. That'd be great, too :)
Thanks,
Olli
Index.js: Line 46:
Hi.
I've found and edited in some additional file sizes for images, since I needed 50k and 500k as an additional option.
It's to be found in the /window/index.js and /window/index.html files.
But I sadly can't get the edited and repacked XPI to be installed in Firefox.
Any ideas/possibility on how to add the following lines in the original developer's code here and republish it to Mozilla's Addons-site? Would be greatly appreciated.
Also, on the wishlist would be to be able to sort for file size ascending/descending. That'd be great, too :)
Index.html: beginning with Line 83: < li data-cmd="size-40k">Size (>40K)< / li> < li data-cmd="size-100k">Size (>100K)< / li> < li data-cmd="size-500k">Size (>500K)< / li>`
Hi.
I've found and edited in some additional file sizes for images, since I needed 50k and 500k as an additional option. It's to be found in the /window/index.js and /window/index.html files. But I sadly can't get the edited and repacked XPI to be installed in Firefox. Any ideas/possibility on how to add the following lines in the original developer's code here and republish it to Mozilla's Addons-site? Would be greatly appreciated.
Also, on the wishlist would be to be able to sort for file size ascending/descending. That'd be great, too :)
Thanks, Olli
Index.js: Line 46: Hi.
I've found and edited in some additional file sizes for images, since I needed 50k and 500k as an additional option. It's to be found in the /window/index.js and /window/index.html files. But I sadly can't get the edited and repacked XPI to be installed in Firefox. Any ideas/possibility on how to add the following lines in the original developer's code here and republish it to Mozilla's Addons-site? Would be greatly appreciated.
Also, on the wishlist would be to be able to sort for file size ascending/descending. That'd be great, too :)
Thanks, Olli
Index.js: Line 46:
_size: 'all' // 'all', '40k', '100k', '500k', '1m', '10m'
Index.html: beginning with Line 83:
< li data-cmd="size-40k">Size (>40K)< / li>
< li data-cmd="size-100k">Size (>100K)< / li>
< li data-cmd="size-500k">Size (>500K)< / li>`