Forum OpenACS Development: Loading of images on wimpy point

Collapse
Posted by Jack Purswani on
Hi

I need to know how openacs loads images as attachments. I am tryong to
get the wimpy point package to load an image as an attachment but I
cant seem to get it to recognise the address where the file is.

This is the section of the adp file that loads the image:

<if @attach_list.display@ eq "after_preamble">
          <img
src="@subsite_name@/attach/@attach_list.attach_id@/@attach_list.file_name@"
alt="@attach_list.file_name@">
</if>

Any ideas??

I have tried hard coding the address into the source section but that
doesnt help.

Apart from this problem I think that the wimpy package is pretty much
working... but I really want to get the attachment function working as
well.

Thanks.

Jack