The Official Website of AgoraCart and Agora.cgi
AgoraCart.com Demos Download AgoraCart User Manuals & Wiki Gold Members Forum Go Gold Now! Gold Version Memberships

AgoraCart.com

About
Features
Download
Payment Gateways
Send a Donation
Founders Club
BLOG: News & Updates

Showcases & Demos

AgoraCart Demos
Shop Live Stores

Downloads & Add-ons

Gold Version Downloads
DBwizz Database Mgr.
AgoraCart.com Store

Help & Support

User Manuals
Gold Version Users Forum
Gold Version Chat
Tech Support
Certified Agora Pros
Certified Designers
Hire a Freelancer

Gold Version Members

Member Benefits
Join Today!
Gold Members Home
Gold Version Users Forum
Gold Version Chat Rooms
Gold Version Downloads

For Store Owners

Merchant Accounts
Cool Resources
Advertise Here
"Powered by" Logos
Web Hosting Search

Misc.

Contact Us
MEET's Talking Guide
The Ancient Greek Agora






AgoraCart Free User Forums

This is the official FAQ and Cool Tips guide For the AgoraCart shopping Cart software


Official Sponsors of the AgoraCart Project:

       


RegisterSearchFAQLog in
Reply to topic Page 1 of 1
Dynamically adding pictures to product page
Author Message
Reply with quote
Post Dynamically adding pictures to product page 
If I have a file full of pictures for the product page, is there a way I can dynamically tie them to the appropriate product page. We have a huge file of pictures and it would take a LONG time to add them one by one. I would be using PHP to do this, if it's possible.

Any suggestions?

View user's profile Send private message
Reply with quote
Post  
Okay, you've got to elaborate a bit on what you are doing.
PHP & Agora do NOT work together, it will cause tons of cross-scripting errors and be a huge mess.

You can use tokens to display the images...
Images are always dynamically when using a database driven store.
For example the main image for a product is defined in it's "Image Filename" field and is displayed on the product page using the %%image%% token.
If you want to display other images, just use a user field in the database to put the image's file name and then in the product page use the following type of token:
<img src="%%URLofImages%%/%%userFieldTwo%%" border="0">

HTH!


_________________
God Bless!
Bonnie - AgoraCart Moderator

Get a Gold Membership
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger ICQ Number
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum