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] 2   Go Down

Author Topic: [fixed] Lost thumbnails for user galleries  (Read 16212 times)

0 Members and 1 Guest are viewing this topic.

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
[fixed] Lost thumbnails for user galleries
« on: June 11, 2004, 09:17:59 pm »

Since updating my version to 1.3.0 stable, my thumbnails dont seem to work on my User Galleries page


http://gallery.is12.net/index.php?cat=1



they just show up as the default "no image" thumbnail instead of a picture form the album or the last photo uploaded.
Any ideas?
« Last Edit: June 15, 2004, 10:10:35 pm by Casper »
Logged

FuguTabetai

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://FuguTabetai.com/
Lost thumbnails for user galleries
« Reply #1 on: June 11, 2004, 11:09:45 pm »

After the upgrade from 1.2.1 to 1.3.0, when I checked my user galleries, all of them had lost their thumbnails and defaulted to the "no picture" thumbnail.  The individual albums in the users' galleries have thumbnails, but the thumbnail for the user in the "User galleries" sections do not.  Before, I think it used the thumbnail for the last uploaded picture to each users' account for the thumbnail, but I couldn't find any options to control that anywhere...
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Lost thumbnails for user galleries
« Reply #2 on: June 11, 2004, 11:54:05 pm »

Same thing for me.  Will look into it.

@FuguTabetai,  please do not just post on any board.  The istallation board is for issues relating to installation problems.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Lost thumbnails for user galleries
« Reply #3 on: June 12, 2004, 01:30:53 pm »

Same thing for me.  Will look into it.

@FuguTabetai,  please do not just post on any board.  The istallation board is for issues relating to installation problems.


Thanks man, using the old index.php makes it work without issue....

FuguTabetai

  • Coppermine newbie
  • Offline Offline
  • Posts: 7
    • http://FuguTabetai.com/
Re: Lost thumbnails for user galleries
« Reply #4 on: June 12, 2004, 03:40:11 pm »

Same thing for me.  Will look into it.

@FuguTabetai,  please do not just post on any board.  The istallation board is for issues relating to installation problems.

Your board setup is confusing, I did not realize until just now (when topics were moved around) that this "CPH 1.3 support" is a board itself.  Having the child boards up at top led me to believe that this was just a container for more specific boards, and as I experienced this problem after an install...

Anyway, I've figured it out now.  Thanks for the work on coppermine - I hope someone looks into this, but it isn't urgent for me, so I'm not going to go code diving.  Cheers,

fugu
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Lost thumbnails for user galleries
« Reply #5 on: June 12, 2004, 03:44:53 pm »

@Fugu,
this is a new setup for us all, so no problem, we are all having to get used to it  ;)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

OBecanoby

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: Lost thumbnails for user galleries
« Reply #6 on: June 13, 2004, 06:25:52 am »

I have same problem in a brand new set up When I go to Album List I just get the generic thumbnail instead of one from the acutal album. But otherewise the whole set up is absolutley fantastic. I messed with 2 other galleries for hours on end to the point of absolute frusteration lol. :\'( But when i uploaded coppermine it installed and setup in what seemed like no time, I practically fell on my ass. ;D
Thanks Great Program
Logged

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Lost thumbnails for user galleries
« Reply #7 on: June 13, 2004, 02:39:40 pm »

I verified that gong back to the latest index.php of mine shows the thumbnails.

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Lost thumbnails for user galleries
« Reply #8 on: June 13, 2004, 03:20:18 pm »

Yes, we know, but that has other issues, which is why it was changed. 
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

SaigonK

  • Coppermine regular visitor
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 59
Re: Lost thumbnails for user galleries
« Reply #9 on: June 13, 2004, 05:26:55 pm »

I figured as much, but I thought it might help out to see what code changed that is causing the issue.

Thanks!

yonggui

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: Lost thumbnails for user galleries
« Reply #10 on: June 15, 2004, 04:14:36 pm »

Here a quick fix:

After line 343 of the file "index.php" (saying "$image_size = compute_img_size( ...") add the following code:


$user_thumb = "<img src=\"" . $pic_url . "\" class=\"image\" {$image_size['geom']} border=\"0\" alt=\"\">";
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Lost thumbnails for user galleries
« Reply #11 on: June 15, 2004, 04:38:29 pm »

Yes, that's similar to the fix being done right now, but there is more code being added. It will be in version 1.3.1, and those that cannot wait will be able to get it from the cvs soon.  ;)
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: Lost thumbnails for user galleries
« Reply #12 on: June 15, 2004, 10:10:00 pm »

The updated file with this fixed is now available from the cvs,  http://cvs.sourceforge.net/viewcvs.py/coppermine/stable/index.php
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Ithildin

  • Coppermine newbie
  • Offline Offline
  • Posts: 6
Re: [fixed] Lost thumbnails for user galleries
« Reply #13 on: June 16, 2004, 11:12:05 pm »

Thank you very much! You are great!
Love your gallery, it's so beautiful and so easy to have!  ;) :D

Logged

OBecanoby

  • Coppermine newbie
  • Offline Offline
  • Posts: 2
Re: [fixed] Lost thumbnails for user galleries
« Reply #14 on: June 17, 2004, 11:26:16 pm »

I just downloaded the fix and it works Great Thank You Very Much :D
Logged

buffermaster

  • Coppermine newbie
  • Offline Offline
  • Posts: 4
Re: [fixed] Lost thumbnails for user galleries
« Reply #15 on: June 18, 2004, 09:29:56 pm »

I tried the latest file version and it has not fixed the problem for me....still looking www.ncvc.org.uk/gallery
Logged

psundstrom

  • Coppermine newbie
  • Offline Offline
  • Posts: 9
Re: [fixed] Lost thumbnails for user galleries
« Reply #16 on: June 18, 2004, 11:32:20 pm »

How is it that the updated CVS version of index.php is at version 1.8 whereas the version that came with CPG1.3 was version 1.40?
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [fixed] Lost thumbnails for user galleries
« Reply #17 on: June 19, 2004, 12:00:42 am »

because the devel brach and stable branch use slightly different numbering systems.  In the stable branch, the version numbers rise by .1 every change, in the dev branch, by .01 (far more changes occur during development).
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here

Jules74

  • Coppermine newbie
  • Offline Offline
  • Posts: 1
Re: [fixed] Lost thumbnails for user galleries
« Reply #18 on: June 30, 2004, 07:58:35 pm »

For some reason this fix only solves half the problem.
When I'm in 'Home -> User Galleries -> Jules74' the picture I've selected as the album thumbnail is correctly displayed. But, when I'm in 'Home -> User Galleries' the thumbnail for my album always is the last picture I've uploaded instead of the picture I selected!
Could this be in the theme I'm using (mac_ox_x) or is it a bug in the latest index.php (CVS 1.8)?
« Last Edit: July 01, 2004, 08:31:00 am by GauGau »
Logged

Casper

  • VIP
  • Coppermine addict
  • ***
  • Country: 00
  • Offline Offline
  • Gender: Male
  • Posts: 5231
Re: [fixed] Lost thumbnails for user galleries
« Reply #19 on: June 30, 2004, 08:18:59 pm »

That's just the way it's always been, afaik.
Logged
It has been a long time now since I did my little bit here, and have done no coding or any other such stuff since. I'm back to being a noob here
Pages: [1] 2   Go Up
 

Page created in 0.025 seconds with 19 queries.