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 377015
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T14:39:19+00:00 2026-05-12T14:39:19+00:00

If I put in the src attribute ./images/nothing.gif what does that translate to? I

  • 0

If I put in the src attribute ./images/nothing.gif what does that translate to?

I have a javascript file that makes src attribute of some html element to ‘nothing.gif’

but on the page nothing.gif shows as ‘file not found’ symbol.

Currently nothing.gif resides at the following place in my ftp server:

/www/foldername/wp-content/themes/themeg/images/nothing.gif

the javascript resides at:

/www/darksnippets/wp-content/themes/themeg/javascript.js

since this is wordpress there is no actual ‘html page’ the content is stored in the DB. so If I used ../ where should I place nothing.gif?

Edit:

here is the link to the page: http://www.darksnippets.com/?page_id=56

nothing.gif can be found here: http://www.darksnippets.com/wp-content/uploads/nothing.gif

in the bottom right you will see broken image symbol (this shows up in IE of Chrome. does not show in FF)

  • 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-12T14:39:20+00:00Added an answer on May 12, 2026 at 2:39 pm

    If the HTML page is http://www.darksnippets.com/?page%5Fid=56 then nothing.gif points to http://www.darksnippets.com/nothing.gif. The location of the Javascript is not relevant. So you should just need “wp-content/uploads/nothing.gif”.

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

Sidebar

Related Questions

I have a table with some images that I want to start out with
I have this tag in my page that runs on localhost:3000 <img id=img1 src=file:///Users/michal/Desktop/Picture
Put value as a field makes sense only if this one represents some object's
What is the cleanest way to put the source attribute string of all images
I have a few images, like <img src=unstarred.png class=unstarred-button id=unstarred-1 /> <img src=unstarred.png class=unstarred-button
I have a HTML inside a string variable, which contains some <img> tags. I
I recently found out that the src attribute of an image allows you to
I have a small script on artimap.com that I use to asychronously load images.
I'm using a CMS system for a website. My content contributors have put some
I am trying to change JavaScript src from a code behind file. <script type=text/javascript

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.