Hi

I'm very new to Drupal and have a problem that I can't seem to fix. I have a website on my local machine that is running correctly (I have a view in a block with two images in it that appears fine. I uploaded the site to a live test server and now the images are not being displayed, just a broken link appears. The images are located in the /sites/default/files/photos folder and when I view the html source code on the live site the image src is "http://mydomainname/drupal/sites/default/files/photos/pic1_2.png" (mydomainname is just a www address) my installation of drupal is in a folder named 'drupal' in my htdocs folder.

** This next bit of information will probably be very important ** I also had two more images located in the sites/default/files folder on my live server again neither of these were being displayed. I moved these two images to the sites/all/ folder and changed the link and hey presto the images displayed correctly.

Not sure whether this is a permissions problem, or if I haven't set up some path correctly etc would appreciate any help with this as its been driving me mad..

Many thanks

Comments

merlinofchaos’s picture

You should move this request to whichever module you're using to control the images; if it's a CCK imagefield then the imagefield module is the place, or if it's image.module then there. Views itself doesn't handle images specificly so you won't find much help here.

mrdelly’s picture

Project: Views (for Drupal 7) » ImageField
Version: 6.x-2.2 » 6.x-3.0-alpha3

I created a custom content type and used the imagefield module to upload the images.

NB: The two images that I moved to the sites/all folder are not part of the view.

Thanks

quicksketch’s picture

Status: Active » Closed (fixed)

Sorry this request won't be answered in the ImageField queue. It's been 6 weeks since the last update and I won't be providing an answer. Any interested parties in this issue feel free to reopen.