Modify link to pictures in the topic...

Creating and modifying plugins.
Post Reply
welteken
Posts: 1
Joined: Sat Mar 17, 2007 8:45 pm

Modify link to pictures in the topic...

Post by welteken »

Hi !

Does anyone know, how I can modify the automatically created link to pictures i add from the gallery ?

Normaly it is like this (example) :

Code: Select all

<a class='serendipity_image_link' href='/uploads/newspix/syburg6.jpg'><img width='400' height='267' border='0' hspace='5' src='/uploads/newspix/syburg6.thumb.jpg' alt='' /></a>
I need to add some lines to this, so I can automatically create the information the "Lightbox JS" needs...

Can any one help ?

THANKS !!!!
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Modify link to pictures in the topic...

Post by garvinhicking »

Hi!

Why not use the Lightbox serendipity plugin? :)

You can edit this HTML code in the serendipity_editor.js, if you like, though.

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
Post Reply