Images do not show???
JamesKB - April 12, 2008 - 06:49
I have a Drupal 5.7 installation at abc.abcdefg.com (a sub-domain of abcdefg.com). The sub-domain folder is named abc. Under folder abc I have a folder named /files/images. In this folder I place image.jpg. When I try to display the image using /files/images/images.jpg it does not display??? What am I missing here???
Thanks for your time.
--
James

Files public or private
If your download method is set to private under Admin - Site configuration - File system, you have to make sure to provide the proper rights under Admin - User management - Access control.
Images still not showing
Thanks for the response.
I have download method set to Public. I am getting this error message in Admin - Site configuration - File system:
* warning: fopen(files/.htaccess) [function.fopen]: failed to open stream: Permission denied in /home/******/public_html/res/includes/file.inc on line 117.* Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your files directory which contains the following lines:
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
Options None
Options +FollowSymLinks
I have File system path: set to files ?? I DO have an .htaccess file (Permission set to 644) in the files folder as the error message states??
Any ideas???
Thanks for your time.
--
James
=-=
try 664 as your permissions on the .htaccess file
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Still no joy
I tried setting the permission to 664 as you suggested. Still no joy. :(
=-=
are you sure the .htaccess contains the lines the error is stating must be there ?
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Yes
My .htaccess does indeed contain the lins as described in the error message.
For now I have a work-a-round. I smimply created a folder named images and placed my images in it and just point to it from the wysiwyg "add picture" dialog in tinyMCE.
Need a real soloution
I am still not able to use the File folder in my Drupal 5.7 installation. See the error message I am getting, shown above. For now I'm using a work-a-round, but I want images, dpf's, etc... in the Drupal File folder, that way they become part of the database I assume.
Help..... Anyone.....
Thanks for your time.
--
James
=-=
AS far as drupal is concerned if the uplaoded are bing done through a node, then they are getting added to the DB.
it doesn't have to9 be a folder named files, it can be named anything as per administer -> file system
are you using the private method or the public method ?
have you tried using a path other then "files"
what about creating your own files folder ?
what happens if you remove the .htaccess file ?
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )