Hi!
Found a bug in the "Photo html"-Link. It generates a working picture, but the link to the picture is wrong.
It links to http://www.mysite.com/sites/default/files/photos/image/206
should be http://www.mysite.com/?q=photos/image/206
The wrong part is found in line 525 in your beta 6:
----
$output .= '
""wrong part! --->"" href="'.file_create_url('photos/image/'.arg(2)).'"> ""<--- wrong part!""
\' class="image-quote-link">
' .t('Photo link: '). '
';
----
The function file_create_url() makes the url to the actual file... but it should just be the url to the node.
Can you please correct this for your next beta?
Thanks!
Comments
Comment #1
eastcn commentedthank, the next release will fix it
Comment #2
briskday commentedI am using 6.1.2, uploaded two albums worth of photos on a development site, then switched the domain to the live site, moved the 'files' directory to to the new location, now my image links look like this:
how do I fix it? help!
Comment #3
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.