Dynamic Image Issue
Posted: Sun Jan 30, 2011 8:52 pm
I'm having trouble implementing dynamic images for my reports. I want a the customers logo to appear on the page and therefore need to change the name of the JPG based on the customers ID. I've read the forum all day and tried everything I saw but nothing works.
I created an image object, and the only way I can get the image to appear is to enter the entire url in the Image URL tab.
I have a variable of the supplier id set as {supplier}, I also have the full image url (http://www.plantant.com/1000002.jpg) in the database and can access it with {Supplier_Info.logo}
I've tried the following with no success:
1. Entering in either the Image URL box or the Image Data box: http://www.plantant.com/{supplier}.jpg
2. Entering in either the Image URL box or the Image Data box: {Supplier_Info.logo}
2. Entering in either the Image URL box or the Image Data box (not that I think this one was gonna work, but wanted to try everything): {Image.FromFile(Supplier_Info.logo)}
The image just doesn't display. I don't get any errors. Is there a debug window I can enable?
I'm using this download: FXPHP_2011.01.25_Trial
Please help, I'm down to this and one other issue before we purchase!
I created an image object, and the only way I can get the image to appear is to enter the entire url in the Image URL tab.
I have a variable of the supplier id set as {supplier}, I also have the full image url (http://www.plantant.com/1000002.jpg) in the database and can access it with {Supplier_Info.logo}
I've tried the following with no success:
1. Entering in either the Image URL box or the Image Data box: http://www.plantant.com/{supplier}.jpg
2. Entering in either the Image URL box or the Image Data box: {Supplier_Info.logo}
2. Entering in either the Image URL box or the Image Data box (not that I think this one was gonna work, but wanted to try everything): {Image.FromFile(Supplier_Info.logo)}
The image just doesn't display. I don't get any errors. Is there a debug window I can enable?
I'm using this download: FXPHP_2011.01.25_Trial
Please help, I'm down to this and one other issue before we purchase!