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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:46:52+00:00 2026-05-23T13:46:52+00:00

I am loading images from a single PostgreSQL database shared currently by my production

  • 0

I am loading images from a single PostgreSQL database shared currently by my production and development instances. This is already a little inaccurate – the production server isn’t live yet, which is why it’s okay they share a DB. The software itself is written in PHP5.3.

The issue is this: my image storage routine works on both servers. An image stored using either branch can be displayed properly in the production branch. However, the images are completely nonviewable on the production side.

Invoking the image display script directly yields the discovery that the data returned by each is markedly different. The production server provides (excerpt):

‰PNG IHDR99zÒ IDAThL&³Ùaaaýýýþþþþþþþþþýýýýýý" ø÷øëðïêññçîîàëêßêêìööPPP;'(8&'"þþúúüýýýþþÿþõÛëìÇÙÙÈÞÝòúúLLL P45B-,üý÷÷ýýÿÿÿÿþþþÿýýþþÿÿþþÿ íÿºÒÒµÕÔòúúKKKÿÿÿF**]=?ýýõõÿÿÿ

while the development server delivers (excerpt):

x89504e470d0a1a0a0000000d4948445200000039000000390802000000037a14d200002000494441546805014c26b3d9016161610000000000000000000000000000000000000000000000000000000000000000000000000000000

for the same image. Curiously, the development server’s response echoes what the actual database appears to be storing.

The relevant code appears to be identical between instances. Investigating php.ini yields only minor differences relating to error reporting. I’m all but certain this is a server communication issue but I am at a loss as to what exactly is causing it.

  • 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-23T13:46:53+00:00Added an answer on May 23, 2026 at 1:46 pm

    You got a configuration mismatch :

    http://www.postgresql.org/docs/9.0/static/runtime-config-client.html#GUC-BYTEA-OUTPUT

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

Sidebar

Related Questions

I am loading images from a database and want to dynamically resize them according
I have a situation where I'm lazy loading images from the www. It's a
I would like to stop images from loading, as in not even get a
is there a way with javascript/jquery to prevent images from loading? I am building
I was helped here a while ago about loading images from an array, but
I'm loading 5 images from disk but I want the 1st image I read
I saw a PPT from steve souders about loading images before the css for
So I'm loading images from a web service, but the size of the images
If I'm loading images from the phone into a TableView about 50-60 entries, which
I'm experiencing some performance problems loading about 60 images from a SQLite3 table with

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.