in my old website, I had the images stored in a folder called images. so, when I copy the source into the drupal pages, if there is an image "xxx.gif", the URL in the img HTML statement reads src="images/xxx.gif" or "/images/xxx.gif"

so.. where should I put the images folder within the drupal organization? Should I just put a folder images at the root? or does drupal normally call images from a special folder?

I don't mind changing the source code.. as I would like to follow drupal conventions.

Comments

lyricnz’s picture

If these images are not managed by Drupal, you might as well just leave them in /images, and let your HTML refer to them there: then you don't have to change your HTML at all. Normally, you don't need to care where the images actually are - you make references to them indirectly, and Drupal figures it as it's writing the HTML.

ikati’s picture

This is what I did. I just thought that if you had a url like this: <img>src="imagefolder/image.gif"</img>,

that drupal would look in a predesinated place for imagefolder.

Lynne

johnnyivan’s picture

Hi There,
For the images that are placed into the text? as opposed to the template/theme...

Should I upload them to:

'sites/default/files/images' ?

I tried that but they don't display in the pages.

when I use the path:
src="/drupal/sites/default/files/images/banner.png"

Thanks!
John