Closed (fixed)
Project:
Internationalization
Version:
5.x-2.x-dev
Component:
Code
Priority:
Critical
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
10 Jan 2008 at 17:02 UTC
Updated:
28 May 2008 at 13:12 UTC
I have added the image module, I have been trying for a day and a half to add an image to a page. I can only ever see the broken link red cross.
I have tried many ways - nothing seems to work.
My site is hosted by a hosting company.
I would appreciate any help - have to hand over to a client in 2 days.
Comments
Comment #1
Hetta commentedTry this: http://drupal.org/node/190314
or this: http://drupal.org/node/178291
Comment #2
Kimster commentedMany thanks Hetta - but not resolved problem - I believe I understand more now, I am now using TinyMCE and IMCE, same problem, I have posted on the media and document management forum:
"Images upload fine but do not display - if I try to access just the image with the browser I get server 500 error.
I suspect that my problem is ownership of the htaccess file in the files directory. I cannot change permissions/content or delete it via ftp. I have tried changing it with php script, it won't have that either.
My host are saying they won't change it for me.
So the question is - can I change this via some other method within Drupal (preferred solution), do I need to find another hosting company, or, is there a workaround?"
Comment #3
jaime_pomales commentedHave you checked your "input format"? It is directly below the node body textarea. If you have it set to "Filtered HTML" your images will be filtered out.
Select "Full HTML"
Filtered HTML
* Web page addresses and e-mail addresses turn into links automatically.
* Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
* Lines and paragraphs break automatically.
PHP code
* You may post PHP code. You should include <?php ?> tags.
Full HTML
* Web page addresses and e-mail addresses turn into links automatically.
Comment #4
Kimster commentedYes I have full html selected.
Thanks tho
Comment #5
Hetta commentedOK, I just noticed that on my own install, images only display for user 1 if I have not enabled the core upload module That's on a vanilla 5.x-2.x-dev ...
Could that be your problem?
Comment #6
Kimster commentedSeems to be the same whether enabled or not.
Comment #7
lejon commentedI have i18n module installed and that prevents me from seeing any images. When I uninstall it I can see them. Is that your problem?
If it is, does anyone know a solution?!
Comment #8
Augustin commentedHi,
I have the same problem http://drupal.org/node/222155
The problem is from the i18n module, it is changing the link path of your images according to their languages.
so if your images are in files/images/, i18n will change the path in yourlanguange/files/images, but actually this directory doesn't exist so there are no images shown.
I still didn't have any answer how to prevent the image path to be changed.
I will come back if I found something.
Bye.
Comment #9
Hetta commentedmarked http://drupal.org/node/222132 as duplicate.
Comment #10
Kimster commentedAt long last have found solution - my hosting company reset the owner of the htaccess files I was then able to modify it.
Thanks everyone
Comment #11
lejon commentedGlad you got it working Kimster.
However, problem is same for the rest of us. Is there a fix for still being able to display images held in the images folder after installing Internationalization module?
Comment #12
Kimster commentedI don't know anything about the internationalization module.
In case it's the same thing and I didn't make it clear, this is the content of my .htaccess file in the files directory:
SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
#Options None
#Options +FollowSymLinks
As a quick test you could just delete htaccess and see if that works (need to put it back as it's a security thing).
Cheers
Comment #13
lejon commentedHave opened new issue on this topic as Kimster's issue is now solved.
http://drupal.org/node/224740
Kimster - feel free to close this discussion!
Comment #14
Kimster commentedComment #15
eatanicecream commentedI had the same problem as Kimster and solved it by commenting out the following line in my .htaccess file:
Options +FollowSymLinks
Comment #16
Kimster commentedComment #17
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.