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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T20:04:55+00:00 2026-05-11T20:04:55+00:00

I am using PHPs GD extension for jpg image manipulation. I am using getimagesize()

  • 0

I am using PHPs GD extension for jpg image manipulation.

I am using getimagesize() to get image width and height.

It works fine locally as well as one one of my remote servers but not on another of my remote servers. The problem seems to arise on relatively large images (approximately 640k and larger). getimagesize() works fine for smaller images.

Has anyone come across a problem like 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-11T20:04:56+00:00Added an answer on May 11, 2026 at 8:04 pm

    I’m pretty sure you need to increase PHP’s memory limit, try doubling it initially to see if that fixes it. You can do so in your .htaccess (if you’re using apache):

    php_value memory_limit 16M 
    

    You can also set this in your scripts:

    ini_set('memory_limit', '16M');
    

    Add this line into your script to see what error GD is giving you:

    error_reporting(E_ALL);
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm creating an dynamic image, which creates headers on my page using PHPs GD-library.
I'm using PHP to process some image using GD extension. The code structure is
I am using phps mail() function to send confirmation e-mails. The e-mails get received
I'm using ImageMagick to convert a RAW file (*.nef extension) into a JPEG image.
I wish to send an email from my localhost machine (using PHPs mail function)
Using PHP's Image and GD functions you can use the following method to finally
I'm using this PHP class for a Twitter script: twitter.slawcup.com/twitter.class.phps The script is: $t=
I have created an extension for mediawiki that works in all major browsers other
Is there a difference between using PHPs time() and using new MongoDate() ? I
I tried to send a text email with non-English characters using PHPs mail function.

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.