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

  • Home
  • SEARCH
  • 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 7977077
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T09:05:27+00:00 2026-06-04T09:05:27+00:00

Here is a sample page having an issue: http://estorkdelivery.com/template/view/69 Our website serves up a

  • 0

Here is a sample page having an issue:

http://estorkdelivery.com/template/view/69

Our website serves up a template preview. Once you enter text information and tab out of a field, the website serves up an updated preview of the image with the text added to the field.

When the server returns this image:

http://estorkdelivery.com/file/preview/verify_token:149505eb811f8856a12ec6e71e2932f082a97edf

It shows up broken with the following message in my console:

Resource interpreted as Image but transferred with MIME type text/html: http://estorkdelivery.com/file/preview/verify_token:149505eb811f8856a12ec6e71e2932f082a97edf

Trying to cover all bases, I’ve verified the server has the following MIME types set:

application/x-javascript .js

image/jpeg jpeg jpg jpe

image/png png

I’m not sure why this is happening. I was wondering if someone could help me troubleshoot. Any ideas?

Thanks!

Update 04/27/2012 – My question was marked down, but I have done research on this issue. If this question doesn’t merit an answer, can someone at least point me in the direction I need to go in order to continue troubleshooting? I don’t ask questions lightly and I have read plenty of similar issues on StackOverflow to find myself still with the same problem. It’s discouraging to be marked down without a polite explanation. Thanks.

  • 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-06-04T09:05:28+00:00Added an answer on June 4, 2026 at 9:05 am

    Honestly, I don’t think it’s a server setup problem; when your AJAX request comes back with a verify_token, I can use that to get an image from your server. Then, using JavaScript, I can get the new preview to display on the page.

    This section looks odd:

    new $._iframeUpload(form, {
      success: function(response)
      {
        $('.preview').attr('src', 'http://estorkdelivery.com/file/preview/verify_token:' 
            + response.verify_token);
        var image = new Image();
        image.src = 'http://estorkdelivery.com/file/preview/verify_token:' 
            + response.verify_token;
        image.onload = function()
        {
          $queue--;
          if ($queue <= 0)
            $('.updating').hide();
        };
      }
    }); 
    

    I don’t really understand why an Image object is being created after editing the img tag. I would change your JavaScript to look like this (so that the onload callback works):

    new $._iframeUpload(form, {
      success: function(response)
      {
        var image = new Image();
        image.onload = function()
        {
          $('.preview').attr('src', image.src);
          $queue--;
          if ($queue <= 0)
            $('.updating').hide();
        };
        image.src = 'http://estorkdelivery.com/file/preview/verify_token:' 
            + response.verify_token;
      }
    }); 
    

    Try that and tell me if it helps.

    Minor quirk

    This isn’t really in answer to your question, but it influences how this whole image loading process works. Your preview is 700 x 500, but the new previews that you’re returning from your server are 2900 x 2100! That’s making your AJAX load time much longer than your initial page load. You might consider sizing it down on the server side and then transfering it to the browser.

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

Sidebar

Related Questions

Here is a sample code I'm working on: <%@ Page Language=C# AutoEventWireup=true CodeFile=Default.aspx.cs Inherits=_Default
Here is a simple login page which works as a login panel for 4shared.com:
I'm having a strange issue with RedirectToAction in MVC 3.0. Here is the code
I'm having an issue where after the 10th page, the next page seems to
I'm having a stupid css issue I can't seem to figure out. Here is
I am following Ryan Bates' railcasts: http://railscasts.com/episodes/37-simple-search-form in solving my issue with the search
I have a list of URLs, each page is a specific category: http://www.site.com/category-1/page.html http://www.site.com/category-2/page.html
I'm using the jQueryUI (extension?) and have a simple overlay on a page. Here's
Here is sample data <table class=sparql border=1> <tr> <th>abstract</th></tr> <tr> <td> Cologne is Germany&#39;s
here the sample case.. i want to display banner randomly by percentage based on

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.