Reply to Re: No Images - Found Something! (was Re: No Images)

Your name:

Reply:


Posted by Blinky the Shark on 01/29/07 05:19

Jonathan N. Little wrote:
> Blinky the Shark wrote:
>> Blinky the Shark wrote:
>>> Beauregard T. Shagnasty wrote:
>>>> Blinky the Shark wrote:
>>>>
>>>>> What the heck? I'm not getting any images rendered.
>>>>>
>>>>> I'm getting ready to move blinkynet to a new host. I'm testing
>>>>> the new location. I figured if anything, scripting would be the
>>>>> issue, but PHP's working fine with just a config.php tweak for the
>>>>> new location.
>>>>>
>>>>> Here's the address (I'm not live yet, thank God). :)
>>>>>
>>>>> http://server19.01domain.net/~blinky/indexdowntowntest.html
>>>>>
>>>>> No images. As I look at page source, img src is correct.
>>>> It appears to me that .jpg files are being served as "text/html"
>>>> Obviously a configuration issue on the server.
>>> Then how are they displayable if you rightclick and select "View
>>> Image"? Same server, right?
>>>
>>>> The .gif at the top is of type: "image/gif"
>>> That one won't display either.
>>>
>>> How are they then displayable if you rightclick and select "View
>>> Image"?
>>
>> Found something nobody's mentioned. :)
>>
>> I still have the experimental 2x3 grid of image path attempts here:
>>
>> http://72.52.154.100/~blinky/imagetest.html
>>
>> Okay, the first two apparently break for having the home directory in
>> the path. Let's pretend they're not there...
>>
>> ...because I have all of the other four tries on that page working.
>>
>> wOOt!
>>
>> What I did was comment out a line in .htaccess:
>>
>> #RewriteRule .*\.(jpg|jpeg|gif|png|bmp)$ - [F,NC]
>>
>> I don't know what it does <g>, but one of its effects seems to have
>> been the prevention of image display.
>
> I certainly hope you are joking, that would certainly cause your
> problem!

I don't know what that line did, but I know commenting it out seems to
have solved the issue of not seing graphics even withthe right path
coded. When I commented it out, I got images on that imagetest.html
page. As outlined above. So no, I'm not joking. And whatever it does
didn't bother my site (still live) at Page-Zone. It's the same
..htaccess I was using there. (I'm about to switch my DNS pointers to
the new site.)


--
Blinky RLU 297263
Killing all posts from Google Groups
The Usenet Improvement Project: http://blinkynet.net/comp/uip5.html

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация