CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> PHP

 Layering a clear.gif over image.

Print topic Send  topic

Author Message
moodog


Posts: 26
Posted: 03/24/2008, 9:53 AM

Hi, Im trying to use DIV to set the background to the image in a database grid loading a transparent image in the DIV. Basically create a layer over the image from the database image. so that most common image thief's get a clear image..

the code im working with is

  
<div style="DISPLAY: block; BACKGROUND-IMAGE: url(../pics/{picturepath}); WIDTH: 72px;">  
<p align="center"><img style="WIDTH: 72px; alt="DogID_Cl" src="../pics/clear.gif" width="72px"></p>  
</div>  

the clear.gif shows up as expected but cant seem to get url(../pics/{picturepath}) to see and display the image from the database...

Image worked before with this path + {picturepath}

any help much appreciated..


_________________

-Rich

http://staffordarchive.com


CCS 4.0
MySQL
PHP
View profile  Send private message
moodog


Posts: 26
Posted: 03/24/2008, 10:31 AM

confiming the code sorta works like I want... I gave it a static image page rather then {photoimagepath} it gets the image ok with that.. just not the actual database image path..

Setting width of the background image to limit the size is not working right thou either...

sigh - :-@


_________________

-Rich

http://staffordarchive.com


CCS 4.0
MySQL
PHP
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.