Recent Topics

1 Feb 01, 2008 04:26    

My b2evolution Version: Not Entered

Ok, here is an idea. I want to embed a transparent gif over my photos in one of my other sites blogs. Can I do that using the image_blog div tag that surrounds the pictures by default? I know you can put a background image in the style sheet... anyway to bring the transparent gif forward, on top of the photo? If that can’t be done, any other suggestions?

thanks

2 Feb 01, 2008 04:57

I didn't try but give this a go:

<div class="background">
   <div class="picture"><img src="somepicture.jpg" alt="somepicture" /></div>
</div>


Styling in css file:

div.background {
   background-image: url('sometransparent.gif'');
   z-index: 100;
}


You may want to play with the value of z-index. -100 May work if 100 doesn't.

Good luck

3 Feb 03, 2008 01:59

I think I tried every scenario... but in every case the transparent gif ended up behind the photo. the z-index didn't bring the transparent gif forward.

any other thoughts?

4 Feb 03, 2008 02:16

You'd need to change the html either by editing manually, changing in sql, coding a plugin or resorting to javascript

or you could use htaccess to route all image calls through a page that overlays the *watermark*

¥

6 Feb 08, 2008 13:47

I'd still go with .htaccess and adding a watermark to the actual image ;)

¥

7 Feb 08, 2008 15:52

well... in that case. LOL :-/ The transparent gif works for me since I don't want to watermark my photos and I don't want certian individuals, who I know don't know anything about compters, to save my images at all. Its a long story....

care to share .htaccess though?

8 Feb 08, 2008 17:28

I didn't want to burst any bubble, but a good screen capture utility is hard to foil. ;)

Excepting watermarks.

9 Feb 08, 2008 17:29

In simplified form :

Use .htacces to rewrite any /media/......../aaaa.gif|jpg|png to a php page that takes the original image and the watermark image of your choice, overlays the watermark on the original image ( using gd library or whatever it's called ) and then returns the watermarked image to the browser.

You could make it a tad better by caching the watermarked version of the original image and returning that for subsequent calls.

The end result is that even if they right click and "save as" or print screen, or even call the image directly, they get the watermarked version whilst your original image remains untouched.

¥

10 Feb 08, 2008 18:39

mrdav wrote:

I didn't want to burst any bubble, but a good screen capture utility is hard to foil. ;)

Excepting watermarks.

the transparet gif isn't to fully protect my photos from being saved... but I run another small blog with only select members... and trust me, these members no nothing about 'print screen', temp internet files, or viewing source... to name a few... which is why the transparent gif works.

For my public sites... yea watermark any original photos for sure... and expect that if people want your photos... they will get it.

¥åßßå... I'll have to look into the htaccess thing... sounds intersting!

11 Feb 09, 2008 00:05

A blonde makes you think! yer buggered ;)

¥

12 Feb 09, 2008 00:07

mrdav wrote:

excepting watermarks.

Of course you have the power of yer boss on your side and I'm damn sure he could remove the watermark with a flick of his eyebrow ;)

¥

13 Feb 09, 2008 01:24

Well, other than a logical contradiction, I haven't been able to figure out anything too hard for him.

I'd even be willing to bet he could save a blonde brit. ;)

As for removing watermarks, I don't think he performs parlor tricks. :P


Form is loading...