Php photo gallery TWG | JFUploader | TWG Flash upload | WFU | Forum

Get help for TinyWebGallery, the best image gallery. The forum is also home for the Joomla JFUploader, TWG Flash Uploader and the Wordpress flash uploader.
It is currently 22. Nov 2024, 11:05

This forum is readonly now. Please use the new forum if you don't find the answer to your question here. The new forum is at https://www.tinywebgallery.com/blog/forum/


All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 4 posts ] 
Author Message
PostPosted: 7. Dec 2018, 01:08 
Offline

Joined: 7. Dec 2018, 00:55
Posts: 2
I'm getting an error when trying to load an HTTPS page into an Advanced iFrame on a non-HTTPS site. The problem is that the iframe doesn't auto-size. And, there's an (shown below) about blocked content from a cross-frame.

Main page: http://www2.peachtreelighting.com/recessed-downlighting/

Targeted iframe: https://app.peachtreelighting.com/product/index.cfm?category=12&lightsource=35&header=false&footer=false

This iframe page includes the document.domain script (<script>document.domain='peachtreelighting.com';</script>)

Short code:

[advanced_iframe use_shortcode_attributes_only="true" src="https://app.peachtreelighting.com/product/index.cfm?category=12&lightsource=35&header=false&footer=false" width="100%" height="600" scrolling="auto" id="advanced_iframe" hide_page_until_loaded="true" onload_resize="true" onload_resize_delay="10" additional_height="20" document_domain="peachtreelighting.com" use_post_message="true"]

The error is:
DOMException: Blocked a frame with origin "http://www2.peachtreelighting.com" from accessing a cross-origin frame.

I would appreciate any suggestions, tips, or corrections to my configuration.

Thanks,
nagohmit


Top
 Profile  
 
PostPosted: 7. Dec 2018, 15:35 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
why don't you have https on your main page? and the subdomain is https?

If you have this scenario you need to use example 53:
http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/external-workaround-with-post-message#e53

Best, Michael


Top
 Profile  
 
PostPosted: 7. Dec 2018, 18:40 
Offline

Joined: 7. Dec 2018, 00:55
Posts: 2
Thanks for the reply, Michael.

I'm getting all subdomains working on https and will then come back to the iframe issue.


Top
 Profile  
 
PostPosted: 9. Dec 2018, 23:38 
Offline
Site Admin
User avatar

Joined: 1. Aug 2005, 12:53
Posts: 11232
o.k.

Best, Michael


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 26 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
cron
powered by phpbb | Datenschutz/ Privacy policy