Hi all,

I am having some problems with showing images in my localhost view, I had this problems ages ago but I cant remember how I fixed the problem.
I have a custom front page and there I have hand coded the image paths in Only local images are allowed. in the root of drupal I have created a folder called "images" but the images just dont show up at all, I have read online that drupal keeps images either in misc/ or files/images but I dont want that, I want to store all of my site images in a folder called "images" is this possible or not in localhost view?

Any feedback would really be appreciated! :)

Thanks in advance,
John

Comments

kleorn’s picture

I think you could check the .htaccess file in drupal's root directory. Other common issue is mess with forward/back slashes and upper/lower case in file and dir names. Actually if you really get your custom HTML in your browser, it seems to be an HTML problem, not drupal problem. If something happens with your code after editing the page, check drupal input filters.

johnlanson’s picture

Hi kleorn,

Thanks for the reply, I did check my HTML template before I made a theme about of it. The strange thing is that I have a folder called "images" in the root of the drupal install folder and when I go to that folder via the browser I get an access error and I cant view or see any images, I did I have a look at the htaccess but its a bit of a mess to find what I am looking for. I dont understand why the standart way of embeding an image does to work with Drupal??

John

kleorn’s picture

Because it is not standard for Drupal :) I am afraid that you'll have to look deeper into .htaccess options, e.g. "Options +Indexes" (I don't give you more detailed advice just because I don't know these options enough)).