Title |
Images with use Custom Attach fields |
Message Text |
Hallo Paul,
I want to show 1 image - logo.jpg (not thumbnail) by each link and I want to show 2 others images on details page.
I use for upload logo.jpg default attach field with name "filefield"...... and in displaylinks.tpl I use
<!-- BEGIN LINK ATTACHMENTS -->
<IF {ATTACHISIMAGE}><img src="download.php?id={LINKID}"></IF>
<!-- END LINK ATTACHMENTS -->
All is o.k.
After I add two new attach fields with name test1attach and test2attach and I upload 2 images (image1.jpj and image2.jpg).
Now I need show these images in detail page. I tried many way by manual, forum.. but without success.
When I use new attach fields for category and code for display images is
<img src="download.php?catid={CATID}&field=testcategory1attach">
image is correct displays.
Analogous code for display images by use custom link attach fields
<img src="download.php?linkid={LINKID}&field=test1attach"> is not works.
Thanks for help.
|
Rating |
0/5 based on 0 votes.
|
Ownership |
befeleme |
Views |
667 views. Averaging 0 views per day. |
Similar Topics |
|
Submission Date |
Jan 20, 2006 - 7:56 AM |