469,637 Members | 1,564 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,637 developers. It's quick & easy.

superimposing a pic on a pic when the data is dynamic

Hi All

I know the subject may sound weird so hopefully the below will explain.

1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .

2) Another aspect of shall we say the property's properties is that it will
contain a flag to say whether a property has been sold on not. If it has
then I would like to superimpose a transparent pic of a sold sign over the
top of the property pic

Hard coding this sort of thing doesn't seem much of a problem if I use
absolute and z-indexing to superimpose the sold pic over the house pic, but
because my list of properties is going to be dynamically generated I won't
be able to use absolute positioning because I won't know where to
superimpose the pics.

Has anybody been able to acheive this effect?

Rgds

Robbie

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000 Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---
Jul 21 '05 #1
2 1195
If you just did this in a static .htm file, you could do something like:

<html><body>
<img src="/images/house.jpg"><img src="/images/sold.gif" style="position:
relative; left: -150px; top: -100px;">
</body></html>

Perhaps that'll get you started.

Ray at work

"Astra" <in**@NoEmail.com> wrote in message news:41********@127.0.0.1...
Hi All

I know the subject may sound weird so hopefully the below will explain.

1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .

2) Another aspect of shall we say the property's properties is that it
will
contain a flag to say whether a property has been sold on not. If it has
then I would like to superimpose a transparent pic of a sold sign over the
top of the property pic

Hard coding this sort of thing doesn't seem much of a problem if I use
absolute and z-indexing to superimpose the sold pic over the house pic,
but
because my list of properties is going to be dynamically generated I won't
be able to use absolute positioning because I won't know where to
superimpose the pics.

Has anybody been able to acheive this effect?

Rgds

Robbie

----== Posted via Newsfeeds.Com - Unlimited-Uncensored-Secure Usenet
News==----
http://www.newsfeeds.com The #1 Newsgroup Service in the World! >100,000
Newsgroups
---= East/West-Coast Server Farms - Total Privacy via Encryption =---

Jul 21 '05 #2
Here is some more info. http://www.aspfaq.com/5003

Ray at work
"Astra" <in**@NoEmail.com> wrote in message news:41********@127.0.0.1...
Hi All

I know the subject may sound weird so hopefully the below will explain.

1) I'm creating an estate agent web site, which will display a 1 x jpg pic
and say 4 text descriptions for each property from a DB using ASP .

2) Another aspect of shall we say the property's properties is that it
will
contain a flag to say whether a property has been sold on not. If it has
then I would like to superimpose a transparent pic of a sold sign over the
top of the property pic

Hard coding this sort of thing doesn't seem much of a problem if I use
absolute and z-indexing to superimpose the sold pic over the house pic,
but
because my list of properties is going to be dynamically generated I won't
be able to use absolute positioning because I won't know where to
superimpose the pics.

Has anybody been able to acheive this effect?

Rgds

Robbie

Jul 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Charlie | last post: by
5 posts views Thread by Matthias Kaeppler | last post: by
6 posts views Thread by Martin Bischoff | last post: by
7 posts views Thread by Vanessa | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.