Showing posts with label website. Show all posts
Showing posts with label website. Show all posts

Thursday, March 29, 2012

HTML IMG SRC

Hello,
I am dealing with a lot of published pages on a particular website.
(web-editor/publish/archive) It is easier for me to remove all of the
"../../imgageDir/image001.jpg" references and replace then with
http://www.aWebsite.com/imageDir/image001.jpg...
Will this slow down my website or the rendering of the html pages. It is
all happening on the same website (no external images)
ie,
<html><body>
<img src="http://pics.10026.com/?src=../../imageDir/image001.jpg">
<img src="http://pics.10026.com/?src=../../imageDir/image002.jpg">
</body></html>
---
OR
---
<html><body>
<img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image001.jpg">
<img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image002.jpg">
</body></html>
which one is faster?
THanks,
PaulNiether is faster. Both are the same.
HTH,
Kevin Spencer
Microsoft MVP
.Net Developer
Neither a follower nor a lender be.
"psb" <pbellman@.msn.com> wrote in message
news:%23gciQEeFFHA.2600@.TK2MSFTNGP09.phx.gbl...
> Hello,
> I am dealing with a lot of published pages on a particular website.
> (web-editor/publish/archive) It is easier for me to remove all of the
> "../../imgageDir/image001.jpg" references and replace then with
> http://www.aWebsite.com/imageDir/image001.jpg...
> Will this slow down my website or the rendering of the html pages. It is
> all happening on the same website (no external images)
> ie,
> <html><body>
> <img src="http://pics.10026.com/?src=../../imageDir/image001.jpg">
> <img src="http://pics.10026.com/?src=../../imageDir/image002.jpg">
> </body></html>
> ---
> OR
> ---
> <html><body>
> <img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image001.jpg">
> <img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image002.jpg">
> </body></html>
> which one is faster?
> THanks,
> Paul
>

HTML IMG SRC

Hello,
I am dealing with a lot of published pages on a particular website.
(web-editor/publish/archive) It is easier for me to remove all of the
"../../imgageDir/image001.jpg" references and replace then with
http://www.aWebsite.com/imageDir/image001.jpg...

Will this slow down my website or the rendering of the html pages. It is
all happening on the same website (no external images)

ie,

<html><body>
<img src="http://pics.10026.com/?src=../../imageDir/image001.jpg">
<img src="http://pics.10026.com/?src=../../imageDir/image002.jpg">
</body></html>
------------
OR
------------
<html><body>
<img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image001.jpg">
<img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image002.jpg">
</body></html
which one is faster?
THanks,
PaulNiether is faster. Both are the same.

--
HTH,

Kevin Spencer
Microsoft MVP
..Net Developer
Neither a follower nor a lender be.

"psb" <pbellman@.msn.com> wrote in message
news:%23gciQEeFFHA.2600@.TK2MSFTNGP09.phx.gbl...
> Hello,
> I am dealing with a lot of published pages on a particular website.
> (web-editor/publish/archive) It is easier for me to remove all of the
> "../../imgageDir/image001.jpg" references and replace then with
> http://www.aWebsite.com/imageDir/image001.jpg...
> Will this slow down my website or the rendering of the html pages. It is
> all happening on the same website (no external images)
> ie,
> <html><body>
> <img src="http://pics.10026.com/?src=../../imageDir/image001.jpg">
> <img src="http://pics.10026.com/?src=../../imageDir/image002.jpg">
> </body></html>
> ------------
> OR
> ------------
> <html><body>
> <img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image001.jpg">
> <img src="http://pics.10026.com/?src=http://www.aWebsite.com/imageDir/image002.jpg">
> </body></html>
> which one is faster?
> THanks,
> Paul

html frames and forms authentication

I have website www.aWebsite.com. The client I made it for now wants to make
a frame wrapper on their corporate site, so my website will run in a frame
like this.
<frameset rows="134,*" cols="*" framespacing="0" frameborder="NO"
border="0">
<frame src="http://pics.10026.com/?src=http://www.aWebsiteMarketing.com/top.html" name="topFrame"
frameborder="yes" scrolling="NO">
<frame src="http://pics.10026.com/?src=http://www.aWebsiteMarketing.com/bottom.html"
name="mainFrame">
</frameset>
In the bottom.html there is a link to my www.aWebsite.com.
So the URL in the title bar will read http://www.aWebsiteMarketing.com, but
in the bottom frame my website
www.aWebsite.com will be showing.
my www.aWebsite.com requires a login via formsauthentication. the method:
FormsAuthentication.SetAuthCookie(customerID, RememberLogin.checked)
is not working. I don't have this problem on my WinXpsp1, but on any other
Win2k in my office.
this is probably one of the most frustrating things I have ever had to deal
with...
help, ~psb

html frames and forms authentication

I have website www.aWebsite.com. The client I made it for now wants to make
a frame wrapper on their corporate site, so my website will run in a frame
like this.

<frameset rows="134,*" cols="*" framespacing="0" frameborder="NO"
border="0">
<frame src="http://pics.10026.com/?src=http://www.aWebsiteMarketing.com/top.html" name="topFrame"
frameborder="yes" scrolling="NO">
<frame src="http://pics.10026.com/?src=http://www.aWebsiteMarketing.com/bottom.html"
name="mainFrame">
</frameset
In the bottom.html there is a link to my www.aWebsite.com.

So the URL in the title bar will read http://www.aWebsiteMarketing.com, but
in the bottom frame my website
www.aWebsite.com will be showing.

my www.aWebsite.com requires a login via formsauthentication. the method:
FormsAuthentication.SetAuthCookie(customerID, RememberLogin.checked)
is not working. I don't have this problem on my WinXpsp1, but on any other
Win2k in my office.

this is probably one of the most frustrating things I have ever had to deal
with...
help, ~psb