Add images to pages

Locked

Views: 788

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
7 Nov 2008, 4:02 AM
#1
isaacr25 avatar

isaacr25

Zen Follower

Join Date:
Jul 2007
Posts:
174
Plugin Contributions:
0

Add images to pages

I've added an image with a hard-coded URL in Define Pages Editor. After enabling SSL, I've realized this is not a good idea (errors asking . What's the best way to add an image to one of my pages?

7 Nov 2008, 10:09 PM
#2
neon_phoenix avatar

neon_phoenix

New Zenner

Join Date:
Dec 2007
Posts:
34
Plugin Contributions:
0

Re: Add images to pages

The best way would be to save the image on your server.
Instead of:

<img src="http://www.somesite.com/whatever.jpg" />

Use:

<img src="images/whatever.jpg" />

When the page is viewed the browser will automatically make it http://www.yoursite.com/images/whatever.jpg or https://www.yoursite.com/images/whatever.jpg based on the request type (http or https).

Karl