Index: openacs-4/packages/photo-album/www/photo.adp
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photo.adp,v
diff -u -r1.4 -r1.4.2.1
--- openacs-4/packages/photo-album/www/photo.adp 18 Nov 2003 22:59:03 -0000 1.4
+++ openacs-4/packages/photo-album/www/photo.adp 14 Apr 2004 14:10:45 -0000 1.4.2.1
@@ -12,7 +12,7 @@
- <img src="images/@path@/@title@" height="@height@" width="@width@" alt="@title@"/>
+ <img src="@system_url@@node_url@images/@path@/@title@" height="@height@" width="@width@" alt="@title@"/>
Index: openacs-4/packages/photo-album/www/photo.tcl
===================================================================
RCS file: /usr/local/cvsroot/openacs-4/packages/photo-album/www/photo.tcl,v
diff -u -r1.6 -r1.6.2.1
--- openacs-4/packages/photo-album/www/photo.tcl 26 Jan 2004 15:39:48 -0000 1.6
+++ openacs-4/packages/photo-album/www/photo.tcl 14 Apr 2004 14:10:45 -0000 1.6.2.1
@@ -44,6 +44,9 @@
set context [pa_context_bar_list $photo_id]
set root_folder_id [pa_get_root_folder]
+set system_url [ad_url]
+set node_url [site_node::get_url -node_id [ad_conn node_id]]
+
# to move a photo need write on photo, and old parent album
# and pa_create_photo on new parent album (which is check in the is_valid block)