Closed (fixed)
Project:
ImageField
Version:
5.x-1.2-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Mar 2008 at 10:37 UTC
Updated:
15 Mar 2009 at 00:56 UTC
When I upload a picture and then try to see it the img tag printed is similar to the following:
http://localhost/drupal-5.7/C:\xampp\htdocs\drupal-5.7\files/mypic.jpg
The part of the URL that is underlined shouldn't be there.
Am I doing something wrong? Maybe I have a wrong setting (drupal newbie)?
Comments
Comment #1
dopry commentedAre you running on windows? It seems the url's are being created with a windows filepath... someone who has access to a windows system needs to debug that... I don't have access to one. does it happen with the 2.x branches? how is your site configured? What is your files directory set to?
Comment #2
andrew.fulton commentedI think this will happen if you set the File system path at admin/settings/file-system to be a full windows path, rather than just relative to the root of the installation. I am running drupal locally on xampp and just have it set to 'sites/www.site.com/files' and it works fine.
{I realise that this was posted an age ago, and noone may care anymore, but still, may help somebody}
Comment #3
quicksketchClosing after lack of activity. The original author hasn't gotten back to us and it's nearly a year past.
The 1.x version is also no longer supported.