Embed setup difficulties
Posted: 11 Feb 2026, 01:24
Hello Karl,
I tried installing Embed a year or so ago, but gave up because I was unable to grasp how to set it up.
I'm trying again to set it up at this time, but before I waste time trying to do something that won't work, I wish to confirm the following:
At Step #2 (add Embed JS and CSS) on THIS page, I have the following on the page that I wish Embed to be displayed:
In the header:
...and at the bottom of the body:
Next, I've copied the Files Gallery 0.15.3 index.php file to the X3 gallery (on domain www.domain1.com), that I wish to embed on my non-X3 website at www.domain2.com
But I am stumped at Step #3 (Prepare Embed gallery container) on that Embed Setup Instructions page:
I assume that the "/path/index.php" above is a part of a URL path, and not for example part of a Windows directory path, am I correct?
So for Step #3, I have:
I am afraid that I have the above wrong, as it is not working.
What am I doing wrong?
Thanks in advance.
John
I tried installing Embed a year or so ago, but gave up because I was unable to grasp how to set it up.
I'm trying again to set it up at this time, but before I waste time trying to do something that won't work, I wish to confirm the following:
- I have X3.34.2 Pro installed on domain www.domain1.com
- I have also confirmed that Files works on that domain.
- I wish to use Embed on a non-X3 website, which is a PHP website on www.domain2.com
At Step #2 (add Embed JS and CSS) on THIS page, I have the following on the page that I wish Embed to be displayed:
In the header:
Code
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/embed.photo.gallery@0.15.3/css/embed.min.css">Code
<script src="https://cdn.jsdelivr.net/npm/embed.photo.gallery@0.15.3/js/embed.min.js"></script>But I am stumped at Step #3 (Prepare Embed gallery container) on that Embed Setup Instructions page:
Code
<div class="embed" data-embed-app="/path/index.php" data-embed-path="mygallery"></div>So for Step #3, I have:
Code
<div class="embed"
data-embed-app="https://www.domain1.com/galleries/gallery_that_I_wish_to_embed/index.php/"
data-embed-path="https://www.domain1.com/galleries/gallery_that_I_wish_to_embed/">
</div>What am I doing wrong?
Thanks in advance.
John


