Go Back   MarcomCentral (PTI) and FusionPro User Communities > Software-Related Talk > FusionPro® Expression™

Notices

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old October 15th, 2012, 01:10 PM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default "Expressions" take FOREVER to load in my store

I'm having an issue with .fpx files taking a VERY long time to load a preview in my store. FusionPro files typically take less than 10 seconds whereas these .fpx files take well over a minute (sometimes 90 sec) to populate a name.

Any ideas on how to cut this time down? I'm thinking the max amount of time a customer will wait on something like this is 15 seconds.

If it would help I can give out my test site address, test username and password.

Thanks!

James
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
  #2  
Old October 15th, 2012, 03:58 PM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,293
Default Re: "Expressions" take FOREVER to load in my store

Re-save the FusionPro Expression template (FPX file) with a lower-resolution background image, and also with lower-resolution image characters, if you're using them. Large graphics can take a long time to process.

Also, you can see generally how long it takes to generate an FP Expression image if you preview the FusionPro VDP template in Acrobat. The catch is that you need to use some data that you haven't already used with the FPX template, since previously generated images are cached. Setting the current date and time should work for this purpose, with a Graphic rule like this:
Code:
var myPI = Resource("YourFPXResourceName");
myPI.AddData(FormatDate(new Date, "mm/dd/yyyy, h:nn:ss a"));
return myPI;
Then you can modify the FPX file locally and simply preview in Acrobat to tweak the preview time before uploading to MarcomCentral.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #3  
Old October 16th, 2012, 05:35 AM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default Re: "Expressions" take FOREVER to load in my store

That makes sense and I knew that making the images smaller would help, but these files need to be printed at full resolution. Is there a way to make the preview template low res, but once they purchase it, it's saved as the full resolution image? The images we're talking about are 6x18", 8x16", 12x16" & 12x18".

Thanks for your help Dan!

James
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
  #4  
Old October 16th, 2012, 10:34 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,293
Default Re: "Expressions" take FOREVER to load in my store

Quote:
Originally Posted by James View Post
That makes sense and I knew that making the images smaller would help, but these files need to be printed at full resolution. Is there a way to make the preview template low res, but once they purchase it, it's saved as the full resolution image? The images we're talking about are 6x18", 8x16", 12x16" & 12x18".
You could upload both the high-res and low-res versions of the FPX files, and then do something like this in your rules:
Code:
var myPI = Resource("YourFPXResourceName");
if (IsPreview())
    myPI = Resource("YourDownsampledFPXResourceName");
    
myPI.AddData("some text here");
return myPI;
FP Expression does save downsampled versions of the background and foreground images in the FPX file, but for really large graphics, these automatically downsampled graphics can still be so large that they take a while to process. Thus you may have better results from a manual downsampling.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #5  
Old October 16th, 2012, 11:23 AM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default Re: "Expressions" take FOREVER to load in my store

I will give this a try and let you know how it turns out.

Thanks Dan!

James
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
  #6  
Old October 23rd, 2012, 07:46 AM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default Re: "Expressions" take FOREVER to load in my store

Sorry, I got sidetracked by another project for a few days.

Is this what I need to do to make my Expression work correctly? When I validate, it doesn't show any errors, but I'm not sure if it will work properly in our store.

Code:
return PersonalizedImage ("CITY138P_DS", Field ("Name"));

var myPI = Resource("CITY138P");
if (IsPreview())
    myPI = Resource("CITY138P_DS");
    
myPI.AddData("some text here");
return myPI;
Please forgive my ignorance Dan, I'm a novice at JavaScript.

James
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
  #7  
Old October 23rd, 2012, 08:01 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,293
Default Re: "Expressions" take FOREVER to load in my store

Quote:
Originally Posted by James View Post
Sorry, I got sidetracked by another project for a few days.

Is this what I need to do to make my Expression work correctly? When I validate, it doesn't show any errors, but I'm not sure if it will work properly in our store.

Code:
return PersonalizedImage ("CITY138P_DS", Field ("Name"));

var myPI = Resource("CITY138P");
if (IsPreview())
    myPI = Resource("CITY138P_DS");
    
myPI.AddData("some text here");
return myPI;
Remove that first line and you should be good. It should use the downsampled version in Preview in Acrobat as well as in MarcomCentral.
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #8  
Old October 23rd, 2012, 08:27 AM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default Re: "Expressions" take FOREVER to load in my store

Ok, when I remove that top line, it no longer uses the value in my preview record, it adds "some text here". I'm attaching what it should look like vs. what it does look like.

Thanks Dan. Once again, sorry for my ignorance.

Screen-shot.jpg
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
  #9  
Old October 23rd, 2012, 08:41 AM
Dan Korn's Avatar
Dan Korn Dan Korn is offline
FusionPro Senior Engineer / Forum Moderator
 
Join Date: Aug 2008
Location: Chicago, IL
Posts: 4,293
Default Re: "Expressions" take FOREVER to load in my store

Quote:
Originally Posted by James View Post
Ok, when I remove that top line, it no longer uses the value in my preview record, it adds "some text here".
Well, you still need to tell it to use the field value instead of the string "some text here":
Code:
var myPI = Resource("CITY138P");
if (IsPreview())
    myPI = Resource("CITY138P_DS");
myPI.AddData(Field("Name"));
return myPI;
__________________
Dan Korn
FusionPro Developer / JavaScript Guru / Forum Moderator
PTI Marketing Technologies | Printable | MarcomCentral
LinkedIn

I am a not a Support engineer, and this forum is not a substitute for Support. My participation on this forum is primarily as a fellow user (and a forum moderator). I am happy to provide help and answers to questions when I can; however, there is no guarantee that I, or anyone else on this forum, will be able to answer all questions or fix any problems. If I ask for files to clarify an issue, I might not be able to look at them personally. I am not able to answer private messages, emails, or phone calls unless they go through proper Support channels. Please direct any sales or pricing questions to your salesperson or inquiries@marcom.com.

Complex template-building questions, as well as all installation and font questions or problems, should be directed to FusionProSupport@marcom.com. Paid consulting work may be required to fulfill your template-building needs.

This is a publicly viewable forum. Please DO NOT post fonts, or other proprietary content, to this forum. Also, please DO NOT post any "live" data with real names, addresses, or any other personal, private, or confidential data.

Please include the specific versions of FusionPro, Acrobat, and your operating system in any problem reports or help requests. I recommend putting this information in your forum signature. Please also check your composition log (.msg) file for relevant error or warning messages.

Please post questions specific to the MarcomCentral Enterprise and Web-to-Print applications in the MarcomCentral forum. Click here to request access. Or contact your Business Relationship Manager (BRM/CPM) for assistance.

Please direct any questions specific to EFI's Digital StoreFront (DSF) to EFI support.

How To Ask Questions The Smart Way

The correct spellings are JavaScript, FusionPro, and MarcomCentral (each with two capital letters and no spaces). Acceptable abbreviations are JS, FP, and MC (or MCC). There is no "S" at the end of "Expression" or "Printable"! The name of the product is FusionPro, not "Fusion". "Java" is not is not the same as JavaScript.

Check out the JavaScript Guide and JavaScript Reference! FusionPro 8.0 and newer use JavaScript 1.7. Older versions use JavaScript 1.5.

return "KbwbTdsjqu!spdlt\"".replace(/./g,function(w){return String.fromCharCode(w.charCodeAt()-1)});
Reply With Quote
  #10  
Old October 23rd, 2012, 11:48 AM
James's Avatar
James James is offline
Junior Community Member
 
Join Date: Sep 2012
Location: O-H-I-O
Posts: 25
Default Re: "Expressions" take FOREVER to load in my store

I uploaded the template and published it in our store, but when I downloaded it from our dashboard and printed it, it printed the low-res version.

Any ideas on what I did wrong?
__________________
James Williamson
Artist. Poet. Token Fat Guy.
www.pennylanepublishing.com
FusionPro 8.1.2 • Acrobat 9.5.2 • Mac OSX 10.6.8
Do you like Hip Hop music? www.ogrefury.com
Reply With Quote
Reply

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 02:44 PM.


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