Lay Theme Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    media library JS

    General Discussion
    2
    3
    63
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D
      d__m last edited by

      Hi @mariusjopen,

      I'm working on a site that involves using javascript (in the custom css/html header) to populate the gridder of a page with images. I'm wondering if you know of a clean way to access/refer directly to images uploaded to the media library from the header (e.g. I want to be able to populate an array with all image urls from a particular media library folder). Some options I've tried haven't worked properly, and I'm not sure the custom header was meant for workarounds involving PHP. Would appreciate any help, thanks!

      1 Reply Last reply Reply Quote 0
      • mariusjopen
        mariusjopen Global Moderator last edited by

        Dear @d__m
        that sounds like PHP to me. But maybe there is a jQuery solution. Or you host those images on Amazon S3.

        Best!

        Marius

        www.mariusjopen.world

        1 Reply Last reply Reply Quote 0
        • D
          d__m last edited by

          This post is deleted!
          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Post a link to where the problem is
          I don't answer or check forum DMs, please just post on the forum.
          Forgot your key, lost your files, need a previous Lay Theme or Addon version? Go to www.laykeymanager.com

          Before you post:

          Use the Search Feature. Maybe there is already a solution to your issue.

          1. Update Lay Theme and all Lay Theme Addons
          2. Disable all Plugins
          3. Go to Lay Options → Custom CSS & HTML, click "Turn Off All Custom Code ", click "Save Changes"
          4. Now see if your problem solved itself
          5. Go here, see if your problem is listed here:
          Troubleshooting

          When you post:
          1. Post a link to where the problem is
          2. If the problem is difficult to explain, post screenshots / link to a video to explain it

          Thanks!

          Online Users

          Q
          T

          Recent Topics

          • cart layout / big vertical menu conflict

          • back to home from any project should not go back to top at home

          • wordpress admin bar not showing on the frontend

          • T

            [Feature request] project descriptions left or right of thumbnail in element grid

          laytheme.com