When I go to create content > image, the images are not uploading. I changed the upload directory to files/photos because I thought it might be because of the permissions on files/images, but it's made no difference. I'm not getting any errors, just a broken image when I go to the node.

CommentFileSizeAuthor
#5 drupal.gif38.67 KBmaryann-1

Comments

maryann-1’s picture

OK, I've just checked in my FTP and they are there now (I can't have refreshed it) but the problem is that the Image module is trying to use the URL http://mysite.com/home/kartlink/public_html/pro/files/photos when it should be mysite.com/pro/files/photos

So I know what's causing it, but I have no idea where to go and change it - any ideas?

Bèr Kessels’s picture

What do you have the files directory set to? please post trailing and leading slashes too.

maryann-1’s picture

it's /home/kartlink/public_html/pro/files/photos/

Bèr Kessels’s picture

That is what I was afraid of.
You should make the patch "relative" to your drupal installation. Assming drupal lives in

/home/kartlink/public_html/pro/

your settings should say ONLY files/photos/

maryann-1’s picture

StatusFileSize
new38.67 KB

I've been through settings and I can't find where to change it, what am I missing? I've attached a screenshot of settings > image and it only gives me the option to change the directory, I can't change the path into a URL

Thanks for your help!

drewish’s picture

Status: Active » Closed (fixed)

i'm cleaning out the image issue queue. hopefully this has been resolved.