Professional Web Applications Themes

laying 2 pics on each other - PHP Development

Hi, I have a site where I have pictures and frames for the pictures. Is it possible that user picks a picture (it opens in same or a new window) and then picks a frame (which is added to the border of the picture selected) to see how it looks. There will be different pictures and frames. Any idea of how this can be achieved, if not in php, some other way? Ashok....

  1. #1

    Default laying 2 pics on each other

    Hi,
    I have a site where I have pictures and frames for the pictures.
    Is it possible that user picks a picture (it opens in same or a new window)
    and then picks a frame (which is added to the border of the picture
    selected) to see how it looks. There will be different pictures and frames.

    Any idea of how this can be achieved, if not in php, some other way?

    Ashok.


    Ashok Guest

  2. #2

    Default Re: laying 2 pics on each other

    "Ashok" <ru> wrote in message news:d86t33$1siq$mtu.ru... 

    I think you would be better off looking into JavaScript and CSS to do that.


    Tony Guest

  3. #3

    Default Re: laying 2 pics on each other

    "Ashok" <ru> kirjoitti viestissä:d86t33$1siq$mtu.ru... 


    In php you can insert a picture into another picture with image_resize. But
    the simpler answer would be make a background-image of the frame to the
    content-image that has padding of which width is the width of the
    surrounding frame. That's how I would lay two images one over the other.

    Say you have a image of the frame. Frame width is 20px and content is 100px.
    So you make an image:
    <img src="content.jpg" width=100 style="padding:20px;
    background:url(frame.jpg);" />

    That works only for previewing. But if you want to make a permanent image,
    then you need to use image_resize()...
    --
    "I am pro death penalty. That way people learn
    their lesson for the next time." -- Britney Spears

    com


    Kimmo Guest

Similar Threads

  1. Form does not work when it?s laying in a movieclip
    By highlander_1 in forum Macromedia Flash Flashcom
    Replies: 2
    Last Post: November 3rd, 07:14 PM
  2. Laying Out Classifieds
    By Janelle_Evans@adobeforums.com in forum Adobe Indesign Windows
    Replies: 4
    Last Post: April 28th, 09:16 PM
  3. Need help laying a film over an image
    By GTP webforumsuser@macromedia.com in forum Macromedia Fireworks
    Replies: 4
    Last Post: October 11th, 09:53 PM

Bookmarks

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 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139