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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T22:25:55+00:00 2026-05-29T22:25:55+00:00

I have added a large image to the openlayers map I have built. The

  • 0

I have added a large image to the openlayers map I have built. The code is below. But the map is not displaying the image. If I expand the layerswitcher it shows the layer in there checked but grayed out (disabled). It used to work just fine, but suddenly stopped working. I can’t figure out for the life of me why or at what point it stopped working. I’m hoping someone can point me in the right direction.

imgbounds = new OpenLayers.Bounds(this.ll2ol(-105.424392,'lon'),this.ll2ol(43.975458,'lat'),this.ll2ol(-105.317911,'lon'),this.ll2ol(44.087556,'lat'));
overlay = new OpenLayers.Layer.Image(
    "Aerial View", 
    "/media/mapassets/CORDEROAPR11.jpg",
    imgbounds,
    new OpenLayers.Size(27994, 20832),
    {'isBaseLayer': false, 'alwaysInRange': false}
);
map.addLayer(overlay);

the ll2ol is a reference to a function I have. That part works just fine. It’s acting like it can’t find the image, but the path to this image is the same as the path to a kml file I am using as well (just with different file names) and I know that the image file exists where the path leads it. This image file is immense and I am aware of the memory resources required, but like I said this was working just fine a few months ago. I thought I had just commented it out when I came back to this project from another so I didn’t think anything of it at the time.

I am running Firefox with Firebug and checking the Net tab reveals that it’s not even trying to load the jpg file. It doesn’t show up as not found or anything. Just simply not there. But the layer is.

  • 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-29T22:25:56+00:00Added an answer on May 29, 2026 at 10:25 pm

    I was able to get it working, but I’m not really sure how. I think it came down to the order of how I added the layers. However, the image is so huge it takes a long time to load, so I’ll have to investigate the tile server option.

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

Sidebar

Related Questions

If I have added/removed/modified a large number of files in my local ClearCase view,
I have added some code which compiles cleanly and have just received this Windows
I have added the required assemblies and registered the NVelocityViewFactory in global.asax.cs page but
I have added multi-language using the short article below. When you add for example
I have added an EventHandler for the Click-event to a picturebox but on runtime
I have a basic image gallery with four thumbnails and four large images one
I have added multiple labels in My Tableview cell. I am displaying facebook message
Kind of a strange question, but here is my scenario: I have accidentally added
I have added one image (it is a nice painted box type thing rectangular
we have a project that constitutes a large archive of image files... We try

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.