0

When I move .gif into a new folder, it suddenly has a white background.

Michael Walters 11 years ago in iPad updated by Alexander Blach (Developer) 11 years ago 1

Greetings,


  I have been learning to code on my iPad using Treehouse's app, along with textastic. When I downloaded the project files from TeamTreehouse.com and unzipped them into textastic, the .gif files on the site look fine. However, when I copy the images into a different folder, the parts that are supposed to be transparent are suddenly white. When I try to import .gifs from my iPad's photo albums, the same thing happens.


This happens both when I look at the individual .gif files and when I view the site that I have coded. Is this a bug or am I doing something wrong? Thanks.

Textastic doesn't change the files it copies, so this sounds very weird to me. How do you copy the file into a different folder? Did you update the links in your HTML/CSS file?


For importing from photo albums, files can only be saved in either JPEG or PNG format. When you use the "+" button to import the file from the photo album, you can control which file format is used by entering the right file extension (.png or .jpg) in the file name field. If your image file has an alpha channel, you need to use .png.