Drupal version : 6.15
CCK version:
//$Id: CHANGELOG.txt,v 1.1.6.386 2009/11/05 23:37:08 markuspetrux Exp $
CCK 6.x-2.6
imagefield version:
v 1.103 (from the imagefield.module file)
permissions for your tmp and files directory:
they are set to read write for all
download method (public or private files):
public
imagefield configuration
Maximum Filesize: 16 MB
Allowed Extensions: png gif jpg jpeg
Images larger than 236x220 pixels will be scaled
expected results
image should be uploaded regardless of file name
the unexpected actual results
images with "#" in the file name are not uploaded
Steps to reproduce the problem.
1. go to page with image field form
2. click browse
3. select the attached image
4. click upload
5. notice image is not uploaded
6. we do get the 'resized' message
5. change the name of the attached image (remove '#' from the name)
6. follow steps 1-4
7. image uploads correctly
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | imagefield_url_encode_paths.patch | 1.39 KB | quicksketch |
| Being Alive Logo # 2.png | 93.06 KB | Lams |
Comments
Comment #1
quicksketchI would HIGHLY suggest you install Transliteration module.
Comment #2
quicksketchThis patch should correct the issue (for the most part). I'd still very, very highly recommend transliteration module, but this will solve the problem at least as far as ImageField is concerned. It's not that the images aren't uploaded, but rather that the image isn't displayed because the URL needs to be enocded because characters like & or # have special meaning within URLs.
Comment #3
quicksketch