- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I want to source an html page within an iframe in the html code within a standard page
Visually:
standard page -> html code -> iframe -> source an asset (html file) within the site's "Asset" folder
My question: What is the filepath to the site assets? I need the whole file path in order to use it for the "source" argument of the iframe element.
Again, I am simply looking for the file path to the site assets folder - likely something standard across client accounts... I already uploaded the asset (in this case an html document).
HTML code: <iframe height="600" width="100%" src="~/buildingKeyspaces_verI_full.html" name="iframe_a"></iframe>
Thanks!!!
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Just a recap, as I had this issue today myself and spent quite some time on it as it wasn't working (for one or more of the following reasons)
The correct way to specify the filepath is :
a) with a forward slash in the beginning
i.e. /files/theme/mypicture.png
b) including any custom folders within the assets section under which the file resides (/files/theme is the mandatory path, the root of the assets section, so any additional folders come after that)
i.e. /files/theme/images/mypicture.png, /files/theme/MyFiles/mypicture.png
c) paying attention to letter case as the path is case sensitive
i.e. /files/theme/images/mypicture.png is different to
/files/theme/Images/mypicture.png and also to
/files/theme/images/Mypicture.png
HTH

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I replied to your other post about this, but just for reference this is the path to a file uploaded to the assets folder:
/files/theme/myfile.extension
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Suggestion: Add the path info to this doc:
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Good suggestion! There should be a form on the bottom of that page where you can submit that idea.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
@Adam wrote:Good suggestion! There should be a form on the bottom of that page where you can submit that idea.
Don't see such a form.
Also, is not the file path technically:
files/theme/myfile.extension
so it should be coded something like this:
link rel="stylesheet" href="files/theme/my_stylesheet.css"
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
That would work too - the initial forward slash is optional. You don't see a Doc Feedback form way at the bottom of this page?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hi. This is not working for me.
I uploaded the image, added an Embed Code block, then added the following code:
<img src="/files/theme/myfilename.jpg">
Nothing is happening. Please advise.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I think this might be because your site is un-published, @ThomasG. Try publishing and see how it goes.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Thanks, Adam. Unfortunately that doesn't seem to be the issue.
I had tried while it was published (I only publish it while I'm working on it, which is why you see it as unpublished), and I just tried again to be certain. The image is still not appearing. Also tried another image and that's not working either. The images are not corrupted; they open normally in Preview, Photoshop, etc.
Any other suggestions?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
I did a little testing on a test site of my own, and this file path worked for me when I added an image to the "images" folder within the "assets" folder:
/files/theme/images/filename.extension
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
ok thanks. two things:
1. you just said it's:
/files/theme/images/filename.extension
but in a previous post you said it's:
/files/theme/filename.extension
which one is correct?
2. what is the correct code for displaying an uploaded image using Embed Code? i've tried both <img src="/files/theme/images/filename.extension.png"> and <img src="/files/theme/filename.extension.png"> but neither one works.
thank you.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
The second example I gave is correct - we updated some things with the theme editor and the path changed.
If your file is called "myimage.png", then the image code would look like this:
<img src="/files/theme/images/myimage.png" />
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
yes, now it's working. thanks for your help.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Awesome! Glad to hear that.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Hello Adam:
Thank you for addressing the issue raised by Thomas. Do I use exactly the terms "files/theme/images" or do I replace these words by ones specific to my website?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
If you click the gear icon directly to the right of "images" you can upload your image to that folder, by the way.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
thanks.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Just a recap, as I had this issue today myself and spent quite some time on it as it wasn't working (for one or more of the following reasons)
The correct way to specify the filepath is :
a) with a forward slash in the beginning
i.e. /files/theme/mypicture.png
b) including any custom folders within the assets section under which the file resides (/files/theme is the mandatory path, the root of the assets section, so any additional folders come after that)
i.e. /files/theme/images/mypicture.png, /files/theme/MyFiles/mypicture.png
c) paying attention to letter case as the path is case sensitive
i.e. /files/theme/images/mypicture.png is different to
/files/theme/Images/mypicture.png and also to
/files/theme/images/Mypicture.png
HTH

- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Thanks for posting that, @GThalassinosNet! I marked your post as a solution to make it easier for people to find it.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report
- Subscribe to RSS Feed
- Mark Thread as New
- Mark Thread as Read
- Float this Thread for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
It works great!!