Help - Search - Members - Calendar
Full Version: change absolute path to images to relative
Movable Type Community Forum > Additional Resources > Tips and Tricks
holiday
Is there a way I can mass change all my absolute path to images to relative? Or is there at least a way I can get a list of all my posts that have images.

I just changed directories and now a number of my images are broken (in entry). I have a lot of posts so I'd don't want to have to go through each one to find broken images.

any ideas?

Thanks.
holiday
Could I do it through Cpanel perhaps? list all images and show all URLs.
notforsheep
why not write an .htaccess file to automatically "fix" the broken links?

(I think that might work. Not sure...)
maddy
If you want a list of entries with images, you can just do a search within the MT interface for the image tags, URLs, etc. smile.gif
holiday
Hmmm...You mean do a search on like
CODE
"<img"
and that will pull up all entries with that tag in it? I didn't know the search included html tags in it's parameters.

I'll give it a try.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.