Advanced search  

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Pages: [1]   Go Down

Author Topic: Replacing text links with images  (Read 2021 times)

0 Members and 1 Guest are viewing this topic.

Zfolk

  • Coppermine newbie
  • Offline Offline
  • Posts: 10
    • The Attic
Replacing text links with images
« on: January 05, 2005, 01:41:26 am »

Is there a way to replace the text links (For example: 'my gallery' 'admin mode' 'upload files' etc....)

i looked at the theme:
Code: [Select]
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}">{MY_GAL_LNK}</a> but i am not really sure how i would insert an image in there without screwing everything up. 

Thanks for any help on this :)
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47844
  • aka "GauGau"
    • gaugau.de
Re: Replacing text links with images
« Reply #1 on: January 05, 2005, 01:47:17 am »

replace with
Code: [Select]
<a href="{MY_GAL_TGT}" title="{MY_GAL_TITLE}"><img src="/path/to/your/pic.gif" width="10" height="10" border="0" alt="" /></a>(change the dimensions as needed). If you decide to use relative instead of absolute path in the src section, make sure to set the link seen from your coppermine root folder, not the theme folder.

Joachim
Logged
Pages: [1]   Go Up
 

Page created in 0.014 seconds with 19 queries.