Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17150
Modified Files:
NEWS serendipity_admin_images.inc.php
Log Message:
bug #1007003
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.198
retrieving revision 1.199
diff -u -d -r1.198 -r1.199
--- NEWS 9 Aug 2004 19:57:34 -0000 1.198
+++ NEWS 11 Aug 2004 09:32:53 -0000 1.199
@@ -3,6 +3,9 @@
Version 0.7 ()
------------------------------------------------------------------------
+ * Fixed missing image display for rescaling images, when file was
+ outside of parent upload directory [Bug #1007003] (garvinhicking)
+
* Fixed some postgreSQL-issues, thanks to Ilya A. Volynets-Evenbakh!
* Improved and fixed XHTML-Cleanup Event plugin (garvinhicking)
Index: serendipity_admin_images.inc.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_images.inc.php,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -d -r1.27 -r1.28
--- serendipity_admin_images.inc.php 8 Aug 2004 22:01:38 -0000 1.27
+++ serendipity_admin_images.inc.php 11 Aug 2004 09:32:53 -0000 1.28
@@ -419,7 +419,7 @@
</div>
</form>
- <img src="<?php echo $serendipity['uploadHTTPPath'] . $file['name'] .'.'. $file['extension'] ; ?>" name="serendipityScaleImg" style="width: <?php echo $s[0]; ?>px; height: <?php echo $s[1]; ?>px;" alt="" />
+ <img src="<?php echo $serendipity['uploadHTTPPath'] . $file['path'] . $file['name'] .'.'. $file['extension'] ; ?>" name="serendipityScaleImg" style="width: <?php echo $s[0]; ?>px; height: <?php echo $s[1]; ?>px;" alt="" />
<?php
break;
|