CodeIgniter Forums
Upload Library & PSDs - Printable Version

+- CodeIgniter Forums (
+-- Forum: Archived Discussions (
+--- Forum: Archived Development & Programming (
+--- Thread: Upload Library & PSDs (/thread-11433.html)

Upload Library & PSDs - El Forum - 09-08-2008

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:

And here is the form that's being used:

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.



Upload Library & PSDs - El Forum - 09-08-2008

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

Upload Library & PSDs - El Forum - 09-08-2008

No - I added them all and it still won't upload.

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