Forum Four51° Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Spec Form API Widget: Image Selector
Goto page 1, 2  Next
 
Post new topic   Reply to topic    Forum Four51° Forum Index -> Pageflex (L3 - L4)
View previous topic :: View next topic  
Author Message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Thu Oct 29, 2009 3:58 pm    Post subject: Spec Form API Widget: Image Selector Reply with quote

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
View user's profile Send private message
jrogalski
Site Admin


Joined: 27 Nov 2007
Posts: 64

PostPosted: Fri Oct 30, 2009 1:33 pm    Post subject: Reply with quote

Try putting in a default for that spec. The large image is currently blank, becuase you have not selected an image.
Back to top
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Fri Oct 30, 2009 1:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
jrogalski
Site Admin


Joined: 27 Nov 2007
Posts: 64

PostPosted: Fri Oct 30, 2009 2:00 pm    Post subject: Reply with quote

In this specific example, the Jersey spec should be set as the variant identifier.
Back to top
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Fri Oct 30, 2009 2:07 pm    Post subject: Reply with quote

Back to top
View user's profile Send private message
jrogalski
Site Admin


Joined: 27 Nov 2007
Posts: 64

PostPosted: Fri Oct 30, 2009 2:12 pm    Post subject: Reply with quote

For this example, this is the spec 'Jersey'. That spec being exposed on the specform.
Back to top
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Fri Oct 30, 2009 2:22 pm    Post subject: Reply with quote

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
View user's profile Send private message
jrogalski
Site Admin


Joined: 27 Nov 2007
Posts: 64

PostPosted: Fri Oct 30, 2009 2:33 pm    Post subject: Reply with quote

Steve will have to answer this, as he created the product. Sorry.
Back to top
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Fri Oct 30, 2009 2:41 pm    Post subject: Reply with quote

Ok.
Thank You for all your help.
Back to top
View user's profile Send private message
Steve



Joined: 17 Jan 2008
Posts: 337

PostPosted: Mon Nov 02, 2009 9:33 am    Post subject: Reply with quote

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
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Mon Nov 02, 2009 9:43 am    Post subject: Reply with quote

Great! Thank You.
Back to top
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Mon Nov 23, 2009 11:48 am    Post subject: Reply with quote

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
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Thu Dec 10, 2009 12:39 pm    Post subject: Reply with quote

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
View user's profile Send private message
mvang



Joined: 29 Jan 2008
Posts: 80

PostPosted: Mon Jan 04, 2010 12:03 pm    Post subject: Reply with quote

Just a friendly follow-up on my previous post above.
MV
Back to top
View user's profile Send private message
Steve



Joined: 17 Jan 2008
Posts: 337

PostPosted: Wed Jan 06, 2010 11:08 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Forum Four51° Forum Index -> Pageflex (L3 - L4) All times are GMT - 5 Hours
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group