Welcome to TalkGraphics.com
Results 1 to 10 of 19

Threaded View

  1. #18
    Join Date
    Apr 2012
    Location
    SW England
    Posts
    17,918

    Default Re: Best Photo Gallery For Good Page Load

    @Sue, I have bundled a ZIP with all the necessary items to run 128 random images, so no need to provide you images: nano.zip.

    This is a simple testbed to tweak presentation.

    Construction

    A. Website Code head:
    <meta name="viewport" content="user-scalable=no, width=device-width, initial-scale=1, maximum-scale=1">
    <link href="https://cdn.jsdelivr.net/npm/nanogallery2@3/dist/css/nanogallery2.min.css" rel="stylesheet" type="text/css">
    <script src="https://cdn.jsdelivr.net/npm/nanogallery2@3/dist/jquery.nanogallery2.min.js"></script>
    The meta is probably not needed.

    B. Website Code body:
    <script src="index_htm_files/Content.txt"></script>
    This ensure the external data is brought into the website.

    C. Placeholder Body code:
    <div id="my_nanogallery2" data-nanogallery2 width=100% height=100%></div>
    The Placeholder also has a Name UsesJQuery.

    D. Content.txt:
    Sits in the external assets folder of the design file.
    Linked from text line 'Content' with Link to file.
    When changing, select this 'Content' and pick Link to file: Content.txt in the pop-up.

    Acorn
    Last edited by Acorn; 12 August 2023 at 10:18 AM.
    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

 

 

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
  •