How can I fix size to display image in Random files? How can I fix size to display image in Random files?
 

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

How can I fix size to display image in Random files?

Started by Castilla, April 09, 2006, 12:06:32 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Castilla

Hello... I´m having a problem to find where can I fix the size of the pictures to display in random files in index page ...
I would like that all picture display in 70X70 fixed pixels... at the moment the pictures resized don´t have the same size and looks strange!!!
Can you help me???? ;D
www.adcastilla.com/castalbum
Thank´s
Adriana Castilla

Joachim Müller

the thumbnails in the random meta album are just the same size as the regular thumbnails, so I can't see what actually needs fixing.

Castilla

Ok.. I´m going to explain to you better...
When you are in home or album list you see the pictures resized by ImageMagick in diferent sizes... they are not precise 70X70 pixels... for example ... I have pictures that are displayed width: 73 and height:100....
The pictures are inside the random files table ...  Example:

<!-- Start standard table -->
<table align="center" width="760" cellspacing="1" cellpadding="0" class="maintable">
        <tr>
                <td class="tableh1" colspan="6">Random files</td>
        </tr>

        <tr>

        <td valign="top" class="thumbnails" width ="17%" align="center">
                <table width="100%" cellpadding="0" cellspacing="0">
                        <tr>
                                <td align="center">
                                        <a href="displayimage.php?album=random&amp;cat=0&amp;pos=-5"><img src="albums/userpics/10003/thumb_4.jpg" class="image" width="75" height="100" border="0" alt="4.jpg" title="Filename=4.jpg
Filesize=14KB
Dimensions=300x400
Date added=24.Mar 2006"/><br /></a>
                                       
                                       
                                </td>
                        </tr>
                </table>

So... What shoul I do to have the pictures displayed only in thumbnail sized to width="70" height="70

Am I more clear now???
Thank´s for your attention....
Adriana Castilla
Adriana Castilla

Bonato

I have been using Stramm's mod and it works in the way you want: fixed size for the thumbnails. I must say it's not the easiest thing to use, but if as a begginer I managed to make it work, I'm sure you will not have a problem.

My gallery: http://fotos.gustavobonato.com

- Gustavo

Joachim Müller

out of the box, coppermine doesn't crop thumbnails, so you'll have to use a mod as bonato suggested to come up with square thumbnails if your originals are not square.

Castilla

Thank´s for your help guys... I will have a look in this mod... I don´t know what I have to do...
Bonato... can you give me some tips??? I saw your gallery... It´s exact what I want!!!!
Are you from Brasil??... I saw some pictures... Se for... que legal... eu tambem...
Thank´s... Adriana Castilla
Adriana Castilla

Castilla

Ok... maybe it´s a bit begginer question... I just want to check before start to do something wrong...
Shoul I upload stramm_mod1.4.4.bridge.3 folder inside my bridge folder and them run update.php???
That´s the way to do???
Sorry for the begginer question!!!
But thank´s if you can use your time to answer me!!!
Adriana Castilla

Stramm

nope, you extract all files from the archive. Then you upload them all to your server replacing the existing files. When done run update.php

You should always make a backup of your files/ db before messing with core files/ db

from the modpack thread:
QuoteInstallation:
Before you do anything make a backup of your files and your database!!!!!!
Unpack and upload the files in the archive. Keep the folder structure intact. Then run update.php .... done
If you have a bridged Coppermine rerun the bridgemanager
http://forum.coppermine-gallery.net/index.php?topic=28367.0

Castilla

Thank you very much... I create a new website with mod installed from the start point.... Looks like every thing is fine and working...
;)
Adriana Castilla