[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] background images in td, Q for Racke?
Hi list
It seems to me that even with 4.8.3 this patch has not made its way in. I
found it in the archives, in a thred that I believe may havebeen solved by
Racke.
I am having trouble gettin background images showing up. I use them as:
<td width="100" background="__ELEMENT_DIR__/shadow.gif">
I use __ELEMENT_DIR__ up the ying yang everywhere else and it is fine, just
not in backgrounds. So I found this patch by Racke:
Quoting Racke:
> Other images are presented fine without the 'full path', so why is it
> that the background image is different? Just curious!
You may apply this patch:
diff -u -r1.29.4.3 -r1.29.4.4
--- Interpolate.pm 2000/10/20 10:18:42 1.29.4.3
+++ Interpolate.pm 2000/10/27 19:05:23 1.29.4.4
@@ -401,6 +401,9 @@
$1 . $dir . $2#ige;
$$text =~ s#(<body\s+[^>]*?background=")(?!https?:)([^/][^"]+)#
$1 . $dir . $2#ige;
+ $$text =~ s#(<t[dhr]\s+[^>]*?background=")(?!https?:)([^/][^"]+)#
+ $1 . $dir . $2#ige
+ if $Vend::Cfg->{Pragma}{substitute_table_image};
}
if($Vend::Cfg->{ImageAlias}) {
for (keys %{$Vend::Cfg->{ImageAlias}} ) {
and add the following to your catalog.cfg:
# Handles background attributes similar to <IMG SRC>
Pragma substitute_table_image
-------------------------------------------------------
I assume this patch is still relevent, even though it was posted in Jan
2001. My question is where do I apply this patch.
I am currently on a shared server and don't have access to alot of files,
but I soon will be moving to a dedicated server (scary! cause I am a
newbie). At that point I will have access to alot more. I am trying to get
things solved in advance, so when my own server is up I can try and patch it
right away.
Thanks all
Paul Jordan
"We don't need another hero, we don't need to know the way home" -> Tina
Turner
:)