art-web r552 - branches/art-hub/views
- From: thos svn gnome org
- To: svn-commits-list gnome org
- Subject: art-web r552 - branches/art-hub/views
- Date: Sat, 22 Nov 2008 17:50:34 +0000 (UTC)
Author: thos
Date: Sat Nov 22 17:50:34 2008
New Revision: 552
URL: http://svn.gnome.org/viewvc/art-web?rev=552&view=rev
Log:
Load thumbnails from original filenames
Modified:
branches/art-hub/views/backgrounds.php
branches/art-hub/views/themes.php
Modified: branches/art-hub/views/backgrounds.php
==============================================================================
--- branches/art-hub/views/backgrounds.php (original)
+++ branches/art-hub/views/backgrounds.php Sat Nov 22 17:50:34 2008
@@ -83,7 +83,7 @@
</tr>
<tr>
<td rowspan="3">
- <img width="96" alt="Preview" src='/images/thumbnails/backgrounds/<?php echo $row['backgroundID']?>.jpg'>
+ <img width="96" alt="Preview" src='/images/thumbnails/backgrounds/<?php echo $row['thumbnail_filename']?>'>
</td>
<td colspan="4" style="width:100%"><?php echo $row['description']?></td>
<td rowspan="2">
Modified: branches/art-hub/views/themes.php
==============================================================================
--- branches/art-hub/views/themes.php (original)
+++ branches/art-hub/views/themes.php Sat Nov 22 17:50:34 2008
@@ -91,7 +91,7 @@
</tr>
<tr>
<td rowspan="3">
- <img width="96" alt="Preview" src='/images/thumbnails/themes/<?php echo $row['themeID']?>.png'>
+ <img width="96" alt="Preview" src='/images/thumbnails/<?php echo $row['category']?>/<?php echo $row['thumbnail_filename']?>'>
</td>
<td colspan="5" style="width:100%"><?php echo $row['description']?></td>
</tr>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]