Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. A Question About Picture Frames

A Question About Picture Frames

Scheduled Pinned Locked Moved Web Development
questionadobe
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    Roger Wright
    wrote on last edited by
    #1

    I've seen photography sites where, around each photo, a picture frame is displayed. How is this done? My first guess would be to set the background of each data cell in a table to a transparent frame image, then use an IMG tag to load the picture over it. The picture would have to be resized to be slightly smaller than the frame image, though, and might get screwed up by oddball monitor resolutions. Would that work? What other technique would you suggest? "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

    P J 2 Replies Last reply
    0
    • R Roger Wright

      I've seen photography sites where, around each photo, a picture frame is displayed. How is this done? My first guess would be to set the background of each data cell in a table to a transparent frame image, then use an IMG tag to load the picture over it. The picture would have to be resized to be slightly smaller than the frame image, though, and might get screwed up by oddball monitor resolutions. Would that work? What other technique would you suggest? "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

      P Offline
      P Offline
      palbano
      wrote on last edited by
      #2

      Well one drastically different way would be to generate framed images with a program and use the new image on the site. Thus eliminating all HTML, CSS browser compatibility delightfulness. You could use the app dynamically or when the image is added to the site. From the little I know of the .NET framework and ASP.NET I would think that would be fairly easy to do dynamically.

      "No matter where you go, there your are." - Buckaroo Banzai

      -pete

      1 Reply Last reply
      0
      • R Roger Wright

        I've seen photography sites where, around each photo, a picture frame is displayed. How is this done? My first guess would be to set the background of each data cell in a table to a transparent frame image, then use an IMG tag to load the picture over it. The picture would have to be resized to be slightly smaller than the frame image, though, and might get screwed up by oddball monitor resolutions. Would that work? What other technique would you suggest? "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

        J Offline
        J Offline
        Josh Koppang
        wrote on last edited by
        #3

        I have a solution that does exactly what you want. goto: http://lab.msdn.microsoft.com/express/vwd/default.aspx[^] download Visual Web Developer Express (it's free) After installing it, goto: File -> New Website Select the "Personal Web Starter Kit" Goto: Debug -> Start Explore the pages and find one with the frame around the photo. (defautl.aspx has one) Open the CSS file that has the style for that image (in the folder: Themes -> White -> Default.css) Look for the style: .photo-frame .topx-- {...} All of the styles that have the .photo-frame will help you. I know this might seem like overkill, but you can see how the people that wrote ASP.NET would put a frame around a photo, and you know that this way of doing it is probably the best. There's a fine line between confidence and arrogance.

        R 1 Reply Last reply
        0
        • J Josh Koppang

          I have a solution that does exactly what you want. goto: http://lab.msdn.microsoft.com/express/vwd/default.aspx[^] download Visual Web Developer Express (it's free) After installing it, goto: File -> New Website Select the "Personal Web Starter Kit" Goto: Debug -> Start Explore the pages and find one with the frame around the photo. (defautl.aspx has one) Open the CSS file that has the style for that image (in the folder: Themes -> White -> Default.css) Look for the style: .photo-frame .topx-- {...} All of the styles that have the .photo-frame will help you. I know this might seem like overkill, but you can see how the people that wrote ASP.NET would put a frame around a photo, and you know that this way of doing it is probably the best. There's a fine line between confidence and arrogance.

          R Offline
          R Offline
          Roger Wright
          wrote on last edited by
          #4

          Nice link! Thanks... But do you know if installing it will interfere with the existing .Net 1.1 installation and tools I already have installed. I get nervous about these things, since they almost always break something seriously. "My kid was Inmate of the Month at Adobe Mountain Juvenile Corrections Center" - Bumper Sticker in Bullhead City

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups