Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
when inserting images with imagecache, the image url is absolute.
for example using the insert module with imagecache preset inserts
<a href="http://example.com/image.jpg" >
to the node body.
but I want to move the server to another domain and all the images that are inserted with insert module are absolute path.
what is the solution ?
what can I do to prevent the insert module from linking to the image with absolute path and instead link with the relative path.
Comments
Comment #1
quicksketchI edited your post to include
<code>
tags.Please see these other issues:
#622964: Provide UI option for using relative urls for the inserted images
#640352: Linking with relative paths
#521812: relative path or full path settings