I'm embedding a Google Map street view into an html page and trying to understand why "Untitled" displays in the iframe but not in the full page view. For example, if you view this location in the browser, you'll see "Wesleyan University" in the top left corner. Click the three vertical dots, click Share and Embed, then click the Embed a map tab, you'll see the preview displays "Untitled". I was hoping it would display "Wesleyan University". This happens for any location that doesn't have a street address. Why is the full page view title different from the embedded iframe title? Is there anything I can pass in the iframe URL to change the title? Or is there a way to remove that top left block from the embedded map all together?
Related
I have a page, home.html, which is just comprised of 2 iframes, iframeA and iframeB. The content of iframeA and iframeB are various links from my site. When I click on any link within iframeA or iframeB, I don't want that link to open within the iframe itself. Instead, I want the clicked link content to render in the entire existing browser window. Is there any way to achieve this simply, without complicated javascript?
So I am running into an issue that I cannot find an answer to. I am trying to put a tag on an image so that open graph will IGNORE that image. I have a share post button on my blog and facebook / pinterest always pulls the avatar image instead of the featured image. So I would like to put a tag on my avatar image to be ignored when sharing. I could put open graph information specifically on each image but then every post I have something to do, whereas if I could ignore the profile image it would work perfect.
Here is the standard iframe code they give for embedding.
Is there anything I can add to this that will change the target for the "View on Instagram" button that appears when you mouse over the word Instagram in the iframe? I'd prefer it opened a new tab or new window.
Here is the article where I currently have it embedded.
http://www.pdga.com/when-it-rains-it-pours
I haven't worked with embedding instagram media before, but this seems to be a common gripe (understandably). See this FAQ post on a wordpress plugin which I assume is similar to what you're using
That link is within the Instagram embed iframe, you cannot change it, if you don't want people to click and go out of your page, you can hide the top section of iframe like this: http://blog.initlabs.com/post/59132920494/how-to-position-a-section-of-iframe-in-a-div
I have added an image upload field in the basic page content type that comes with the standard Drupal installation. If the user uploads an image, I want it to be automatically displayed at the top of the page as a banner. Problem is, the image just gets added below the main content of my page under the heading 'Page image: '
How am I able to change the page layout so that the image is displayed where ever I want?
If I am understanding you correctly there are a couple of ways to go about this. One, create your basic page content with your image and then create a view that references that image, or a bunch of images, like a slideshow, and places these images in the "banner," region of the page.
You will need to add a filter in your view to only accept the page content type.
Hope this helps.
First you have to hide image field from admin/structure/types/manage/page/display, which is content type's manage display page. You can do this by selecting "Hidden" option in FORMAT column for image field. This will hide your image field when you view your node.
To display image field in banner region you can create an block type view to display only image field of basic page content type and position this block to banner region. This will display all image in basic page contents. To display only current viewed content image you have to apply contextual filter with these steps:
In edit view page click on add button in contextual filter and select
Content: Nid option and click apply.
Then select "Provide default value" from "WHEN THE FILTER VALUE IS NOT
AVAILABLE" and in "TYPE" field select "Content ID from URL" option and
click on apply.
Now if you view your basic page content image will be shown in banner region instead of display with node content.
I have a page that contains a lot of images, but it's a page designed to be in an iframe inside an other page. I dont want this page to be indexed to prevent visitors to be stuck in this iframe, but I want to make index all the pictures inside the iframe.
The iframe is a picture slider that opens over the page, there is previous/next buttons and the picture. I find bad to put in the meta robots "NOINDEX, FOLLOW" and to make a link on the pictures to the originial picture... because the picture is already fullscreen. My other option is to put a link back to the parent page, but because the iframe is opened over the page, it would be bad to have a page opened over the same page. what do I do ?
If I do not index this page, only my thumbnails will show up in google image. do you hate thumbnails in google images ?
I finally indexed the page and put a link back to the source page using a javascript condition : if the page is not opened in an iframe, show the link to go back to the previous source page.