clothes store     


Somebody making fake profile..

Best Content mangement?

Can Wordpress themes be edit..

How much of web development ..

Are there any good web hosts..

Can a Linux-based web host p..

Uploading a MySQL Database?

Can anyone know sites that h..

Can anyone know sites that h..

What kind of sites can we st..

Setting up my own home serve..

Help me set up a web server ..

What should I be looking for..

What's happened to ..

I need user friendly shoppin..

My server can't sen..

In over my head with website..

Music used in the Movie Ms.P..

Help with "Contact Us&q..

Please help me to configure ..

Why are Bush and Rove using ..

I want to fun my own compute..

How do you configure and hos..

Who is hotter/prettier ((pic..

How to reach home web server..

How to launch a website havi..

How do I create a login page..

I want to make a website whe..

Is this hairstyle considered..

I bought a website off of e-..

Any radiologist here?I need ..

Can someone help me with my ..

What's the best .ne..

What do you think of my fema..

Error when installing Mambo ..

Windows Server 2003 running ..

How to fix a Hacked Site?

Web Design courses?

I need to loose weight 55LBS..
 
Using .HTACCESS to embed ad-code above images which are linked directl..    [Imwebhost]

Here's a stumper... hopefully someone can offer some insight for me. I have an image hosting service; by default, the script that I bought tells users to link directly to their uploaded images.

Example:

http://www.website.com/images/Filename.j...

- not -

http://www.website.com/images/Process.ph...

I know how to change the way it works so it would point to an image processing script, but that would not fix the 15,000+ images that are already being directly linked to... so, what I need to know is how I can embed HTML code both above and below an individual image file. So I MUST use .HTACCESS and PHP.

It seems doable, although I don't know enough about .HTACESS to pull it off on my own. I'm 99% there, that is, I have been able to redirect from the actual image to a PHP file which retrieves the requested image - but when I output the HTML code it simply shows a broken image in place of the actual image.

Hope that was all clear enough... anything is appreciated. Thanks!

Using .HTACCESS to embed ad-code above images which are linked directly?

You can have PHP reprocess the image and display it with a watermark.

The PHP would be something like this; the code below assumes all your files are JPGs, and there will be a querystring variable named file to identify the image to display.

<?

header('Content-type image/jpeg');

$name = $_GET['file'];


[Imwebhost]


Which Ouran High School Host Club boy are you most compatibl..
Can you please give me a free host to host my radioblog with..
How come my website sometimes is waiting for ever but when I..
Holiday party outfit ?
Free web-host with unlimited email users and more help?
Why is my wordpress blog loading very slow?
How to host a website?
Recommend Open Source Online Shopping Cart Software I Can In..
Can i host my site from my home webserver, if i am connected..
Accessing internet content from localhost in apache?



Comment
Name: Name:  Password:   Register?
Comment:
Face