posting this now, might be a no-brainier tomorrow, but JIC.
Here is the page:
http://demo.mediachurch.com/group.php?gid=5
The group image is not visible, but the article image is.
They're both
being created with similar code, and worked when they were
being produced on
the page (i just removed the link and placed it in a
function).
The images are not being created properly, and I'm not sure
why. I would
guess it has something to do with turning an & into
&, but I don't know
why it's doign it in only once instance...
The article code has already been placed into the
general_functions file,
and is working fine. The group picture is not.
Here is the code.
For the Group, where $k is hte image and $m is the size
if(!empty($k)){
$k='<img class="groupimg"
src="app/app_get_img.php?image_path='.$k.'&sz='.$m.'"
/>';
}
For the Article, where $i is the picture, and $j is the size:
if(!empty($i)){
$i='<img class="newsimg"
src="app/app_get_img.php?image_path='.$i.'&sz='.$j.'"
/>';
Here is the code produced for the Group Image:
<img class="groupimg"
src="app/app_get_img.php?image_path=images/art_ecbishopswalking_6_18_03.jpg&sz=article">
Here is code produced from Article Image:
<img class="newsimg"
src="app/app_get_img.php?image_path=40/darwindesk.jpg&sz=thumb">
Basically, I guess - what's causing me to lose my & and
how can I stop that?
--
TIA,
Jon Parkhurst
PriivaWeb
http://priiva.net.