Est. 2003
Home Help Login Register
News: Welcome to ZboX Webhosting.
10 Megs

10 MB Disk
1 GB Transfer
$10.00 per year
25 Megs

25 MB Disk
2 GB Transfer
$25.00 per year
50 Megs

50 MB Disk
3 GB Transfer
$50.00 per year
75 Megs

75 MB Disk
4 GB Transfer
$75.00 per year
500 Megs

500 MB Disk
10 GB Trans
$100.00 yr.

+  ZboX Webhosting Est. 2003. Now in our Fifth year!
|-+  Domania/Amish/PDhomes
| |-+  PDhomes
| | |-+  Loading images and backgrounds
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] 2 Go Down Print
Author Topic: Loading images and backgrounds  (Read 866 times)
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Loading images and backgrounds
« on: April 18, 2008, 06:36:51 AM »

Since monday,, I have been having a problem loading images and backgrounds into sig on msntv2.

Yesterday the problem advanced to loading on webpage or testbed...

the problem comes and goes away..
sometimes it seems to help if I go to the file manager and display the image,, then back to webpage or email write page,,, it will load..

These problems were with background src=  or with img src=
-------------
today .. loading random images or bg with this php code,,,instead of using .rfi,,,,,, is not working for bg or for images on webpage....

<body background="http://pdhomes.net/senior/erv/php/randomize.php?url=http://pdhomes.net/senior/erv/background/back.txt"/>


Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 144



Re: Loading images and backgrounds
« Reply #1 on: April 18, 2008, 08:33:43 AM »

Hey Erv, I had the same thing happen with my randomizer. I copied the error msg from yours below.

I had the same thing happen with other scripts. I had created an image with one of my image tools but when I tried to beam it to a permanent location, I got a generic error msg so I made a script to copy it and got a "Couldn't resolve host name" error msg. Pagebuilder wouldn't upload it either. I could see the image every time I tried.

Warning: file() [function.file]: Couldn't resolve host name in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 12
Warning: file(http://pdhomes.net/senior/erv/background/back.txt) [function.file]: failed to open stream: Success in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at /home/pdhomes/public_html/senior/erv/php/randomize.php:12) in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/pdhomes/public_html/senior/erv/php/randomize.php:12) in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 18
Logged


ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: Loading images and backgrounds
« Reply #2 on: April 18, 2008, 12:19:39 PM »

Hey Erv, I had the same thing happen with my randomizer. I copied the error msg from yours below.

I had the same thing happen with other scripts. I had created an image with one of my image tools but when I tried to beam it to a permanent location, I got a generic error msg so I made a script to copy it and got a "Couldn't resolve host name" error msg. Pagebuilder wouldn't upload it either. I could see the image every time I tried.

Warning: file() [function.file]: Couldn't resolve host name in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 12
Warning: file(http://pdhomes.net/senior/erv/background/back.txt) [function.file]: failed to open stream: Success in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 12
Warning: Cannot modify header information - headers already sent by (output started at /home/pdhomes/public_html/senior/erv/php/randomize.php:12) in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 18
Warning: Cannot modify header information - headers already sent by (output started at /home/pdhomes/public_html/senior/erv/php/randomize.php:12) in /home/pdhomes/public_html/senior/erv/php/randomize.php on line 18

Hi Mike,
I think we have found and fixed the cause of that error and several other problems as well. I ran a domain dossier for pdhomes.net over at centralops. All of the whois info for it came up fine, however I noticed it said there was NO IP associated with that domain! So after talking with the datacenter, it seems they were moving some switches around. Come to find out a setting on the moved switch hand been changed which caused the resolver on our server to work intermittently. That has now been fixed.

~;-)

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #3 on: April 19, 2008, 05:43:06 AM »

Bert,
I thought everything was working yesterday after your fix,,, this a.m. images will not load into my sig.
but
code works in testbed--
<html>
<hr color="blue">
<div align=right><img
src="http://pdhomes.net/senior/erv/images/cricket.gif"height="70">
<span style="width:357;height:50;font-size: 1.1em;color:pink;Filter:shadow(Color="black", Strength="20")">E R V</span>
</div>
<!------FRAMED---JPG-IMAGE-->
<center>
<table bgcolor="gold"><tr><td>
<table style="border:25 firebrick
ridge;"><tr><td align="center">
<table style="border:15 brown
double;"><tr><td align="center">
<img width="300"height="218" src="http://pdhomes.net/senior/erv/jpegs/lighthouse.jpg">
</td></tr></table>
</td></tr></table>
</td></tr></table>
</center>
</html>
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #4 on: April 21, 2008, 03:37:12 PM »

still unable to load images into email sig.with MSNTV2,.........
but it works at WEBTV/MSNTV1,,,,,,,,,
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: Loading images and backgrounds
« Reply #5 on: April 21, 2008, 03:51:14 PM »

still unable to load images into email sig.with MSNTV2,.........
but it works at WEBTV/MSNTV1,,,,,,,,,

Hi Erv. Frankly I'm not familiar with how sigs are done on the Deuce. Maybe the folks over at web-nuts.com can help.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #6 on: April 21, 2008, 04:50:31 PM »

I can load an image from 250free.com
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: Loading images and backgrounds
« Reply #7 on: April 22, 2008, 08:16:00 AM »

Bert,
I thought everything was working yesterday after your fix,,, this a.m. images will not load into my sig.
but
code works in testbed--
<html>
<hr color="blue">
<div align=right><img
src="http://pdhomes.net/senior/erv/images/cricket.gif"height="70">
<span style="width:357;height:50;font-size: 1.1em;color:pink;Filter:shadow(Color="black", Strength="20")">E R V</span>
</div>
<!------FRAMED---JPG-IMAGE-->
<center>
<table bgcolor="gold"><tr><td>
<table style="border:25 firebrick
ridge;"><tr><td align="center">
<table style="border:15 brown
double;"><tr><td align="center">
<img width="300"height="218" src="http://pdhomes.net/senior/erv/jpegs/lighthouse.jpg">
</td></tr></table>
</td></tr></table>
</td></tr></table>
</center>
</html>

Does anyone not see Erv's image here?

http://zboxhosting.net/tmp/erv.html

That's using Erv's code and I can see it fine.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #8 on: April 22, 2008, 08:53:47 AM »

Bert,,,
I see it there too,, also in a testbed..
but the img src= are being blocked

ALSO cannot load a page into an iframe in email sig BUT can load a page from WEBTV pagebuilder...

I get this when loading a page fron PDHomes into iframe for email sig---------------------

  The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Tap the  Back button to try another link.
Tap  Search to look for information on the Internet.




HTTP Error 406 - Not acceptable
Internet Explorer 
Logged
Spacebeagle
ZboXian
**
Offline Offline

Posts: 22


Lost in time


Re: Loading images and backgrounds
« Reply #9 on: April 22, 2008, 10:27:12 AM »

Hi Erv. Frankly I'm not familiar with how sigs are done on the Deuce. Maybe the folks over at web-nuts.com can help.

Bert

http://norbert26.com/TNB/alt-discuss-sigs.html for MSNTV2 sigs from main TNB page http://norbert26.com/TNB/

Midi files are supported despite what Norbert's page says in at least one place.

For those who to steal which is allowed Norberts code, go to his premade sig page.

I should add Erv knows very well how MSNTV2 sigs work, assuming I am thinking that Erv is the Erv I am thinking of. The above is others who don't.
I forgot the Woot
« Last Edit: April 22, 2008, 10:30:41 AM by Spacebeagle » Logged

Paul Ding
ZboXian
**
Offline Offline

Posts: 19



Re: Loading images and backgrounds
« Reply #10 on: April 22, 2008, 11:37:07 AM »

You're getting an "HTTP Error 406 - Not acceptable" and the browser says
"The resource cannot be displayed
The resource you are looking for cannot be opened by your browser."

That tells me that the problem is the file itself rather than how it's being served.

The fact that you're able to open it in the browser directly, but not inside that code suggests that the problem lies within the browser itself. The Deuce has memory problems, and the fact that you're trying to display the image in a table inside a table inside a table means that you're asking the browser to juggle a lot of balls at once, memory wise.

That image has the following comment embedded in it:
"Powered by Cold Fusion and CFX_IMAGE
- Compressed by NetMechanic"

There was a problem a few years ago with pictures that had been compressed by NetMechanix. I don't know what the problem was with their code, because computer browsers had no problem, and neither did photo software on computers or websites, but if you took the image, saved it as a BMP file, and then converted the BMP file back to a JPG file, the image could be displayed.

I've done that with your image. It weighs in at 5921 bytes in this version, versus, 6981 bytes in the original. Hmmm.  Doesn't sound like the NetMechanix software works very well in terms of compression, either, does it?

Anyhow, why don't you transload this file, and see if replacing the NetMechanix version of the image solves your problem. You may need to apply the old remedy - editing the image in some way - in order to get problem files to display.

Or not. I haven't a Deuce to check this out.

* lighthouse.jpg (5.78 KB - downloaded 62 times.)
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #11 on: April 22, 2008, 02:41:45 PM »

Hi Paul
when I clicked on the 'lighthouse,jpg'-- I get this URL-

http://zboxhosting.com/board/index.php?action=dlattach;topic=723.0;id=115

How would I transload the jpg ?
I took the URl and beamed it to my file and it came as index.php.

that didn't work ...

I didn't have any problems with images or iframes in my msntv2 email sig before the server change over
and it fails on more than one image or page

Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #12 on: April 22, 2008, 02:59:11 PM »

I get the same results here with a page that has only html coding,, no images

<center><iframe src=
http://pdhomes.net/senior/erv/border/border3.html></iframe>
*************************************

 The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Tap the  Back button to try another link.
Tap  Search to look for information on the Internet.




HTTP Error 406 - Not acceptable
Internet Explorer 
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #13 on: April 22, 2008, 03:20:06 PM »

Any possible connection with the problem in this other thread

"internet explorer cannot display the webpage"

this is the MSTV2 browser--

Your browser is:   Microsoft Internet Explorer
Your browser version is:  4.0 (compatible; MSIE 6.0; Windows NT 5.1; mediacenter; STB; 560x384; MSNTV 5.5; THMDR)

Your browser minor version is:  ;CE.net;

Your browser code name is:  Mozilla

Your browser useragent is:  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; mediacenter; STB; 560x384; MSNTV 5.5; THMDR)



Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 144



Re: Loading images and backgrounds
« Reply #14 on: April 22, 2008, 03:51:54 PM »

Everything shows up for me:

http://eclecticdjs.com/mike/temp/08/04/erv_01.html
Logged


Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #15 on: April 22, 2008, 03:58:38 PM »

Thanks Mike-
now try it in your msntv2 email sig.
Logged
ZboX
Founder
Administrator
Posting Maniac
*****
Offline Offline

Posts: 1573


What 'ya got there??


Re: Loading images and backgrounds
« Reply #16 on: April 22, 2008, 04:01:10 PM »

Any possible connection with the problem in this other thread

"internet explorer cannot display the webpage"

this is the MSTV2 browser--

Your browser is:   Microsoft Internet Explorer
 Your browser version is:  4.0 (compatible; MSIE 6.0; Windows NT 5.1; mediacenter; STB; 560x384; MSNTV 5.5; THMDR)

 Your browser minor version is:  ;CE.net;

 Your browser code name is:  Mozilla

 Your browser useragent is:  Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; mediacenter; STB; 560x384; MSNTV 5.5; THMDR)





Hi Erv,
No I don't think so as Timbers problem was basically related to the one other folks were having.

Bert
Logged

Homepage / Community: http://zboxhosting.com

Contact: sales@zboxhosting.com
"When all is said and done, there's nothing left to say or do!"
Paul Ding
ZboXian
**
Offline Offline

Posts: 19



Re: Loading images and backgrounds
« Reply #17 on: April 22, 2008, 04:06:12 PM »

Quote
I get the same results here with a page that has only html coding,, no images

<center><iframe src=
http://pdhomes.net/senior/erv/border/border3.html></iframe>
*************************************


When I try to click on that URL, it escapes the ">" character so that it ends up looking for a file named "border3.html%3E"  Putting the URL in quotes probably would work better.

I didn't realize this board would give the attachment such a godawful URL. Give a programmer more than one way to do something, though, and he'll often choose the worst of all possible ways.

Oh, well. I've uploaded the image to a different site, and you can grab it from here:  http://canthook.com/i2/lighthouse.jpg

It gets SO frustrating at times, dealing with the WebTV browser or the Deuce. With cable and satellite systems continuing to support analog television for the time being, it's hard to say how long either service will be around, but from what I read, digital television is taking off a lot faster than anyone expected it to. I can't imagine Microsoft budgeting much capital for improvements in the browser software. Possibly for a next generation digital box, but not for an analog one.

Of course, it's hard for me to criticize them for not wanting to support stuff because it's obsolete. My doctor feels the same way about me; I'm obsolete, and it'd be a lot easier to replace me with a newborn baby.




« Last Edit: April 22, 2008, 04:13:39 PM by Paul Ding » Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #18 on: April 22, 2008, 04:25:28 PM »

Hi Paul
same result with new lighthouse.jpg

<html>
<center>
<iframe src="http://pdhomes.net/senior/erv/test/lighthouse.jpg"></iframe>
</center>
</html>
  The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Tap the  Back button to try another link.
Tap  Search to look for information on the Internet.




HTTP Error 406 - Not acceptable
Internet Explorer 
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #19 on: April 22, 2008, 04:41:04 PM »

I used the quote for the URL but no difference...


<html>
<center>
<iframe src="http://pdhomes.net/senior/erv/border/border3.html"></iframe>
</center>
</html>
  The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Tap the  Back button to try another link.
Tap  Search to look for information on the Internet.




HTTP Error 406 - Not acceptable
Internet Explorer 
Logged
Paul Ding
ZboXian
**
Offline Offline

Posts: 19



Re: Loading images and backgrounds
« Reply #20 on: April 23, 2008, 02:19:24 AM »

I don't know if there's anything to be learned from this, but I did a little experiment. I took this code
Code:
<html>
<center>
<iframe src="http://pdhomes.net/senior/erv/border/border3.html"></iframe>
</center>
</html>

and stuck it in a file, gave it an HTML name, then displayed it in different browsers to see what the difference was.



This board shrinks down the image so it's unusable, so click here to see the full-size version.
http://canthook.com/i2/browsers.jpg

This page displays quite a few different ways, depending on the browser's interpretation of how the HTML should be rendered, including 7 different renderings, most of them different, a blank page, and an error message.

It shouldn't surprise us, I suppose, that the Deuce adds yet another error message.



Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #21 on: April 23, 2008, 04:05:09 AM »

I used the beamer to copy this page from WEBTV pagebuilder--
I can use the WEBTV page in the iframe in MSNTV2 sig with no problem
----------------


<iframe src=http://pdhomes.net/senior/erv/sigs/index.html></iframe>

  The resource cannot be displayed
The resource you are looking for cannot be opened by your browser.

--------------------------------------------------------------------------------

Please try the following:

Tap the  Back button to try another link.
Tap  Search to look for information on the Internet.




HTTP Error 406 - Not acceptable
Internet Explorer 
Logged
Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #22 on: April 23, 2008, 05:08:23 AM »

Meanwhile back at IMG loading (or not) in msntv2 sig box--
This image loads-http://canthook.com/i2/lighthouse.jpg

the one I beamed fron there to my file does not.
http://pdhomes.net/senior/erv/zbox/lighthousejpg
-----------
SIG BOX code=

<img src="http://canthook.com/i2/lighthouse.jpg"><br><br>

<img src=
"http://pdhomes.net/senior/erv/zbox/lighthouse.jpg">
« Last Edit: April 23, 2008, 07:43:43 AM by Erv » Logged
DJ Mike
Serious Poster
****
Offline Offline

Posts: 144



Re: Loading images and backgrounds
« Reply #23 on: April 23, 2008, 11:42:55 AM »

Let's try it on the same server but different domain. Erv, try substituting this URL in your code for the URL on your site

http://eclecticdjs.com/mike/temp/0712/micro_editer/files/lighthouse.jpg
Logged


Erv
Mega ZboXian
***
Offline Offline

Posts: 54



Re: Loading images and backgrounds
« Reply #24 on: April 23, 2008, 12:58:21 PM »

OK, Mike,
I ccp your URL into my sig box,, went to write email and got red X in a box.
came back here and clicked your URL and got the image,
then back to write email and it was there
Logged
Pages: [1] 2 Go Up Print 
« previous next »
Jump to:  


Login with username, password and session length

ZboX Webhosting Est. 2003. Now in our Fifth year! | Powered by SMF 1.0.10.
© 2005, Simple Machines LLC. All Rights Reserved.
Page created in 0.152 seconds with 21 queries.