close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

My images can't be found on a website that just went live

Thread begun 3/26/2015 7:20 am by russb335115 | Last modified 3/30/2015 10:21 am by Jason Byrnes | 2495 views | 5 replies |

russb335115

My images can't be found on a website that just went live

I just point a URL at a client's new website and all the images are now showing up as missing. The site is in the same folder the only thing that change is the url for the website. How do I update this?

Sign in to reply to this post

Jason ByrnesWebAssist

you will need to adjust the paths for the images to look at the correct path

can you give a link to a page please? also where are the images stored?

Sign in to reply to this post

russb335115

Here is the links:

This is for the live website address: antronix.com

This is the address I used as I was developing the website: http://s403739248.onlinehome.us/antronix/

Images where placed using PowerCMS so they are in the files folder and where ever CMS puts them.

It's the same folder the only thing that changed is the url.

Sign in to reply to this post

Jason ByrnesWebAssist

the address for the images is pointing to a subfolder:
http://antronix.com/antronix/files/insert_MoCA_AMPs_2.jpg

the antronix.com address is pointing to the same subfolder.

the address for the images should not include the antronix folder:
http://antronix.com/files/insert_MoCA_AMPs_2.jpg


you will need to remove the antronix folder from the image paths.

Sign in to reply to this post

russb335115

Does that have to be done image by image?

Sign in to reply to this post

Jason ByrnesWebAssist

you could try an update on the contents table directly through phpMyAdmin using the replace function:
http://dev.mysql.com/doc/refman/5.5/en/string-functions.html#function_replace

the syntax would look like:
UPDATE pcms2_contents SET ContentValue = REPLACE(ContentValue,'/antronix/','/') WHERE ContentValue LIKE '%/antronix/%'

I Would strongly sugest backing up the table first.

Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...