image cannot be displayed on Website because it contains errors when upload filezilla

 

File is there in server but images cannot display due to various reasons.

  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 ashttp://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: …
  7. <VirtualHost www.mydomain.com:80>
  8. ServerAdmin hostmaster@www.mydomain.com
  9. DocumentRoot /home/www/www.mydomain.com/htdocs
  10. ScriptAlias /cgi-bin/ /home/www/www.mydomain.com/cgi-bin/
  11. ServerName www.mydomain.com
  12. Alias /images/ /home/www/www.mydomain.com/images/
  13. Alias /pictures/ /home/www/www.mydomain.com/upload/
  14. Alias /errors/ /home/www/www.mydomain.com/errors/
  15. Alias /catalog/ /home/www/www.mydomain.com/catalog/
  16. ErrorLog /home/www/www.mydomain.com/logs/error_log
  17. CustomLog /home/www/www.mydomain.com/logs/access_log
  18. ScriptLog /home/www/www.mydomain.com/logs/script_log
  19. ErrorDocument 403 /errors/403.html
  20. ErrorDocument 404 /errors/404.html
  21. ErrorDocument 500 /errors/500.html
  22. </VirtualHost>

 

 

  1. If your image is a real one: maybe the image was broken during the FTP transfer

Make sure that your Filezilla is in Auto mode.

Go to transfer and you will see transfer type make it auto mode

0 CommentsClose Comments

Leave a comment

Newsletter Subscribe

Get the Latest Posts & Articles in Your Email

We Promise Not to Send Spam:)