3.0.3 to 3.0.4 upgrade caused overlap issues on the main page

pshuman

Joined: 2006-04-12
Posts: 8
Posted: Thu, 2012-12-27 18:27

I just did the update from Gallery 3.0.3 to 3.0.4 and I'm having a problem on the main page. All of the album thumbnails are squished together. The images are the same size as before, but are overlapping. I'm using the stock wind theme. After doing a side by side diff with my old gallery3 folder, I see this new entry in themes/wind/views/page.html.php. If I comment it out, the main page renders correctly.

Quote:
<style type="text/css">
.g-view #g-content #g-album-grid .g-item {
width: <?= $new_width ?>px;
height: <?= $new_height ?>px;
/* <?= $thumb_proportion ?> */
}
</style>

Any idea what might be wrong in my install?

Operating system: Linux 2.6.23.17-88.fc7
Apache: Apache/2.2.8 (Fedora)
PHP: 5.2.6
MySQL: 5.0.45
Server load: 0.26 0.12 0.14
Graphics toolkit: imagemagick

AttachmentSize
g3_0_4-stock.png493.47 KB
g3_0_4-fixed.png307.6 KB
 
punctuation

Joined: 2012-12-11
Posts: 37
Posted: Thu, 2012-12-27 18:43
 
pshuman

Joined: 2006-04-12
Posts: 8
Posted: Thu, 2012-12-27 18:49

I'm using the default wind theme that came as part of the gallery-3.0.4.zip. I assumed that would be the latest.

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Thu, 2012-12-27 22:32

pshuman, punctuation is right I bet you have some other css issue or did not overwrite/replace the file properly. Or some custom theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
pshuman

Joined: 2006-04-12
Posts: 8
Posted: Thu, 2012-12-27 22:55

Just tried it again and I've still got the problem. Here are the steps I took:

  • Turn maintenance mode on.
  • mv gallery gallery-old
    wget "http://downloads.sourceforge.net/project/gallery/gallery3/3.0.4/gallery-3.0.4.zip?r=http%3A%2F%2Fgallery.menalto.com%2Fgallery_3_0_4&ts=1356628380&use_mirror=iweb"
    unzip gallery-3.0.4.zip
    mv gallery3 gallery
    mv -iv gallery-old/var gallery/
  • Turn maintenance mode off.

My gallery/var directory does not have any custom themes or css. I'm using the default wind theme from gallery-3.0.4.zip

 
floridave
floridave's picture

Joined: 2003-12-22
Posts: 27300
Posted: Fri, 2012-12-28 01:12

Did you run the upgrader? Don't know if that would help or not but worth a try:
Login as admin. In your web browser, head over to http://example.com/gallery3/index.php/upgrader (except use your real Gallery 3 url).

Other than that a experimental version is all I can think of as all other reports of this have been down to the theme.

Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team

 
pshuman

Joined: 2006-04-12
Posts: 8
Posted: Fri, 2012-12-28 01:48

Sorry, yes. I ran the updater both times with no errors reported.

When I leave the style tag enabled, the output is

<style type="text/css">
  .g-view #g-content #g-album-grid .g-item {
    width: 98px;
    height: 110px;
    /* 0.46 */
  }
</style>

I don't see any of those numbers in the admin/advanced_settings page. I will look though the DB to see if I can find those there.