Feature Question/Suggestion

Pulver

Joined: 2003-03-18
Posts: 14
Posted: Sat, 2003-03-29 14:04

I am wondering if there is going to be support for PSD and TIF files in G2?

I think I read in another thread that G2 will support almost any type of files - but what I am wondering is if its possible to upload a PSD image - see a converted Jpeg (and thumbnail) of that image and still have a download option of the original PSD ?

(as I discuss in <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=4735&amp;9" TARGET="_blank">this thread</A><!-- BBCode End --> )

Since many files are large - will there be a "upload progress bar" when you upload?
The one i G1 is OK - but it would be even better if you could see the progress.

Are there any plans to get around the PHP 2Mb filesize limit?

I have been playing around a little bit with G2 - fantastic work!
Somehow I can´t get ImageMagick to work (and test if PSD and TIF upload works) - NetPBM works fine but when I try "Test Settings" on ImageMagick I get: "Problem executing binary" even when my path is right - ImageMagick should work, right ?
(I know there is no support for G2 - just wondering if ImageMagick is implemented)

Thanks for all the hard work :smile:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-03-29 15:10
Quote:
I am wondering if there is going to be support for PSD and TIF files in G2?

I think I read in another thread that G2 will support almost any type of files - but what I am wondering is if its possible to upload a PSD image - see a converted Jpeg (and thumbnail) of that image and still have a download option of the original PSD ?

(as I discuss in <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=4735&amp;9" TARGET="_blank">this thread</A><!-- BBCode End --> )

G2, as G1 does, will support any file type that an image minipulation program (ie. NetPBM or ImageMagick [G2 will probably support more with modules]) can handle. In G1, you may have to edit util.php to make Gallery accept that file type

Quote:
Since many files are large - will there be a "upload progress bar" when you upload?
The one i G1 is OK - but it would be even better if you could see the progress.

There is no way to implement this in PHP...

Quote:
Are there any plans to get around the PHP 2Mb filesize limit?

Edit your php.ini file or add a "php_value" flag in .htaccess This is not a Gallery problem. You must edit your PHP config....

G2 is still pre-alpha, but looking good :smile:

 
Pulver

Joined: 2003-03-18
Posts: 14
Posted: Sat, 2003-03-29 16:19

Thanks for your answers!

Quote:
G2, as G1 does, will support any file type that an image minipulation program (ie. NetPBM or ImageMagick [G2 will probably support more with modules]) can handle. In G1, you may have to edit util.php to make Gallery accept that file type

Yes - I have got as far as to get G1 to accept PSD images, but it took "hardcore editing" :wink: (with the code from joan in <!-- BBCode Start --><A HREF="http://gallery.menalto.com/modules.php?op=modload&amp;name=phpBB_14&amp;file=index&amp;action=viewtopic&amp;topic=4735&amp;9" TARGET="_blank">this thread</A><!-- BBCode End --> ) too get G1 to convert the PSD image and make a thumbnail - and it still wont display a larger jpeg of the PSD image (or a download link to the org PSD) - that would requirer som more work.

Thats why I am asking if these (really nice and useful) features are planned for G2 ?

Quote:
There is no way to implement this in PHP...

Too bad... :sad:

Quote:
Edit your php.ini file or add a "php_value" flag in .htaccess This is not a Gallery problem. You must edit your PHP config....

I have heard of this ( but never tried it ) - but its here the "progress bar" would have come in handy :wink:

 
alindeman
alindeman's picture

Joined: 2002-10-06
Posts: 8194
Posted: Sat, 2003-03-29 16:30

Gallery 2.x will be very modular and writing modules for different file types won't require 'hardcore' editing :smile: or at least be less difficult than it was in Gallery 1.x

The reason the progress bar isn't implementable is that by the time the PHP script gets executed, the files have been uploaded. You could make a progress bar to track the progress of the resizing, etc... This might be a cool idea (technically, you could even implement an ETA by tracking the time it took to resize the images and averaging the time -- this would only work for more than a few images, however, and would require some heavy dependence on JavaScript) :smile: