Results 1 to 5 of 5

Thread: linking to iframe
      
   

  1. #1
    celkin01 is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default linking to iframe

    Ok this is going to be a long one. Hope someone has the patience to read it!
    I was givine this link to make a gallery http://metestsite.co.uk/image-in-iframe-gallery.html. Which is great! But I'm having problems.
    1) I am having trouble linking the first picture to the iframe so it appears when the page is first brought up. Maybe I am not linking it correct? My webpage is www.celebratedmoments.com and the link (not linked yet) is www.celebratedmoments.com/bridal_portraits.html
    Now, I need to put the url in the iframe for the picture and i have it as www.celebratedmoments.com/bridal_portraits/laughter.jpg is that incorrect?
    2)Also, my background color is black but the iframe is white. I have both landscape and portrait pictures so I need the iframe to be large enough to support both formats. When the pictures do show in the iframe there are white borders around it. Is there anything I can do about that?

  2. #2
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Problems with linking to iframe

    Quote Originally Posted by celkin01 View Post
    Ok this is going to be a long one. Hope someone has the patience to read it!
    I was givine this link to make a gallery http://metestsite.co.uk/image-in-iframe-gallery.html. Which is great! But I'm having problems.
    1) I am having trouble linking the first picture to the iframe so it appears when the page is first brought up. Maybe I am not linking it correct? My webpage is www.celebratedmoments.com and the link (not linked yet) is www.celebratedmoments.com/bridal_portraits.html
    Now, I need to put the url in the iframe for the picture and i have it as www.celebratedmoments.com/bridal_portraits/laughter.jpg is that incorrect?
    In the inline frame properties box add the url http://www.celebratedmoments.com/bridal_protraits.html
    2)Also, my background color is black but the iframe is white. I have both landscape and portrait pictures so I need the iframe to be large enough to support both formats. When the pictures do show in the iframe there are white borders around it. Is there anything I can do about that?
    Yes it will support both to get rid of the white "boarder" either reduce the size of your inline frame or add a black back ground to the pages with the images on them.

  3. #3
    celkin01 is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Problems with linking to iframe

    Quote Originally Posted by D'son View Post
    Yes it will support both to get rid of the white "boarder" either reduce the size of your inline frame or add a black back ground to the pages with the images on them.
    I am sorry, I don't understand.... I can't reduce the size of my inline frame because it has to support both the portrait pictures and the landscape pictures (so there is always going to be a border on one of them). As for changing the background on the pages with the images...I am simply linking the image to the iframe. How can I change the background on the image?

  4. #4
    D'son's Avatar
    D'son is offline Major General
    Join Date
    Apr 2008
    Location
    Illinois
    Posts
    2,580

    Default Re: Problems with linking to iframe

    You need a page with the larger image on it first before you can have it open in the iframe, you can have the black back ground on it so that when you make the iframe large enough for your biggest image the rest will not have a boarder around them.

  5. #5
    celkin01 is offline Sergeant
    Join Date
    Jan 2009
    Posts
    34

    Default Re: Problems with linking to iframe

    Ok, thank you! I didn't realize that. I suppose that will probably fix my linking problem as well.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49