Closed (fixed)
Project:
Image
Version:
5.x-1.0
Component:
image.module
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2007 at 07:55 UTC
Updated:
30 Jun 2007 at 21:57 UTC
I have to say that I'm new with Drupal, my website is: www.filartrix.altervista.org/drupal
i installed the Image module, the lastest version 5.x-1.x-dev on the lastest version of Drupal(5.1)
I'm able to upload images, (via ftp I can check that images are in the right directory and also thumbnail is correctly created, if I dowload images via ftp i can see them correctly) but in can't see them on drupal, if I use IE, only an X is displayed, if I use Firefox nothing is displayed, I tried also to deactivare and reactivate the image module, I also tried to delete and re-upload the module via ftp, i don't know what did i made bad...
Thaks in advance for any help
Filippo
Comments
Comment #1
drewish commentedfirst, check that the permissions are correct for users to download the images. if that looks good please report back with:
* what you've set as your "File system path:" on admin/settings/file-system
* the complete path to this directory
* the complete path to your drupal installation
Comment #2
filartrix commentedYeah Thanks a LOT!!!
the permision were right, also the directory path of files and images, but in file system option I had to choose "private" instead of "public" download method, now it works Great !!
Many many Thanks for spending your tie to help me :-)
Filippo
Comment #3
ethang commentedI'm having the same problem here, images uploading successfully but not displaying. Permissions aren't the problem because it's the same problem for all users, including full administrator. The logo image also isn't displaying, so I thought it was a theme problem, but I get the same problem with all default themes. The file system is set to public, the directories have permissions at 755 and the html source looks correct with accurate paths - but the images aren't showing. Here are the answers to your question:
- files
- home/user/www.site.com/htdocs/files
- home/user/www.site.com/htdocs
Comment #4
Stefan Nagtegaal commentedAre there spaces in your filenames? Something like 'files/foo bar.png'?
Stefan
Comment #5
ethang commentedNo, I use underscores like "dennis_02_guitar.jpg"
Comment #6
ethang commentedI just realized something:
Drupal is looking for my images at http://www.site.com/files/images/uploads/ - however, the drupal install is located at http://www.site.com/htdocs/ - so the correct path should be http://www.site.com/htdocs/files/images/uploads/ -- how do I tell drupal about this htdocs directory?
Comment #7
Firewolf commentedI had a similar problem. My images were uploaded without a problem. They showed in "private" download but not in "public".
Disabling the options in the .htaccess file of the "files" directory solved my problem. I needed the public download as my client wanted to have the images visible even for anonymous users.
#Options None
#Options +FollowSymLinks
Comment #8
drewish commentedethang, update the files path in the filesystem settings. you man need to manually edit the database entries for the existing files.
Comment #9
(not verified) commentedComment #10
brasto commentedI have this issue, but none of the mentioned fixes resolved the issue.
File System Path: files
Complete Paths:
/home/flfn/drupal/files/
/home/flfn/drupal/
Option is set to "public"
No spaces in file names
An entry in the error log when I try to access the image url:
[Fri Jun 29 20:12:12 2007] [error] PHP Fatal error: Class 'PelJpeg' not found in /home/flfn/www/drupal/sites/all/modules/exif/exif.module on line 44
I disabled the exif extension and now it works. I'm just logging this for anyone that might experience the same issue.
Comment #11
drewish commentedbrasto if you look at http://drupal.org/project/exif it's pretty clear that you don't have the requirements for the exif module.
Comment #12
brasto commenteddrewish, thank you for noticing that. I was going to search their issues/support requests next, so you just made it easier to find.