Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > The JavaScript Library > Graphic Rules

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 27th, 2009, 12:56 PM
Allegra Allegra is offline
Junior Community Member
 
Join Date: Jun 2009
Posts: 14
Cool how do I place uploaded graphics onto a form

I am trying to create a versioned peice where customers can upload a map that will inturn be inserted onto the coupon. However, I cannot seem to find a rule that works in returning the uploaded image. At the moment i am using the rule

return CreateResource(Field("UploadFile"), "graphic");
->in this case, the field "UploadFile" is not a real field, but i was hoping it counted as any uploaded file.

I have tried using:

return CreateResource(Field("Graphic Name"), "graphic");
->in this case, the field "Graphic Name" was a field they could type in the actual graphic name.

return CreateResource(Field("StoreNumber")+"map.eps", "graphic");
->in this case, i tried to use a standard naming procedure so they upload a map 12345map.eps if their store number is 12345

Unfortunately, none of these rules has worked for me. Has anyone made any rules that use uploaded graphics, and can you post that rule here?

Thanks,
Meir Galimidi
Allegra Print & Imaging


[I am using windows XP, fusion pro desktop 5.8, adobe acrobat profesional 8]
Reply With Quote
  #2  
Old July 27th, 2009, 02:46 PM
Brian F.'s Avatar
Brian F. Brian F. is offline
Regular Contributor
 
Join Date: Sep 2008
Location: Pennslyvania
Posts: 74
Default Re: how do I place uploaded graphics onto a form

Meir,

You might be over thinking this unless I'm missing something. In the place where you want the map to go just create a graphic box in your layout and set up a field in your form defined as "graphic" instead of "text". You can then designate the field as an "image-drop down menu" field in your form in the manager and set it to allow the user to upload an image.

The graphic box in the layout can be set so the image will scale to the size of the box. You can also set up options for the field in your form to let the user "crop" his image to fit the space when they upload it.

Even if your coupon is a variable image behind it, you just set your layers in the layout so the map image is on top.

Hope this helps.
Reply With Quote
Reply

Tags
createresource, graphic, uploaded

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 05:32 AM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
(c) 2011, PTI Marketing Technologies™, Inc.