Jump to content

Linking Graphics


Naval

Recommended Posts

Can anyone please help me as i am fairly new to fusion pro and would like to know if there is a way to link 2 different graphics together. I use fusion pro as part of Digital Storefront and i am doing a business card so i would like to know if for example my customer selects "Image 1.jpg" for front of the business card can than "Image 2.jpg" be atomically be selected for the back of the business card.

 

thanks for your help in advanced.

 

Naval

Link to comment
Share on other sites

Can anyone please help me as i am fairly new to fusion pro and would like to know if there is a way to link 2 different graphics together. I use fusion pro as part of Digital Storefront and i am doing a business card so i would like to know if for example my customer selects "Image 1.jpg" for front of the business card can than "Image 2.jpg" be atomically be selected for the back of the business card.

I would think that a Switch Wizard rule would be a great way to accomplish what's essentially a mapping. You would just select the field where the front graphic is specified and probably set the "Compare As" type to "File Name", then just set up the mappings, so that a value of ""Image 1.jpg" has a return value of "Image 2.jpg". Or you could do something like this in JavaScript:

switch (GetFileName(Field("FrontGraphic")).toLowerCase())
{
case "image 1.jpg":
	return CreateResource("Image 2.jpg");
case "image 3.jpg":
	return CreateResource("Image 4.jpg");
       // etc.
default:
	return CreateResource("dummy.jpg");
}

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...