1
limecity
Xcgallery Top rated photos truncated
  • 2009/2/4 1:22

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


I have more than 500 photos in my xcgallery.
the top rated photo section seemed to be truncated.

The thumbnail showed photo A.
but when clicked. it showed photo B but with photo's A comments.

it only happens in Top Rated section and the rest are ok and performing normally.
I did a debug and it showed this.


When clicking on one of the top rated photo
USER:

Array
(
    [
ID] => 950313fabccb270628fc63c96529e0f7
    
[am] => 1
    
[liv] => Array
        (
            [
0] => 3
            
[1] => 432
            
[2] => 526
            
[3] => 523
            
[4] => 410
        
)

    [
suid] => 2
)

GET :

Array
(
    [
pid] => 3
    
[album] => toprated
    
[cat] => 
    [
pos] => 2
)

POST:

Array
(
)




When clicking on the same photo but through user album, (this one performs as it should
USER:

Array
(
    [
ID] => 950313fabccb270628fc63c96529e0f7
    
[am] => 1
    
[liv] => Array
        (
            [
0] => 3
            
[1] => 432
            
[2] => 526
            
[3] => 523
            
[4] => 410
        
)

    [
suid] => 2
)

GET :

Array
(
    [
pid] => 3
    
[album] => usearch
    
[cat] => 0
    
[pos] => 21
)

POST:

Array
(
)
http://www.mounthiking.com
all your hiking gears and gadgets


2
ghia
Re: Xcgallery Top rated photos truncated
  • 2009/2/4 9:45

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


And what are the links for these thumbnails?

3
limecity
Re: Xcgallery Top rated photos truncated
  • 2009/2/4 14:13

  • limecity

  • Friend of XOOPS

  • Posts: 1602

  • Since: 2003/7/6 0


okay, i deleted one of the truncated photo and the other one turned out ok. but there are still others that is behaving strangely.

I debug on another pair

modules/xcgal/displayimage.php?pid=56&album=toprated&cat=&pos=9

USER
:

Array
(
    [
ID] => 950313fabccb270628fc63c96529e0f7
    
[am] => 1
    
[liv] => Array
        (
            [
0] => 3
            
[1] => 530
            
[2] => 480
            
[3] => 56
            
[4] => 251
        
)

    [
suid] => 7
)

GET :

Array
(
    [
pid] => 56
    
[album] => toprated
    
[cat] => 
    [
pos] => 9
)

POST:

Array
(
)


which got truncated with this one


/modules/xcgal/displayimage.php?pid=251&album=toprated&cat=0&pos=7


USER
:

Array
(
    [
ID] => 950313fabccb270628fc63c96529e0f7
    
[am] => 1
    
[liv] => Array
        (
            [
0] => 3
            
[1] => 530
            
[2] => 480
            
[3] => 56
            
[4] => 251
        
)

    [
suid] => 7
)

GET :

Array
(
    [
pid] => 251
    
[album] => toprated
    
[cat] => 0
    
[pos] => 7
)

POST:

Array
(
)
http://www.mounthiking.com
all your hiking gears and gadgets


4
ghia
Re: Xcgallery Top rated photos truncated
  • 2009/2/4 16:01

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


It seems they are two different photo's, because their pid is different.
/modules/xcgal/displayimage.php?pid=56&album=toprated&cat=&pos=9
/modules/xcgal/displayimage.php?pid=251&album=toprated&cat=0&pos=7
If you use the shortened URL, you should be able to see the photo's in their album.
/modules/xcgal/displayimage.php?pid=56
/modules/xcgal/displayimage.php?pid=251

Maybe you assigned the same picture twice into different albums?

Login

Who's Online

165 user(s) are online (118 user(s) are browsing Support Forums)


Members: 0


Guests: 165


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Apr 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits