Skip to main content
Participant
September 27, 2019
Question

HTML5 Canvas: Publish images without creating an image folder

  • September 27, 2019
  • 6 replies
  • 1227 views

We use Animate to create animated digital ads in HTML5 which we publish, compress and send to a vendor. Our vendor this year has decided that our images cannot be in a subdirectory; they must be in the main folder with the other assets (HTML file, javascript file). I have looked a the Publish Options in Animate and I am able to change the name of the images subdirectory but I don't seem to be able to remove it or change the destination that images are sent to; does anyone know of a way to publish through animate and have the images placed not within an image folder but with all of the other assets in the main directory? I'm really hoping that there's a solution here that doesn't require me to go in and change the code on the published files.

This topic has been closed for replies.

6 replies

PerscitiaAuthor
Participant
September 27, 2019

You guys are all great. Thanks for the quick reply! 

avid_body16B8
Legend
September 27, 2019

Thanks, but I think Clay is correct. It seems you can click on the folder without unchecking Publish as Texture.

Good luck on your project! 🙂

PerscitiaAuthor
Participant
September 27, 2019

Thanks!!! I hadn't tried unchecking Export document as Texture first. It works!!

Legend
September 27, 2019

Umm, just click the folder button next to images to publish to the project root.

JoãoCésar17023019
Community Expert
Community Expert
September 27, 2019

Wow. Never noticed that those folders are buttons that can be toggled on/off.

JoãoCésar17023019
Community Expert
Community Expert
September 27, 2019

Hi.

 

I delete my previous answer. Please check out Clay's answer.

 

 

Regards,

JC

avid_body16B8
Legend
September 27, 2019

If you look in publish settings there is a tab for Images Settings and y6ou should be able to change it to the root folder. In the image below it is in the image folder but it can be change.

  •  uncheck Export document as texture.
  • change to root
  • recheck Export document as texture. 

I have not tested it. So try and let us know.