Image widget

Follow

Comments

15 comments

  • Avatar
    thomaslsimpson

    I would love to know how to dynamically remove elements from a page. Adding them works well via the page.add() method but there does not appear to be a way to remove them?

  • Avatar
    richard

    Call remove() on the object you want to remove from the page, e.g.

    ui.myImage.remove();

    Or just hide the object with

    ui.myImage.hidden(true);

     

  • Avatar
    pmjones

    hi i am creating my first app on here and looking at the image and can not add new files? the progress bar is not visible? how can i get this or have i done something wrong? 

     

    thank you

  • Avatar
    ben

    Hi pmjones,

    There's a tutorial about using the Files Tab here, but also just a few questions so we can understand the problem a bit better:

    • What file type are the images you're trying to upload (e.g. JPG, PNG)?
    • What size are the files?
    • Do the file names appear in the file structure in the Files Tab at all?
    • Are the files being added to the "default" folder by mistake?
  • Avatar
    Creative Wiltshire

    hi, I have problem with image widget. I uploaded image which width is 320px to cover full width of the screen, but the image widget doesn't want to go more than 319px which makes 1px white gap on the edge of the screen. How to fix this? I tried to resize it by dragging the corner or by editing image properities but it simply goes back to 319px. Is there any way to fix this? Thanks.

  • Avatar
    ben

    Hi Creative WIlltshire. Is the X property set to 1? I was able to just create a Image Widget at x=0 y=0, with width 320 without problems.

  • Avatar
    Creative Wiltshire

    Hi Ben, thanks for quick reply. 
    Yes, x is set to 0, and I tried both: first setting the widget width and then applying image, or applying image and then changing width, in both cases width is changed back to 319px... I type in 320 press enter, it comes back to 319, and the little plus next to it doesn't work over 319. The image in Files shows as 320x460, so the size seems to be right, have the same problem with other images too. I'm using Chrome on win7. 

  • Avatar
    ben

    HIya. Thanks for the update - that is odd. I wonder if it's Windows 7 thing as I tried exactly what you described on my Mac and it behaved as I expected. There's a 'constrain to canvas' feature which is presumably misbehaving for some reason. I may be able to turn it off - I'll have a look to see if that's straightforward.

  • Avatar
    ben

    Ok - I've made the change now. If you reload your project you should be able to make images equal to, or even wider than the page. If nothing has changed try emptying your cache.

  • Avatar
    Pieter Theunissen

    Hi,

    I'm new to AppFurnace so still trying to figure things out! Now i'm trying to upload a image without a background (like a logo), so i saved the image as a .png file in photoshop and upload it. 
    In the Files Tab the picture shows without a background, but when i place it in the Layout Tab the image gets a black background, how come?

    Thanks in advance.

  • Avatar
    richard

    Pieter,

    welcome. The image widget has a background colour. Select the image widget and look at the property panel on the right. Select the second tab (shape, color, border & shadow). Click on the Pick button next to the background color input and select transparent (a red cross) from the color picker. Or just type transparent in the input box.

    Hope that helps

    Richard

  • Avatar
    Pieter Theunissen

    Thank you for the quick reply, i got it done now. I did not see the red cross/tansparent option at the color picker, :S. Thanks again for the help! Gr

  • Avatar
    EllenBell

    Hi there, just a quick query with regards to updating my app to make it compatible with the iPhone 5 screen. Should I now make my image@2x.jpg files 640 x1136 pixels and leave image.jpg files at 320x480?

    Also do I need to change the video compression setting in handbrake from iPhone & iPod?

    Thanks

    Ellen

  • Avatar
    saraz

    hi, im new i have managed to add pictures but the image wont show up its just blank. 

    help please.

  • Avatar
    kieron

    Hi saraz,

    What kind of image file are you using? And does the image widget you've added have a background colour in it's properties panel? For transparent images this can sometimes be a problem.

Please sign in to leave a comment.

Powered by Zendesk