PDA

View Full Version : links are broken, but i cant fix them


lola
04-02-2009, 10:38 PM
Hi All

Recently changed host and somewhere in the switch, all my links to pictures are broken.

I have a main picture, and then use 3 smaller images, that you can click on and swap image with the main pic.
They're all broken. I remove them, update them, upload, but its still not working and saying the link is one of those c://directorty%mydocuments?/% - meaning it cant find it.

what am i doing wrong?

coloeagle
04-02-2009, 10:44 PM
c://directorty%mydocuments?/% -

This points to a file on your local computer.

Insure that your links point to the file location on your website.

lola
04-02-2009, 10:47 PM
thank you. no matter what i do it wont update them. i remove the picture, file, insert image, etc etc, and then it goes back to referring to my local computer.

my hold host didnt have a public_html folder, this one does, and my links look like this:
<th scope="col"><a href="../../dresses/pampered/cupcake.back1.jpg" onClick="swapImage(this);return false;"><img src="../../dresses/pampered/cupcake.smback.jpg" width="55" height="55" border="0"></a></th>


is this just Java script? or maybe I needed to download some kind of software to 'swap images' that i havent moved across.

any help is much appreciated

coloeagle
04-02-2009, 10:54 PM
Have you tried going to the images directly from the browser?

Each ../ moves back one file level

Are you using a template with editable regions?

Do you have a url to the pages?

lola
04-02-2009, 11:08 PM
yes, and they;re just showing the X... not displaying...

i'd be greatful if you could take a look. where i've put XXX please replace with the word 'boutique'. (sorry, I hate it when people google my company name and posts like this pop up!!)

http://www.courtesan-xxx.co.uk/shop/nopcart/lollipop.html

thank you

coloeagle
04-02-2009, 11:23 PM
Not able to find the larger images :( Are you sure you have them uploaded?

In the first part of your code you have no back level code for the first image and back two levels for the other two images;

<a href="dresses/temptress/misfit.back.jpg" onclick="swapImage(this);return false;"><img src="../../dresses/temptress/misfit.backsm.jpg" width="55" height="55" border="0"></a>
<a href="../../dresses/temptress/misfit.detail.jpg" onclick="swapImage(this);return false;"><img src="../../dresses/temptress/misfit.80801.jpg" width="55" height="55" border="0"></a></th>
<a href="../../dresses/temptress/misfit_temptress.jpg" onClick="swapImage(this);return false;"><img src="../../dresses/temptress/misfit.smfront.jpg" width="55" height="55" border="0"></a></th>