Hello,

I have been able to get images working throughout my site using, imagecache ..etc.

I still am having a problem uploading default images in my imagefields. I am able to upload images as a user fine but as an administrator when I upload a Default image(content>content type>article>article image) it just shows the name, does not copy image, and my server gives the error “Directory index forbidden by rule:”(because it is requesting the image files/thumbs without image name)

I am running Drupal version 4.7
Imagefield 4.7 dev
Permissions for file and temp set to 777
CCK 4.7--1.5-1

Default image for user images also works fine. Any ideas? Thanks

Comments

Rain-1’s picture

I wonder if I should just enter the default image information directly into the database and upload the file maunually. Any ideas where I would do that?

Rain-1’s picture

any ideas what tables I can add the default field info to?

Might it be in "widget setting" in the node_field_instance?

the info in that field is:

a:8:{s:13:"default_value";a:3:{i:4;a:1:{s:5:"flags";a:1:{s:6:"delete";i:1;}}i:5;a:8:{s:5:"flags";a:1:{s:6:"delete";i:1;}
s:3:"alt";s:10:"bplogo.gif";s:5:"title";s:10:"bplogo.gif";s:8:"filename";s:10:"bplogo.gif";s:8:"filepath";
s:15:"/tmp/tmp_dnGZU6";s:8:"filemime";s:9:"image/gif";s:8:"filesize";s:3:"906";s:3:"fid";s:6:"upload";}i:6;a:8:{s:5:"flags";
a:1:{s:6:"delete";i:1;}s:3:"alt";s:10:"bplogo.gif";s:5:"title";s:10:"bplogo.gif";s:8:"filename";s:10:"bplogo.gif";s:8:"filepath";
s:20:"files/tmp/tmp_3Y10Yc";s:8:"filemime";s:9:"image/gif";s:8:"filesize";s:3:"906";s:3:"fid";s:6:"upload";}}s:17:"default_value_php";
s:0:"";s:14:"max_resolution";s:5:"80x80";s:10:"image_path";s:0:"";s:10:"custom_alt";i:0;s:12:"custom_title";i:0;
s:13:"teaser_preset";N;s:11:"body_preset";N;}