Images are not showing on my site after changing .htaccess

Asked by:
aleo1203 / 14 Points
Time:
2012-04-18 6:54 am EST
Category:
Htaccess
Hits:
2,349
I am having a problem with my images loading on my site after altering my .htaccess file with expires code, and I was wondering if mod_expires is even enabled?

To ask this user for more information, please first login.

To submit an answer, please login.

ANSWERS

0

ChristiNi
Staff
13,688 Points
2012-04-18 9:45 am EST
Hi aleo1203,

Great question. Yes, mod_expires is compiled on the server. While checking into this for you, I have ruled out the mod_expires code in your .htaccess as the issue. I did this by renaming your .htaccess file to .htaccess_bk. The images on your pages are still not showing up. It appears that the images are corrupted, since we cannot open them with any image preview or editing software after downloading several test images. You also will notice that when you try to view just an image in a browser, the image appears as a solid black image.

We usually see these types of issues when files have been uploaded ASCII instead of Binary. How do you create and upload your site files? Are you using a sited creation/editing software to publish or do you publish with an FTP client like FileZilla. We will be happy to help you find the file transfer type settings for your program once we know the program you are using. Please feel free to either update your question or add a comment below with that information.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.