Closed (fixed)
Project:
Pathauto
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
21 Oct 2009 at 06:12 UTC
Updated:
1 May 2011 at 15:16 UTC
The images either displayed as it is or in module are displayed only on the first page, later they are not show when the clear URL is enable, its same with
{Clean URL+ Pathauto}
or
{Clean URL- Pathauto}
The links get converted from:
www.portal.com/site/sites/default/files/nextevent.jpg
TO
www.portal.com/site/content/sites/default/files/nextevent.jpg
How can this be corrected?
Comments
Comment #1
dave reidMoving to the pathauto issue queue. This doesn't have anything to do with the url_alter.module.
Comment #2
gregglesCan you provide an example URL?
I think this is a problem with relative src attributes on your site.
Comment #3
yudhistir commentedyou can check it out on
indiabasket.net/site
and as you start browsing the sub pages you will see the images disasspering.
Comment #4
gregglesOn your home page is this image:
When you go to a subpage, of course that will not work because it is a relative URL. You need a / before it.
Comment #5
yudhistir commentedTride that doesn't work. As this what is happening to the links:
HOMEPAGE:
http://indiabasket.net/site/sites/default/files/nextevent.jpg
subpage:
http://indiabasket.net/site/content/sites/default/files/nextevent.jpg
Here in the subpage, the Directory "CONTENT" is getting added. which actually doesn't exist. This is making the image go blank on the subpages. So how can this be sorted out?
Comment #6
yudhistir commentedComment #7
gregglesThis is not a pathauto problem per se - it is a problem with relative and absolute links to images. I suggest you research that topic rather than trying to get help by re-opening or bumping priority of this issue.
Comment #9
candelas commentedsorry to reopen because i get this problem too.
sorry also for my english :)
i use pathauto and in the url where i assing the content type to build the path:
http://mysite.org/content-type/title-page
if i upload a image with relative path, i get an error.
my relative path:
sites/all/files
i put in the creation node, in the body:
sites/all/files/image.png
when i see the page, the image doesnt show
if i copy the path, it says
http://mysite.org/content-type/sites/all/files/image.png
if i change the url, i can see it
http://mysite.org/sites/all/files/image.png
thanks for your module, it is a big feature :)
and thanks for any help to resolve this!
Comment #10
dave reidWe'll repeat: "This is not a pathauto problem per se - it is a problem with relative and absolute links to images. I suggest you research that topic rather than trying to get help by re-opening or bumping priority of this issue."