media library JS
-
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!
-
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
-
This post is deleted!
I don't answer or check forum DMs, please just post on the forum.
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