Want to thank and support me for my work?
Buy my iWebFAQ.org E-Book (15$) (reviews) (sample) or...
iWebFAQ.org is presented by Cédric and hosted by HostExcellence
It is currently Wed May 22, 2013 8:58 pm

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 2 posts ] 
Publish to folder now what to do with iframes
Author Message
 Post subject: Publish to folder now what to do with iframes
PostPosted: Tue Jan 20, 2009 10:32 am 
Offline

Joined: Tue Jan 20, 2009 10:08 am
Posts: 1
I feel like I'm a complete idiot. I have built my site full of iframes with pictures and everything referenced to the photos in a folder on my idisk. Now I want to publish to a folder and host my site on godaddy.com

My question is this:

do i have to change the name of every photo that i have referenced in my iframes? here is what i am talking about.

this is what i have currently with it hosted through mobile me

loadImage1.src = "http://web.me.com/mckinneygrip/art/co-opLIGHTING2.gif"

do I need to change to this?

loadImage1.src = "http://www.co-opinc.com/art/co-opTRUCKS2.gif"

if i do, is it necessary to have the http://www.co-opinc.com in there or is there a shorter way of doing it?

I heard that you could place the following before the folder that contains the photo: ../
like this:
loadImage1.src = "../art/co-opLIGHTING2.gif"

i have tried this, but it keeps filling in the wrong address.

like this:
file:///Users/matt/Sites/rental/CO-OP//art/co-opTRUCKS2.gif

this is what it should say to show the photo:
file:///Users/matt/Sites/rental/art/co-opTRUCKS2.gif

if this works, when I upload the folder to my server, will the ../ automatically fill in the right information instead of putting in my computer info?

thanks for any help. I am trying to build a web store for my rental company and need to get things going soon.

your site is the best on the web. I feel like i reached the end looking for answers, so I know.


Top
 Profile Send private message  
 
Publish to folder now what to do with iframes
Author Message
 Post subject: Re: Publish to folder now what to do with iframes
PostPosted: Tue Jan 20, 2009 12:09 pm 
Offline
Site Admin

Joined: Tue Jun 10, 2008 1:14 am
Posts: 1840
Location: Basel, Switzerland
Hi,

if you leave the images in the folder on your iDisk you shouldn't need to change anything. When loading the website the browser of your visitor would simply go to your iDisk to retrieve the images and load them from there. It doesn't matter where the data is stored on the web. As long as it is there it will be loaded.

Of course if you want to you can change it but you shouldn't need to.

To your other question: you don't need to put the whole http://www.co-opinc.com/art/co-opTRUCKS2.gif

You could also simply write the relative path
/art/co-opTRUCKS2.gif
if you put the pictures in the folder called "art" on your Godaddy server and they can be seen under
http://www.co-opinc.com/art/co-opTRUCKS2.gif
so in other words you could drop the http://www.co-opinc.com if front of it.

If it doesn't work on local (on your computer) it will work online (once you uploaded it to the server).

Regards,
Cédric

_________________
Thank you for visiting my websites:
http://iwebfaq.org - http://rapidweaverfaq.org - http://wpfaq.org - http://ebookstoretoday.com
All my websites are hosted by: HostGator


Top
 Profile Send private message  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron






Want to support me for my work?

or buy my iWebFAQ.org E-Book (15$)

(reviews) (sample)

Thanks,
Cédric



 

This website is hosted by HostExcellence



© 2008, 2009 Powered by phpBB Group
Macinscott 3 style by Scott Stubblefield