211
Mods & Plugins (Requests & Discussions) / Re: Volle Pfadangabe
« on: September 23, 2010, 08:41:09 PM »
fine thx it works with that image file.
but i have now 2 more questions
1) if i have bmp, avi, mpg, ...... files
Do i need to add this in the code ?
2) it only works for the gif, jpg, ....
how can i set it for all links on gallery ? i need that for all
That way it works too:
or is that an easier way to set it autmatic for all links on page ?
thx
but i have now 2 more questions
1) if i have bmp, avi, mpg, ...... files
Do i need to add this in the code ?
Code: [Select]
($in_admin && !preg_match("#\.(gif|jpg|jpeg|png)$#
2) it only works for the gif, jpg, ....
how can i set it for all links on gallery ? i need that for all
Code: [Select]
a href="./categories.php?cat_id=206" class="maincat">
That way it works too:
Code: [Select]
$postcard_button = "<a href=\"http://www.pj-firepower.com/picgallerie/".$site_sess->url("postcards.php?".URL_IMAGE_ID."=".$image_row['image_id'].((!empty($mode)) ? "&mode=".$mode : ""))."\"><img src=\"".get_gallery_image("postcard.gif")."\" border=\"0\" alt=\"\" /></a>";
or is that an easier way to set it autmatic for all links on page ?
thx