Advanced search  

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Pages: [1]   Go Down

Author Topic: Replacing text links with images  (Read 2842 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: 47843
  • 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.017 seconds with 19 queries.