Welcome Guest, Not a member yet? Register   Sign In
Upload Library & PSDs
#1

[eluser]danphilibin[/eluser]
I'm having trouble uploading PSDs with the upload library. GIFs, JPEGs, PNGs, and ZIPs all work fine, but the PSD won't upload. I've searched through the forums, talked to a few other developers, and played around with it for hours, but alas, it still won't work.

Here is my upload function: http://pastie.org/268475

And here is the form that's being used: http://pastie.org/268477

I'm pretty sure it isn't a problem with the mime types, as previously noted in the forums, but maybe I'm wrong - that type of thing isn't my specialty.

Thanks.

-dan
#2

[eluser]esra[/eluser]
You might try experimenting with all of the PSD mime types or try adding them all to the mime.php file. Visit this site:

http://filext.com/file-extension/PSD
#3

[eluser]danphilibin[/eluser]
No - I added them all and it still won't upload.

Code:
'psd'    =>    array('application/x-photoshop', 'image/photoshop', 'image/x-photoshop', 'image/psd', 'application/photoshop', 'application/psd', 'zz-application/zz-winassoc-psd'),




Theme © iAndrew 2016 - Forum software by © MyBB