0
votes

I have already posted this in a Drupal forum. I currently have problems with uploading images and using clean urls on the site.

When I upload an image to an article page and then I click refresh to view the page, the image doesn't appear. I check for the image url and an example url would be:

http://example.com/sites/default/files/styles/large/public/field/image/01.jpg

but the image would appear if I modify the url on the address bar to:

http://example.com/?q=sites/default/files/styles/large/public/field/image/01.jpg

I have tried:

  • turning on and off clean urls (sometimes the images appear, but then they disappear again)
  • modifying rewrite rules in the the .htaccess file
  • folder permissions

This happened when I uploaded my site to an apache server and the url changes, but doing it locally on my computer, the url don't change.

1
so u can enable clean urls in drupal??Prem Anand
yes, i can enable clean urlsuser2374376

1 Answers

0
votes

I went on another direction with my photos but I figured it out anyway. All I had to do was to delete the .htaccess file in the site/default/files.