Discussion Forums  >  Plugins, Customizing, Source Code

Replies: 6    Views: 93

Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
02/09/14 01:11 AM (11 years ago)

Quiz plugin not showing background image

The quiz plugin by David Book (now maintained by Chris1) is not showing the background image for a small device (backgroundImageNameSmallDevice) on iOS. This will be cross-posted into http://buzz-tools.com
 
fusionsch
I hate code!
Profile
Posts: 516
Reg: Dec 28, 2010
Montreux Switze...
11,610
like
02/09/14 11:18 AM (11 years ago)
Quite strange... It does show on my iPhone 5 (iOS 7.04)... But there are other issues: timer not showing, tab bar replaced by a white bar at bottom of screen...
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/11/14 12:16 AM (11 years ago)
Found the solution for a background image, do not specify the background color. ------------------ Old (wrong way): "backgroundColor": "#999999", "backgroundColorGradientTop": "#000000", "backgroundColorGradientBottom": "#ffffff", "backgroundImageNameSmallDevice": "WinnersBack.png", "backgroundImageOpacity": "100", ----------- Correct way (removed background color and removed background gradient) "backgroundImageNameSmallDevice": "WinnersBack.png", "backgroundImageOpacity": "100", --------- I have not seen the Gradient work yet, but it is being used in the code, that is how I learned about it. -- Niraj
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
02/15/14 04:50 PM (11 years ago)
Gradient works -- just don't specify the other options (background color or background image) "backgroundColorGradientTop": "#000000", "backgroundColorGradientBottom": "#ffffff", -- Niraj
 
mysps
Code is Art
Profile
Posts: 2082
Reg: May 14, 2011
Palma
33,320
like
02/24/14 05:04 AM (11 years ago)
thanks Niraj! one question though, did you get the image to work? i've set the opacity to 100 but still no luck ..
 
Niraj
buzztouch Evangelist
Profile
Posts: 2943
Reg: Jul 11, 2012
Cerritos
37,930
like
03/16/14 09:26 PM (11 years ago)
Yes -- the background image works.
 
AlanMac
Aspiring developer
Profile
Posts: 2612
Reg: Mar 05, 2012
Esher, UK
37,120
like
04/18/14 09:27 AM (11 years ago)
I am trying this in BT 2.0 Android and I can't see the background image. It works in BT 3.0. I haven't tried manually editing the json, just running with standard control panel options.
 

Login + Screen Name Required to Post

pointerLogin to participate so you can start earning points. Once you're logged in (and have a screen name entered in your profile), you can subscribe to topics, follow users, and start learning how to make apps like the pros.