aloha I like to know how insert image in details....?????....![]()
aloha I like to know how insert image in details....?????....![]()
Last edited by cabesoul; 01-31-2006 at 10:31 AM.
Go to the Admin page > Database > AlterOriginally Posted by cabesoul
Add a text field (for example "image_picture") to hold your image path when you upload images (the images are automtically saved to the "upload_files" directory).
Edit the detail_link.html or browse.html template files, and include $image_picture variable between <% and %> anywhere you want the image to be shown, for example: <img src="<%$image_picture%>" border="0">.
but now how upload the picture and that picture appear for each link (different) search....![]()
Last edited by cabesoul; 02-01-2006 at 02:31 PM.
Hi, I have missed informing you about the field type. You should create a IMAGE type, not TEXT type. When you add a listing, you will see the image input box with browse button to upload your image. This is done automatically by INDEXU for IMAGE type fields. Sorry about that...Originally Posted by cabesoul
![]()
Last edited by santocki; 02-02-2006 at 10:43 AM.
goooooood broth.....thanks....![]()
Please not this does not work in detail.html.
Last edited by AnnaBella; 03-25-2006 at 07:28 AM.
hi.... try with detail_link.html......
....<tr class=tbl_normal>
<td colspan="2"><div align="center"><img src="<%$image_picture%>" border="0"></div></td>
</tr>
Hm, what´s wrong?
I added a field (image) in the backend. In frontend i can browse my directory to select an image and save the Link.(Image is still uploaded in the upload_dir Directory. Everything seems to be OK.
But when I take a look to my listing, I can´t see my picture, only the path to it , like this: upload_files\contact_logo_3.gif (frontend.gif)
When I go to the CP to edit this Listing, I can see the logo (backend.gif)
hat´s wrong?
Thanx,
Thomas
If your not using custom fields then do this :
<img src=http://www.yourwebsite.com/<%$photo_field_name%>>
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
I just added this as a custom field in the CP. hm...
But your Tip also works fine, thanx!
i meant, if you removed the tag in the detail_html page :
<%$custom_field_form%> and put the tags in manually you woudl get this problem. The custom field tag does it automatically.
Main IndexU sites : | Campsite Directory | Tourist Guide | Places2B | AfterDirectory <-- Half price submission using coupon DP50 (from just $11 premium, and $10 basic permanent )
How to user Admin/Database/Alter in Version 5.3?
its jsut moved, its been renamed "custom fields"