| View previous topic :: View next topic |
| Author |
Message |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Thu Oct 29, 2009 3:58 pm Post subject: Spec Form API Widget: Image Selector |
|
|
Why is my large thumbnail showing a missing image?
The missing image below appears when I click on "Create New". Then when I click on a small thumbnail image thats when the large thumbnail image will show on the left.
Below print screen of demo site where the 1st small thumbnail is shown on the large thumbnail location.
I copy and paste the exact code from project files on the demo site.
HTML
[[Jersey]]
Advanced Script
var path = 'http://www.four51.com/Themes/Custom/../DocumentActions/images/Jersey/';
spec['Jersey'].imageSelector({
bordercolor: "red",
width: 460,
height: 200,
thumbnailsize: 40,
bgcolor: "#fff",
bordercolor: "#000",
highlightcolor: "#ff0",
rollovertext: "Click this to choose jersey",
images: [
path + 'dalhome.jpg',
path + 'dalroad.jpg',
path + 'dalthrow.jpg',
path + 'gbhome.jpg',
path + 'gbroad.jpg',
path + 'gbthrow.jpg',
path + 'indyroad.gif',
path + 'indythrow.jpg',
path + 'jaxhome.jpg',
path + 'jaxroad.jpg',
path + 'jaxthrow.jpg',
path + 'nehome.jpg',
path + 'neroad.jpg',
path + 'nethrow.jpg',
path + 'nyhome.jpg',
path + 'nyroad.jpg',
path + 'nythrow.jpg',
path + 'pithome.jpg',
path + 'pitroad.jpg',
path + 'pitthrow.jpg',
path + 'sdhome.jpg',
path + 'sdroad.jpg',
path + 'sdthrow.jpg',
path + 'seahome.jpg',
path + 'searoad.jpg',
path + 'seathrow.gif',
path + 'tbhome.jpg',
path + 'tbroad.jpg',
path + 'tbthrow.jpg',
path + 'tenhome.jpg',
path + 'tenroad.jpg',
path + 'tenthrow.jpg',
path + 'washome.jpg',
path + 'wasroad.jpg',
path + 'wasthrow.jpg',
]
});
The insightsfour51 blog you indicated not to use high resolution images to displayed in the form. How will that work for our production file which will required to use high resolution images?
Thank You. |
|
| Back to top |
|
 |
jrogalski Site Admin
Joined: 27 Nov 2007 Posts: 64
|
Posted: Fri Oct 30, 2009 1:33 pm Post subject: |
|
|
| Try putting in a default for that spec. The large image is currently blank, becuase you have not selected an image. |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Fri Oct 30, 2009 1:46 pm Post subject: |
|
|
Great! It works.
One more question how can we show the name of the image selected? as show on the demo site.
Thank You. |
|
| Back to top |
|
 |
jrogalski Site Admin
Joined: 27 Nov 2007 Posts: 64
|
Posted: Fri Oct 30, 2009 2:00 pm Post subject: |
|
|
| In this specific example, the Jersey spec should be set as the variant identifier. |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Fri Oct 30, 2009 2:07 pm Post subject: |
|
|
 |
|
| Back to top |
|
 |
jrogalski Site Admin
Joined: 27 Nov 2007 Posts: 64
|
Posted: Fri Oct 30, 2009 2:12 pm Post subject: |
|
|
| For this example, this is the spec 'Jersey'. That spec being exposed on the specform. |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Fri Oct 30, 2009 2:22 pm Post subject: |
|
|
I got it show by adding "debug: true,"
How can I have the default file name instead of the path when choose template.
see below:
 |
|
| Back to top |
|
 |
jrogalski Site Admin
Joined: 27 Nov 2007 Posts: 64
|
Posted: Fri Oct 30, 2009 2:33 pm Post subject: |
|
|
| Steve will have to answer this, as he created the product. Sorry. |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Fri Oct 30, 2009 2:41 pm Post subject: |
|
|
Ok.
Thank You for all your help. |
|
| Back to top |
|
 |
Steve
Joined: 17 Jan 2008 Posts: 337
|
Posted: Mon Nov 02, 2009 9:33 am Post subject: |
|
|
This is a known bug with the default values. It has been fixed and will be deployed with the next release. _________________ Steve
You can read about other advanced tech topics on the http://www.insightsfour51.com/?cat=3 |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Mon Nov 02, 2009 9:43 am Post subject: |
|
|
| Great! Thank You. |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Mon Nov 23, 2009 11:48 am Post subject: |
|
|
After I render the proof and then go back and make changes by clicking on Edit I would have to go back and reselect the photo if not than i get an error "The website cannot display the page"
On the demo site. If I go back to edit a job without reselecting the photos the proof show up ok.
Products > Spec Form API Demos > Spec Form API Image Selector Widget
Any help is greatly appreciated.
Thank You
MV |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Thu Dec 10, 2009 12:39 pm Post subject: |
|
|
After I render the proof and then go back and make changes by clicking on Edit I would have to go back and reselect the photo. If not than i get an error "The website cannot display the page"
On the demo site. If I go back to edit a job without reselecting the photos the proof show up ok.
Products > Spec Form API Demos > Spec Form API Image Selector Widget
You also indicated on the next release the "debug: true," will default to the file name instead of the path. Is this on the new release 12?
Any help is greatly appreciated.
Thank You
MV |
|
| Back to top |
|
 |
mvang
Joined: 29 Jan 2008 Posts: 80
|
Posted: Mon Jan 04, 2010 12:03 pm Post subject: |
|
|
Just a friendly follow-up on my previous post above.
MV |
|
| Back to top |
|
 |
Steve
Joined: 17 Jan 2008 Posts: 337
|
Posted: Wed Jan 06, 2010 11:08 am Post subject: |
|
|
| Steve wrote: | | This is a known bug with the default values. It has been fixed and will be deployed with the next release. |
Release 12 has not been performed. It will be performed on Jan 7th. _________________ Steve
You can read about other advanced tech topics on the http://www.insightsfour51.com/?cat=3 |
|
| Back to top |
|
 |
|