Share

SPGM (Simple Picture Gallery Manager)

Tracker: Support Requests

5 Editing a and img tags - ID: 1903549
Last Update: Comment added ( spajot )

Hi there,

I've installed your script in a phpbb Forum
and it's working well so far.

My Problem is that I want do edit the link
and image tags. Is there a description available
on which lines which part of the the both tags
are generated?

The target is to get rid "full view" under the thumbs.
I would like to edit the a and img tag in a way that
I can trigger the slimbox script with it.

Is this possible or do I have to search for another
gallery script?


Nobody/Anonymous ( nobody ) - 2008-02-27 23:59

5

Closed

None

Sylvain Pajot

None

None

Public


Comments ( 2 )




Date: 2008-07-16 19:20
Sender: spajotProject Admin


Hello,

You should find useful information on line 1765 in v.1.4.7:

print ' <a href="#?" onclick="popupPicture(\''.$strURL.'\',
'.$iWidth.', '.$iHeight.', '.$strJustPicture.');">';
Look how the strURL parameter is built, and adapt your new function to
receive the picture filename.

Sylvain


Date: 2008-02-29 17:07
Sender: nobody

Logged In: NO

hi there,

i moded some stuff in the script an got quite far ...

I createt a secon "BuildLink" function which is only triggert
for generating the thumbnail links and pictures as far as I see.

Now i just need the var for printing out the picture name and not the ID
...

the code should look like this ...

$linktwo = '<a href="gallery/'.glaId.'/'.{want the picturename var
here}'" rel="lightbox['.$galId.']">'.$text.'</a>';

and the generated link should look like this ...

<a href="http://www.domain.tld/gallery/exampcategory/piturename.jpg"
rel="lightbox[exampcategory]"><img></a>


Help would be appreciated


Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-07-16 19:20 spajot
assigned_to nobody 2008-07-16 19:20 spajot
close_date - 2008-07-16 19:20 spajot