Neil A Singh
Posts: 0
Joined: Fri Nov 09, 2012 8:35 pm

How to get Image in html panel

Can someone help me get an image in a custom html panel? I place my image in a new page ...use firebug to get location and it shows up when I test. But when I build the app the image is gone. Can someone help? Thanks in advance.

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to get Image in html panel

We did have a bug where images in the app wouldn't be exported when building a binary, but I need to get its status. Try this. Put the image somewhere on the Internet, and link to it instead in the app.

Neil A Singh
Posts: 0
Joined: Fri Nov 09, 2012 8:35 pm

How to get Image in html panel

My app does not require the internet, it is more of a information/brochure type app. If i put the image outside the html panel and add the code to center the image it remains left aligned, but shows up. I really need to center the image is there a way to fix this issue?

maxkatz
Posts: 0
Joined: Fri Aug 13, 2010 3:24 pm

How to get Image in html panel

How did you center the image?

Neil A Singh
Posts: 0
Joined: Fri Nov 09, 2012 8:35 pm

How to get Image in html panel

I used this code: Tiggzi('mobileimage16').parent().css('margin','auto');
Tiggzi('mobileimage16').parent().css('align','center');

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to get Image in html panel

Hello! You should put this code on screen load event

Tiggzi('mobileimage1').parent().css('margin','auto')
Tiggzi('mobileimage1').parent().css('align','center')

mobileimage1 - name of your img component

Image

Neil A Singh
Posts: 0
Joined: Fri Nov 09, 2012 8:35 pm

How to get Image in html panel

I have 3 images on my page, 2 of them are centered but the third will not and if I add more the will not center either. Please see images and tell what I am doing wrong . Image Image Image

Neil A Singh
Posts: 0
Joined: Fri Nov 09, 2012 8:35 pm

How to get Image in html panel

Ok I give up. I've concluded it cannot be done. What is the difference with your code and mine?

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

How to get Image in html panel

Are you sure you are using correct component's name in JS? If yes - please send us your project link (make it public) - http://help.gotiggr.com/documentation...

Return to “Issues”