bigdessert 0 Newbie Poster

Here is what I have.

Image gallery....images are uploaded and an album is created at

domain.com/admin/album/album-1,2,3,4 etc/

then the images are created in:

domain.com/admin/album/album-1,2,3,4 etc/lg/filename.jpg

I need to have a htaccess that rewrites the url when an images is accessed from:

domain.com/admin/album/album-1,2,3,4 etc/lg/filename.jpg

to

domain.com/image.php?main=filename.jpg&watermark=watermark.pn g

Now another catch is that thumnails are created in

domain.com/admin/album/album-1,2,3,4 etc/tn/

and I would like to exclude those from getting the watermark.

Thanks for help in advance.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.