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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T07:44:21+00:00 2026-05-20T07:44:21+00:00

I have a image thumbnail function that basically just re-sizes the image and outputs

  • 0

I have a image thumbnail function that basically just re-sizes the image and outputs it via GD

It shows fine on all browsers, except in IE where it thinks it’s a bmp file… which is fine usually except when I’m trying to use jquery to drag it and the file takes ~10s to render everytime I drag it… not sure why…

When I try to save the image file, it will default to Untitled.bmp and not let me change the file type.

I even tried to load the image file directly by copying it from the cache, and it works fine, so the file itself is ok… but I just can’t get symfony to output the image in a way ie ‘likes’…

things I have tried so far:

  • Content-Type: image/jpeg
  • Content-Type: image/pjpeg
  • Content-Type: application/download + Content-Disposition: attachment;filename=”test.jpg”
  • Content-Type: image/jpeg + Content-Disposition: attachment;filename=”test.jpg”
  • Content-Type: image/jpeg + Content-Disposition: inline:filename=”test.jpg”
  • Content-Type: application/download + Content-Disposition: inline;filename=”test.jpg”

I have added Content-Length to all of the above and it goes fine through on firebug’s net panel… but ie’s developer tools > image report says the filesize is -1 bytes.

The only thing left that I can think of is the url of the image:

http://www.example.com/imagePreview?component[0][id]=1&component[0][option_id]=5&component[1][id]=2&component[1][option_id]=4&width=400

I tried to add a .jpg at the end, but it still refuses to read the file as a jpeg…

So yea, I need some ideas and help from you guys

  • 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-20T07:44:22+00:00Added an answer on May 20, 2026 at 7:44 am

    Well I fixed the laggy issue with dragging the image:

    After animating opacity to 100%, the alpha filter remains there even after the animation has finished, even though the filter does absolutely nothing it still has to process which was what was causing the huge lag.

    Solution to drag lag:
    – After animation unset css opacity: $(this).css(‘opacity’, ”)

    As for the jpeg being interpretted as bmp, I guess it wasn’t the cause of the drag lag, and at the end of the day it doesn’t matter <_<

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

Sidebar

Related Questions

I have a function in PHP that resizes images into a thumbnail, my image
I have noticed that using the post_thumbnail() function in Wordpress inserts the image including
I am wondering if it is possible to have a sort of thumbnail image
I have image data and i want to get a sub image of that
I have: image 1:Many imageToTag Many:1 tag I want to issue a query that
I have an image of a basic game map. Think of it as just
i have an image that contains a series of images, e.g.: In the olden
I have multiple image galleries that use the following code (simply view the demo
I have a function that dynamically creates links for a photo gallery. The function
I have a script which at one point returns an image thumbnail using jquery

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.