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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T17:22:26+00:00 2026-05-15T17:22:26+00:00

When moving a site from a staging environment to a production environment, .png image

  • 0

When moving a site from a staging environment to a production environment, .png image files are not being shown. When going to the image directly, firefox reports:

The image (image-path) cannot be displayed, because it contains errors.

I’ve checked mime.types in my apache config, and it contains a line for

image/png png

does anyone know what could be causing this? I’ve never encountered this before.

  • 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-15T17:22:27+00:00Added an answer on May 15, 2026 at 5:22 pm
    1. check .htaccess file url rewrite or any permission/restrictions etc.

    2. upload any png image and try to open it browser using direct path to ur png file. such as http://localhost/images/test.png (if it works fine, it means your apache process your png successfully fully)

    3. check if you have created any symbolic link your images directory in your previous server(host).

    4. check your directory permissions.

    5. clear your browser cache.

    6. check your appach virtual host file httd.conf in your preivous host. may be previous there has been created some alias or something like that.
      httpd.conf:
      …

       <VirtualHost www.mydomain.com:80>
                   ServerAdmin hostmaster@www.mydomain.com
                   DocumentRoot /home/www/www.mydomain.com/htdocs
                   ScriptAlias /cgi-bin/ /home/www/www.mydomain.com/cgi-bin/
                   ServerName www.mydomain.com
                   Alias /images/ /home/www/www.mydomain.com/images/
                   Alias /pictures/ /home/www/www.mydomain.com/upload/
                   Alias /errors/ /home/www/www.mydomain.com/errors/
                   Alias /catalog/ /home/www/www.mydomain.com/catalog/
                   ErrorLog /home/www/www.mydomain.com/logs/error_log
                   CustomLog /home/www/www.mydomain.com/logs/access_log
                   ScriptLog /home/www/www.mydomain.com/logs/script_log
                   ErrorDocument 403 /errors/403.html
                   ErrorDocument 404 /errors/404.html
                   ErrorDocument 500 /errors/500.html
           </VirtualHost>
      

    let me know if any of this works or not

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

Sidebar

Related Questions

I'm moving a PHP site from development to a production server and testing the
After moving my web site from my local development environment to a shared host
I'm moving my site from an oscommerce store to a commercial application. The new
I'm moving a site from one e-commerce software to another, and I've created URL
I'm in the midst of moving a site from plain old php to the
I am working with some HTML for my site, basically moving my site from
After moving my mod_perl site from Linux hosting to FreeBSD, I have this error
I am moving some parts of a site from mysql to mongodb, and one
I'm currently moving from my development server to an Apache web production server. I've
I have an ecommerce site that has about 8 CSS files linked from the

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.