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: Edit images or icon from table h1  (Read 8593 times)

0 Members and 1 Guest are viewing this topic.

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Edit images or icon from table h1
« on: June 04, 2018, 07:28:28 pm »

I new user for coppermine :D I trying change the template with own icons but i can't found how change this icon like <td class="tableh1" colspan="1"><img src="images/icons/random.png" border="0" alt="" width="16" height="16" title="... or latest hit... in theme.php i cant see this template in sample theme or other.
Logged

phill104

  • Administrator
  • Coppermine addict
  • *****
  • Country: gb
  • Offline Offline
  • Gender: Male
  • Posts: 4885
    • Windsurf.me
Re: Edit images or icon from table h1
« Reply #1 on: June 04, 2018, 09:11:11 pm »

Hi and welcome to Coppermine.

It is always easier of you could post a link so we can see your site and what theme you are using. If you are unable to post a link, please tell us what theme you are using and if possible a screenshot showing what you are trying to change.
Logged
It is a mistake to think you can solve any major problems just with potatoes.

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Edit images or icon from table h1
« Reply #2 on: June 05, 2018, 08:08:55 pm »

Thanks!!! :D well i install coppermine on xampp ans use sample and water drop theme for learn about themes. But in thme .php cant see wher can fin the icons for table h1 and what add div only for random files and latest hit.
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Edit images or icon from table h1
« Reply #3 on: June 06, 2018, 12:34:17 am »

Set 'THEME_HAS_MENU_ICONS' in your theme.php
http://documentation.coppermine-gallery.net/en/theme_theme_php.htm#theme_create_theme_menu_icon

and put your icons in <your-theme>/images/icons/

Logged

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Edit images or icon from table h1
« Reply #4 on: June 07, 2018, 06:44:31 pm »

GReat but i want custom only random and last hist table... adding more code like div or span sample:
<td class="tableh1" colspan="1"> <span class="random"></span> Random Files ..... <- Like this ... the same with last hit.. i don't want change for toher table.
Logged

pandabear

  • Coppermine newbie
  • Offline Offline
  • Posts: 5
Re: Edit images or icon from table h1
« Reply #5 on: June 11, 2018, 08:56:34 pm »

Any?  :'(
Logged

ron4mac

  • Administrator
  • Coppermine addict
  • *****
  • Country: us
  • Offline Offline
  • Posts: 2026
Re: Edit images or icon from table h1
« Reply #6 on: June 12, 2018, 12:36:52 pm »

You would have to use a custom theme that overrides the PHP function theme_display_thumbnails.
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 20 queries.