PHP-Scanner-Server icon indicating copy to clipboard operation
PHP-Scanner-Server copied to clipboard

Preview button

Open francisco-jca opened this issue 9 years ago • 2 comments

Hi, I installed your software on my Rpi and it is working great, thanks for your work. I just have two suggestions

  • Preview button: It would be nice to have a preview button like in some other scanner softwares, that automatically scans with the lowest dpi. This images are only a preview and are not permanently stored.
  • I would also like to specify the default image format on the server side, in the config.ini, it can be done on the client side, I know. but I would like all new users to have jpg by default (they could change it later if they want).

francisco-jca avatar Jan 07 '16 05:01 francisco-jca

you can reorder the options here: scan page: https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/blob/master/res/inc/scan.php#L127 edit page: https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/blob/master/res/inc/edit.php#L16-L20 You can set a value attribute on the select element with a value of jpg instead of reordering them If you are worried about storage space of scans, you can setup he cleaner script, that script will auto delete scans older than a predetermined amount of time, it can be setup as a cron task https://github.com/GM-Script-Writer-62850/PHP-Scanner-Server/blob/master/cleaner.php#L2

i have no intention of trying to make a preview button as described, you can create a settings label called preview (save what ever settings you feel are good for that)

i don't suggest setting JPG as default, there are too many people that will post test scans as jpegs

GM-Script-Writer-62850 avatar Jan 07 '16 12:01 GM-Script-Writer-62850

OK, I will try it, thanks.

francisco-jca avatar Jan 11 '16 17:01 francisco-jca