rhushikeshc / clients-oriented-ftp

Automatically exported from code.google.com/p/clients-oriented-ftp
0 stars 0 forks source link

Not an issue - a possible addon... #286

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,

sorry not an issue didn't know how to contact.

Would you be considering adding the option to view an image preview of the 
uploaded file?

Perhaps it won't work in all situations.  But I've written a little add on code 
to do this for me.  Using Imagemagick.

I haven't written any code for checking if the module exists etc.  Just very 
basic.

exec ('convert -alpha off -density 600 "document.pdf[0]" -colorspace RGB 
-resize 300 "document.jpg"');

I'm happy to work on this addon further - saving the thumb url into the 
database etc.

But please let me know if the added code would interest you.  And I'll submit 
it when fully complete.

Best regards,

Adam

Original issue reported on code.google.com by adskirem...@gmail.com on 6 May 2013 at 4:37

GoogleCodeExporter commented 8 years ago
Hi,

me again.  I've just noticed you do have the ability to create thumbs from 
jpeg, gif.

Would you be interested in adding the functionality to do this for more 
formats.  In my case PDF documents?

As I said I'll be happy to submit my code  if that's the case :-)

Many thanks,

Adam

Original comment by adskirem...@gmail.com on 6 May 2013 at 5:08

GoogleCodeExporter commented 8 years ago
Hey Adam! Sorry I didn't see this before.
It would be awesome to have such a function.

What formats were you able to work with? PDF? DOC? What else?

Thank you!!

Original comment by i...@subwaydesign.com.ar on 20 Oct 2013 at 9:19

GoogleCodeExporter commented 8 years ago
Hi,

I only handle PDFs but it's useful for me as they have an image on the
first page.

I'll need to perfect my code before sending you it.  Give me a bit of time
and I'll send to you.

All the best,

Adam

Original comment by adskirem...@gmail.com on 30 Oct 2013 at 9:57

GoogleCodeExporter commented 8 years ago
This would be a great addition!

Thanks for sharing!

(there's no rush, of course!)

Original comment by i...@subwaydesign.com.ar on 1 Nov 2013 at 11:27

GoogleCodeExporter commented 8 years ago
OK no problem.  Thank you for the great software.  It has helped me very
much.

The new update looks great including features I really wanted.

Many thanks again.

Adam

Original comment by adskirem...@gmail.com on 2 Nov 2013 at 1:43

GoogleCodeExporter commented 8 years ago
Glad to know that the new features are of use to you!

Original comment by i...@subwaydesign.com.ar on 2 Nov 2013 at 4:30