This is kind of a weird one for me. I'm using a combination of imagecache, views, and imagefield. imagefield to allow uploading of images to nodes, imagecache to crop / resize the images down, and views to display a list with a scaled down version of the full image available too.

I'm using the standard: " print $field_image_url_fid; " that was output by the views theme wizard, and the code result is this:
Only local images are allowed.

/files is being entered twice some how?? I can access the image just fine at:
http://www.siteurl.com/dev/files/imagecache/image-large/imagename.jpg

but I can't seem to figure out where Drupal is getting that second instance of /files...

Anyone have any ideas?? Any help would be awesome.

Thanks!

Comments

XBleed’s picture

Oops.. I guess I didn't enter this stuff right..

The src result from print $field_image_url_fid; is this:

src="http://www.siteurl.com/dev/files/imagecache/image-large/files/imagename.jpg"

That's where the files is getting put in twice.. sorry to confuse anyone.

dopry’s picture

Status: Active » Fixed

I do it on purpose in this version to prevent name space conflicts... it is resolved in the 2.x tree, but this is a normal imagecache 1.x path/url you are describing.

Anonymous’s picture

Status: Fixed » Closed (fixed)

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