Welcome to TalkGraphics.com
Results 1 to 10 of 10

Hybrid View

  1. #1
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Named Objects WDP 17

    A while ago I started using a customisable audio player that relies on various parts of the player being named (filename="pause") etc. Very happy with the results.

    Updated to v17 and added a track to one of the sites. Player disappeared. Not very happy with the results.

    I don't mind fiddling, but does anyone have a direction into which I should fiddle? If it helps, the player is placed in the Head section of a place holder with only the player id in the body section. I've attached one of the pages that was working prior to the update.

    >> Player Problem.web <<

  2. #2
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Named Objects WDP 17

    Bit more info. I sent the .web file to a friend with v16.3. She didn't alter anything, just published and everything displays correctly.

    Conclusion: it has to be to do with the automatic naming of images that was introduced in v17.

  3. #3
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,830

    Info Re: Named Objects WDP 17

    Chris, if it helps, v17.0 publishes filename="Chris" as Chris_.jpg or Chris_.png, according to Xara notes.

    Acorn


    Code:
    <img class="xr_ap" src="index_htm_files/Chris_.jpg" alt="" title="" style="left:283px;top:108px;width:256px;height:256px;"/>
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  4. #4
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Named Objects WDP 17

    Quote Originally Posted by Acorn View Post
    Chris, if it helps, v17.0 publishes filename="Chris" as Chris_.jpg or Chris_.png, according to Xara notes.

    Acorn


    Code:
    <img class="xr_ap" src="index_htm_files/Chris_.jpg" alt="" title="" style="left:283px;top:108px;width:256px;height:256px;"/>
    You are correct once again.

    Now to find out if it's quicker/easier to use Find & Replace or to use v16 for the sites with the player. My inclination is to go with Find & Replace as I want to keep up with new releases.

  5. #5
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,830

    Default Re: Named Objects WDP 17

    Quote Originally Posted by Chris M View Post
    You are correct once again.
    Now to find out if it's quicker/easier to use Find & Replace or to use v16 for the sites with the player. My inclination is to go with Find & Replace as I want to keep up with new releases.
    For new & old ones, include the new Image Filename as well.
    The new v17 naming override the old approach but in v16 and under the Image Filename is not recognised.

    If that does not work, then some JS using document.querySelectorAll, split & join might.

    Let me know.

    Acorn
    Acorn - installed Xara software: Cloud+/Pro+ and most others back through time (to CC's Artworks). Contact for technical remediation/consultancy for your web designs.
    When we provide assistance, your responses are valuable as they benefit the community. TG Nuggets you might like. Report faults: Xara Cloud+/Pro+/Magix Legacy; Xara KB & Chat

  6. #6
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Named Objects WDP 17

    It's passionfruit liqueur time, but tomorrow I'll see if I can find the code that says 'look for Chris.png' and change it to 'look for Chris_ .png' and leave Xara name as filename="Chris".

    The theory will sound even better after another liqueur.

  7. #7
    Join Date
    Dec 2018
    Location
    Australia
    Posts
    1,776

    Default Re: Named Objects WDP 17

    My curiosity beat my desire to sip.

    I left the objects (images) named as filename="whatever" then delved into the Head section of the placeholder to find the path reference to whatever.png and changed it to whatever_.png. Worked like a charm.

    There are only 4 names per player that needed editing, so simple enough for me not to whinge.

    Click image for larger version. 

Name:	!player head.jpg 
Views:	101 
Size:	34.4 KB 
ID:	127034

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •