Naval Posted January 17, 2017 Share Posted January 17, 2017 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 Quote Link to comment Share on other sites More sharing options...
Dan Korn Posted January 17, 2017 Share Posted January 17, 2017 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"); } Quote Link to comment Share on other sites More sharing options...
Naval Posted January 18, 2017 Author Share Posted January 18, 2017 Thanks for that Dan. Much appreciated. I'll give it a shot Naval Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.