Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6077927
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T10:46:34+00:00 2026-05-23T10:46:34+00:00

So im using drupal to set up a simple web project. I was using

  • 0

So im using drupal to set up a simple web project. I was using img tags to display a few images.
simple img tags like

<img src="images/home.jpg" />

everything was working fine until i switched on clean urls and suddenly all the images disappeared. They still appear in the page source code just dont display.
How do i fix this ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T10:46:34+00:00Added an answer on May 23, 2026 at 10:46 am

    Try using theme_image instead. For example:

    print theme_image("images/home.jpg","My Alternate Text","My Title Text");
    

    Alternatively, if you are putting these images inside the body of a node, and you don’t want to use PHP, then you need to get Drupal’s ‘base path’ on the front of your image source.

    For example, change your image source to '/images/home.jpg' and that should work (if the images directory is inside your base www directory).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am using the webform module for Drupal 6 and would like to set
I'm using Drupal 7.2 core and I'd like to display similar (just by title)
I am using ckeditor in drupal and add some html tags in it like
I am using Drupal and have sifr set on list items, and also a,
im using drupal 6.15 and doing my first project in drupal . i got
I am using Drupal for a project but am not sure on the best
I'm using drupal 6.16 and have a set of taxonomy terms that are set
I'm using Drupal 6 to build a web application which will be centered around
I'm using imagecache with an image gallery for drupal. When the field is set
I'm using drupal 6 . What are the steps or procedure to set up

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.