Announcement

Collapse
No announcement yet.

Warning: A layout or style sheet specifies source files etc

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Warning: A layout or style sheet specifies source files etc

    This is a Swift/v18 upgrade for a client site. He has a number of images stored in subfolders in the Site Folder.

    I get this on error checking:

    Warning: A layout or style sheet specifies source files (with "SRC=" or "SRCSET=" commands) that do not exist in the specified location on your PC or network. Your site may still function correctly, provided the files are present in the expected location on the web. But your site preview may not be accurate.If you would like to refer to a file on your website outside your acatalog folder or within a subfolder of the acatalog folder, you should supply the full URL.stamp.jpg
    Stamp.jpg is referred to in the first fragment thus:
    Code:
    actinic-images\stamp.jpg
    If I remove the reference and run error checking again it picks up the image in the next fragment and so on and so on.

    I have removed original spaces in subfolder names and replaced with hyphens but this makes no difference.

    It is said in

    Code:
    https://community.sellerdeck.com/forum/knowledge-base/server-issues/problems-with-upload/46455-warning-the-html-specifies-source-files-with-src-commands-that-reside-in-di#post46455
    that it is a spurious message when images in subfolders are used in the design and does not apply to "products and sections".

    1. Does this mean that fragment images are treated like design images and must be in the Site folder?
    2. Does "products and sections" include fragments and there is a problem with the site?

    I have compacted and repaired etc.

    Support's unhelpful reply was to merely restate
    if the software does not find the image within the 'Site1' folder, then this message will be displayed
    suggesting they neither read the ticket fully nor looked at the snapshot.

    My problem is that the file IS correctly placed in a subfolder of the Sites folder as per the file properties:

    Sellerdeck v18\Sites\Client Store\actinic-images\stamp.jpg
    If the software does not find the image within the 'Site1' folder, then this message will be displayed
    The point of this ticket is that the message is repeatedly displayed when the image IS within the 'Site1' folder, or in this case the 'Client Store' folder.

    Sellerdeck v18\Sites\Client Store\actinic-images
    Can anyone please shed light as to why this is?

    Thank you

    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    #2
    Click image for larger version

Name:	frag-images-site-folder.jpg
Views:	107
Size:	197.0 KB
ID:	554053

    See Image.

    I saved all images specified as 'fragment images' with a different suffix (.png) into the 'Site' folder. There were no errors detected.

    This means that EITHER

    Tthe post mentioned above needs amending to say that fragment images must be in the site1 folder

    OR

    There is a bug - possibly Swift related as the client had no problem in v16

    OR

    My particular site has an issue

    If it is one of the last two I would be grateful if anyone knows how to resolve the issue.

    I was fortunate with this site that there were only a few fragment images!
    Jonathan Chappell
    Website Designer
    SellerDeck Website Designer
    Actinic to SellerDeck upgrades
    Graphicz Limited - www.graphicz.co.uk

    Comment


      #3
      I tested that here using identical folder and file names. No errors. However I only have an early Swift release and there may be newer versions.
      Norman - www.drillpine.biz
      Edinburgh, U K / Bitez, Turkey

      Comment


        #4
        Thank you Norman
        Jonathan Chappell
        Website Designer
        SellerDeck Website Designer
        Actinic to SellerDeck upgrades
        Graphicz Limited - www.graphicz.co.uk

        Comment

        Working...
        X