Hello,
I'm experiencing an odd problem with the Media Libary / Static Pages plugin. Whenever I change something in the Media Library (i.e. put a file in a different folder, change a file name etc.) the URL's to media files (images) in my Static Pages change. For instance, /uploads/articles/image.jpg becomes /uploads/articles/articles/articles/image.jpg.
Is there any resolution for this?
Problem with media links in Static Pages
-
garvinhicking
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Problem with media links in Static Pages
Hi!
Serendipity has a code that tries to change the URLs in staticpages to reflect the new location of a renamed picture.
Does it duplicate the path name when you rename OR move a file to a different directory? Or maybe only when you rename a file in the same directory, or only when you move a file to a different directory? Inside the code, this would make a difference.
Also please state which version of serendipity and the staticpage plugin you are using; the mentioned code has been altered a few times since it was first 'conceived'
Regards,
Garvin
Serendipity has a code that tries to change the URLs in staticpages to reflect the new location of a renamed picture.
Does it duplicate the path name when you rename OR move a file to a different directory? Or maybe only when you rename a file in the same directory, or only when you move a file to a different directory? Inside the code, this would make a difference.
Also please state which version of serendipity and the staticpage plugin you are using; the mentioned code has been altered a few times since it was first 'conceived'
Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Re: Problem with media links in Static Pages
I think this is the bug, I mentioned earlier and filed in the bugtracker.
I don't know, if this is still the same problem. Because I have several static pages with images inside, I kind of "fear" testing it again.
I don't know, if this is still the same problem. Because I have several static pages with images inside, I kind of "fear" testing it again.
Author von Dresden für Kinder