Ouch. I think I will hold off on upgrading to File 3. I’ll just make due with version 2. I hate to be dependent on modifying a database table directly.
I am having a problem with using the File Extension on Windows Server 2003. I’ve used the default Upload File function provided by Expression Engine and that works.
However any time I use the File Extension’s File field, I get an error:
Image – There was a problem uploading <name of file>.
1) I’ve tried giving Everyone permissions (equivalent to Unix permissions 777) for ALL my directories. This didn’t fix the problem, so I am thinking it’s not a permissions problem.
2) I’ve made the preferences for The File Upload Location to the least possible, ie. I set to Do not resize image, do not allow multiple downloads etc., but it still doesn’t work.
3) GD2 is installed and enabled according to phpinfo.
Any suggestions from anyone who has got this working on Windows Server 2003?
hi I’m having difficulties with resizing the images.
I have tested several setups and run into problems with each…
1. I can’t switch to “Do not resize” in file upload prefs. That’s bizard, but if I don’t specify anything in the max width or max height, the file is untouched…
settings:
allowed file types [images]
maximum image height []
maximum image width []
allow multiple [yes]
show thumbnails [yes]
clean filenames [no]
rewrite filenames [no]
resize images [I can’t switch it to “do not resize” it goes back to “auto”]
keep originals [yes]
delete from server [yes]
2. I get very poor results from resizing images. I would like to automatically strech my images to the given values in file upload preferences, but I get very poor results. and I don’t know where I could tweek the settings. has anyone obtained good results?
settings:
allowed file types [images]
maximum image height [344]
maximum image width [700]
allow multiple [yes]
show thumbnails [yes]
clean filenames [no]
rewrite filenames [no]
resize images [stretch]
keep originals [no]
delete from server [yes]
3. I would need some sorting possibilities within the variable pair in the template. is there a sort tag somewhere?
like {image_file sort=“asc”}{file_url}{/image}. is there another way to sort them?
I would like to display the last uploaded image as the first… this makes sense if I contiually add pictures to the same post… this would be really helpful!
As far as the quality goes, this post earlier in the thread can help:
http://expressionengine.com/forums/viewreply/335581/
It really did save me a lot of work!
that’s great! seems very important, so I’ll post the code again. (for me the file component was useless until I changed this code)
This will take care of your problem and save your jpeg as a true jpeg. The default image size is set to 60% quality (this is medium in Photoshop)… if you want it set to a higher quality add the number below. (90 means 90% image quality)
I get this error often, even when the files are uniquely named:
... – The file ‘7322d4c98742b28e6f642782ef7f9ff2.jpg’ already exists, please rename your file before uploading it to the server. ( Automagically rename this file the next time it’s uploaded?)
I’m using this tool for a number of custom fields on my publish page.
Haven’t searched through the 36 pages of posts to this thread for the answer, but does anybody know of a fix?