Bug: HTML Export referencing local files

Home Forums Procoding Bug: HTML Export referencing local files

This topic contains 2 replies, has 1 voice, and was last updated by  audiocommander 6 years, 3 months ago.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #804

    Andy Buchanan

    Not a showstopper by any means since I’ve been making changes to the exported files anyway, but I just noticed that the HTML export img resources specify a src attribute which is the full path to the original local image file, not a relative path to the exported image resources.

    e.g. From /Users/andybuchanan/Documents/Code/Javascript/Sketches/VB/CanvasVectorBalls/Exports/vb/index.html:
    var wonkystar128x128 = document.createElement(‘img’);
    wonkystar128x128.id = ‘wonkystar128x128’;
    wonkystar128x128.src = ‘file://localhost/Users/andybuchanan/Documents/Code/Javascript/Sketches/VB/CanvasVectorBalls/vb.pro/resources/wonkystar128x128.png’;

    Cheers,
    Andy

    #806

    Andy Buchanan

    Forgot to say this is the OS X version. I don’t know what the iOS version does.

    #807

    audiocommander
    Keymaster

    Hi Andy,

    thanks a lot, what an unfortunate bug… it’s the same on iOS.
    Strangely enough it’s been only images, sound files and other resources were included correctly as relative path.

    It’s fixed and both apps will be updated shortly…

    Thanks again for reporting,
    Michael

Viewing 3 posts - 1 through 3 (of 3 total)

The topic ‘Bug: HTML Export referencing local files’ is closed to new replies.