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

Comments

quicksketch’s picture

I would HIGHLY suggest you install Transliteration module.

quicksketch’s picture

Status: Active » Fixed
StatusFileSize
new1.39 KB

This 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.

quicksketch’s picture

Title: image with special characters in file name are not uploaded » Images with special characters in file name are not displayed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.