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: Help with smilie frame  (Read 4558 times)

0 Members and 1 Guest are viewing this topic.

nsdcblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Help with smilie frame
« on: July 16, 2007, 12:00:13 am »

I am new to coppermine as well as a newbie in coding etc
I had replaced the smilies in coppermine...keeping the same file names, but the smilies are a touch larger in size/pixels....therefore when displayed in the frame for the smilies in the comment area, they look distorted.
(http://img177.imageshack.us/img177/9027/samplepk8.th.jpg)
I tried increasing the width of the 'view' but it really didnt fix it a whole lot.
So I am wondering, if it is possible to be able to alter the table the smilies are in....in looking, i cannot figgure what file that I would  use do this or is it possible...any help or answer to this would be appreciated....
my site url and to show you the problem is  http://melsgraphics.com/gallery/displayimage.php?pos=-748
« Last Edit: July 16, 2007, 10:03:51 pm by Nibbler »
Logged

Nibbler

  • Guest
Re: Help with smilie frame
« Reply #1 on: July 16, 2007, 12:27:38 am »

Can't see the smilies without an account. Is this related to pnCPG in any way or did you just post here accidentally?
Logged

nsdcblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with smilie frame
« Reply #2 on: July 16, 2007, 12:42:50 am »

im sorry, i had forgotten about that...my bad.  my forum which isnt open yet is intrgrated to the gallery...i just set the permissions so that guests can comment now so you should be able to see the smilies now...they are also in the screen shot i posted.  sorry for my ignorance, i didnt know if this was where i was to post this question  or not. :-\
Logged

Nibbler

  • Guest
Re: Help with smilie frame
« Reply #3 on: July 16, 2007, 12:55:26 am »

First of all, update your gallery. The original smilies are 15px and your new ones are 20px. Edit include/smilies.inc.php and change the dimensions from 15 to 20.
Logged

Joachim Müller

  • Dev Team member
  • Coppermine addict
  • ****
  • Offline Offline
  • Gender: Male
  • Posts: 47843
  • aka "GauGau"
    • gaugau.de
Re: Help with smilie frame
« Reply #4 on: July 16, 2007, 06:19:41 am »

...and while you're at it: your theme is not valid HTML, so you should disable the vanity display (config setting).
Logged

nsdcblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with smilie frame
« Reply #5 on: July 16, 2007, 07:37:50 pm »

vanity display is disabled, thanks fer remindin me. ;)

I found the proper file to change the dimensions of the smilies, thanks so much for showin me where; to be exact  the file is /public_html/gallery/include/smilies.inc.php incase other newbies are looking.

I changed the dimensions to 18, which is fine for the smallest of smilies i have, the only problem now is the larger ones remain distorted...if i change the dimensions to allow for the larger ones to look OK, the smaller ones stretch to unreal porportions and thats not good as well. 
Is there any possibility for something to be added to the php code to allow different sized smilies to be used there or is that not an option.
Just wondering if anyone would be able to help or answer that
thank-you
 
Logged

Nibbler

  • Guest
Re: Help with smilie frame
« Reply #6 on: July 16, 2007, 08:05:21 pm »

Yes, you can leave out the height and width parameters completely.

The path for the file varies depending on server configuration and where you installed the gallery; only the include/smilies.inc.php part will be the same for everyone.
Logged

nsdcblue

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: Help with smilie frame
« Reply #7 on: July 16, 2007, 09:45:38 pm »

Thanks so much nibbler for all your help, my smilies now dont look distorted ;)

ahh i gotcha now, i had overlooked that i was to look in the "include" file  LOL what a noob LOL  Thanks so much again...
Blue  ;D

Logged
Pages: [1]   Go Up
 

Page created in 0.022 seconds with 20 queries.