Miniature pour Photo du Jour (plugin) Miniature pour Photo du Jour (plugin)
 

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

Main Menu

Miniature pour Photo du Jour (plugin)

Started by claude258, June 10, 2009, 02:26:39 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

claude258

Bonjour,

Pour le plugin ''Photo du Jour'':
http://forum.coppermine-gallery.net/index.php/topic,36916.html

comment faire pour que la miniature soit affichée au lieu de l'image normale?

Merci.
Claude

François Keller

a priori, dan sle fichier showdaypics.php du plugin changer la ligne
$img = "<img src=\"{$CONFIG['path_to']}albums/{$picture['filepath']}normal_{$picture['filename']}\"  border=\"0\">";
par
$img = "<img src=\"{$CONFIG['path_to']}albums/{$picture['filepath']}thumb_{$picture['filename']}\"  border=\"0\">";
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

claude258

Bonjour,

J'ai fais le changement proposé et c'est toujours la photo normale qui s'affiche comme Photo du Jour. ???

François Keller

il y a plusieurs occurrences de ce code me semble t'il dans le fichier. Avez vous fait les changements pour toutes les occurrences ?
Avez vous lu la DOC ? la FAQ ? et cherché sur le forum avant de poster ?
Did you read the DOC ? the FAQ ? and search the board before posting ?
Mon Blog

claude258

C'était bien la seul occurence de ce code dans ce fichier...
C'était également le seul endroit où le mot ''normal_'' apparaissait.

fred35

Bonjour,

Essayez de faire cette même modification dans le fichier day.php ligne 37 et dans potd.php ligne 41.
Fred