Hi,
Can anyone tell me if this is possible?
What I would like to do is pass an image object through SiteHTML (or anything that will work) and have it displayed in the page by replacing the given tag (Photo) below.
This is what I've got below, but the image is coming up all garbeled "N'x)r?eýœ&3œ" so there's something wrong with the headers I'm guessing.
Does anyone know if it's possible, or where I can set it right?
# return page with preview img in it
print $IN->header();
print Links::SiteHTML::display('preview', {%$rec, Photo => "$img"});
return;
Cheers,
Regan.
Can anyone tell me if this is possible?
What I would like to do is pass an image object through SiteHTML (or anything that will work) and have it displayed in the page by replacing the given tag (Photo) below.
This is what I've got below, but the image is coming up all garbeled "N'x)r?eýœ&3œ" so there's something wrong with the headers I'm guessing.
Does anyone know if it's possible, or where I can set it right?
# return page with preview img in it
print $IN->header();
print Links::SiteHTML::display('preview', {%$rec, Photo => "$img"});
return;
Cheers,
Regan.