473,383 Members | 1,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

Need your ideas.... (dynamic picture frame)

I am creating an online, interactive, art gallery using ASP.NET.

I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look like
together and they can purchase it online. It's kind of like an interactive
framining page.

What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.

3 Images (1 for frame, 1 for matte, 1 for picture) on top of each other?
Panels? Any ideas?

Thanks.
Nov 19 '05 #1
6 1978
How about a 9x9 cell table, with the outer cells holding images of the
chosen frame, the inner one cell holding the image of the picture.

Obviously you'd have to chop your frame into 9 chunks, the top/bottom/side
edges could be repeating background of 1px, this would then work for
pictures of various sizes.

Still be a lot of on going work, chopping the frames up when ever a new one
is available.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:OU**************@TK2MSFTNGP15.phx.gbl...
I am creating an online, interactive, art gallery using ASP.NET.

I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look
like together and they can purchase it online. It's kind of like an
interactive framining page.

What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.

3 Images (1 for frame, 1 for matte, 1 for picture) on top of each other?
Panels? Any ideas?

Thanks.

Nov 19 '05 #2
How about a 9x9 cell table, with the outer cells holding images of the
chosen frame, the inner one cell holding the image of the picture.

Obviously you'd have to chop your frame into 9 chunks, the top/bottom/side
edges could be repeating background of 1px, this would then work for
pictures of various sizes.

Still be a lot of on going work, chopping the frames up when ever a new one
is available.

"VB Programmer" <xD**********@Dont.com> wrote in message
news:OU**************@TK2MSFTNGP15.phx.gbl...
I am creating an online, interactive, art gallery using ASP.NET.

I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look
like together and they can purchase it online. It's kind of like an
interactive framining page.

What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.

3 Images (1 for frame, 1 for matte, 1 for picture) on top of each other?
Panels? Any ideas?

Thanks.

Nov 19 '05 #3
This can be accomplished simply with absolution positioning. Absolute
positioning will enable you to move each of the images directly over
one another. You may use z-index, layer or other browser equivalents
to control which image goes on top, but I think that simply ordering
the images (i.e. frame, matte, picture) will give you the desired
effect.

You may implement absolute positioning by setting the class for your
images and then defining the class in your stylesheet, defining classes
in the page or directly assigning a style to each element as in

<img id=imgframe src="images/frame.gif"
style="position:absolute;top:20;left:20;" />

although in your case, the image would probably be a server control
(runat=server) and would have its src and possible style set
programmatically.

Bill E.
Hollywood, FL

Nov 19 '05 #4
This can be accomplished simply with absolution positioning. Absolute
positioning will enable you to move each of the images directly over
one another. You may use z-index, layer or other browser equivalents
to control which image goes on top, but I think that simply ordering
the images (i.e. frame, matte, picture) will give you the desired
effect.

You may implement absolute positioning by setting the class for your
images and then defining the class in your stylesheet, defining classes
in the page or directly assigning a style to each element as in

<img id=imgframe src="images/frame.gif"
style="position:absolute;top:20;left:20;" />

although in your case, the image would probably be a server control
(runat=server) and would have its src and possible style set
programmatically.

Bill E.
Hollywood, FL

Nov 19 '05 #5
I did some rough design notes for this project a year or so ago.

Aside from the ability to continue to use web controls for the type and size
selections the presentation tier would be done on the client using DHTML and
the DOM which is the only reasonable way to manage the 'layering' and
positioning of the art work, matting and frame(s).

AJAX - A(synchronous) JA(vascript) X(ML) - would be the ideal way to
dynamically access and change the display of matté and frame(s) because AJAX
(and similar methodologies) supports the functionality of doing so without
needing to refresh the entire page.

--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"VB Programmer" <xD**********@Dont.com> wrote in message
news:OU**************@TK2MSFTNGP15.phx.gbl...
I am creating an online, interactive, art gallery using ASP.NET.

I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look
like together and they can purchase it online. It's kind of like an
interactive framining page.

What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.

3 Images (1 for frame, 1 for matte, 1 for picture) on top of each other?
Panels? Any ideas?

Thanks.

Nov 19 '05 #6
I did some rough design notes for this project a year or so ago.

Aside from the ability to continue to use web controls for the type and size
selections the presentation tier would be done on the client using DHTML and
the DOM which is the only reasonable way to manage the 'layering' and
positioning of the art work, matting and frame(s).

AJAX - A(synchronous) JA(vascript) X(ML) - would be the ideal way to
dynamically access and change the display of matté and frame(s) because AJAX
(and similar methodologies) supports the functionality of doing so without
needing to refresh the entire page.

--
<%= Clinton Gallagher
METROmilwaukee (sm) "A Regional Information Service"
NET csgallagher AT metromilwaukee.com
URL http://metromilwaukee.com/
URL http://clintongallagher.metromilwaukee.com/


"VB Programmer" <xD**********@Dont.com> wrote in message
news:OU**************@TK2MSFTNGP15.phx.gbl...
I am creating an online, interactive, art gallery using ASP.NET.

I want the user to be able to select (1) a frame type & size, (2) a matte
type & color and (3) a picture. I will then display what it would look
like together and they can purchase it online. It's kind of like an
interactive framining page.

What do you suggest is the best way to dynamically switch these looks?
There could be literally hundreds of combinations.

3 Images (1 for frame, 1 for matte, 1 for picture) on top of each other?
Panels? Any ideas?

Thanks.

Nov 19 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Simon | last post by:
I'm trying to build an application which will allow users to view photographs in a variety of picture frames. I can load and display the photos, but I'm not sure where to begin when it comes to...
2
by: Sam | last post by:
Hello everyone, I have a table, which contains a picture column, I put URL info into it. "www.myweb.com/1.jpg..." I want to show this picture in my crystal report, I find some samples show the...
1
by: Phil | last post by:
Supposedly, the code below should assign the correct value to the 'url' variable. But all I get is a blank 'main' Frame with apparently nowhere to go when I click on the link in the 'menu'...
9
by: David. E. Goble | last post by:
Arrrh! some buttons work while others don't, but I can't see why. I have tried comparing the files that do work, with the ones that don't. But to no help. The funny thing is the parts that work...
1
by: RC | last post by:
-------------------------------------------------------------------------------- All, Need ideas on how to approach this: Have to compare account numbers in one table to account numbers in...
0
by: VB Programmer | last post by:
I am creating an online, interactive, art gallery using ASP.NET. I want the user to be able to select (1) a frame type & size, (2) a matte type & color and (3) a picture. I will then display...
2
by: KenGuam | last post by:
How would I put a frame around the picture that results from this: <p><center> <img src='<?=$uploaded;?>'></center></p> <p align="center"> </p> <div align="center"> Or can it even be done? ...
6
by: pagoto123 | last post by:
hello.. i need to read picture or notepad from access database .. i make the access column a ole object i put the photo but when i photo.text = myreader(1) then it says conversion from byte to...
3
by: saberihassan20052005 | last post by:
move picture in crystal report by programing
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.