Laprodo
11-27-2007, 01:53 PM
Hi!
Like http://www.pixelpost.org/extend/addons/photo-mosaic/ I've a problem to post code.
Here I can post code stuff very well:
PHP-Code
HTML-Code
AnyCode
But in review, there is no usefull posibility.
Perhaps you can improve that. A review and edit option would be nice, too
Thanks a lot...
---
At http://www.pixelpost.org/extend/addons/photo-mosaic/ i wanted to post that:
Very nice!
But i've to hack the php.
At first I've change
$thumbpath = ltrim($cfgrow['thumbnailpath'], "./");
to
$thumbpath = "./thumbnails/"; /* ltrim($cfgrow['thumbnailpath'], "./"); */
because $cfgrow['thumbnailpath'] is empty in my case
An than I've spaces in my image names, so I've to change
$mosaic .= "<a href='index.php?showimage=$pieces[0]' class='mosaic' style='background-image:url(" . $thumbpath ."thumb_$pieces[1]);'> </a>";
to
$mosaic .= "<a href='index.php?showimage=$pieces[0]' class='mosaic' style='background-image:url(\"" . $thumbpath ."thumb_$pieces[1]\");'> </a>";
to ensure loading.
Perhaps some stuff for next version.
Thanks a lot for your work!
Like http://www.pixelpost.org/extend/addons/photo-mosaic/ I've a problem to post code.
Here I can post code stuff very well:
PHP-Code
HTML-Code
AnyCode
But in review, there is no usefull posibility.
Perhaps you can improve that. A review and edit option would be nice, too
Thanks a lot...
---
At http://www.pixelpost.org/extend/addons/photo-mosaic/ i wanted to post that:
Very nice!
But i've to hack the php.
At first I've change
$thumbpath = ltrim($cfgrow['thumbnailpath'], "./");
to
$thumbpath = "./thumbnails/"; /* ltrim($cfgrow['thumbnailpath'], "./"); */
because $cfgrow['thumbnailpath'] is empty in my case
An than I've spaces in my image names, so I've to change
$mosaic .= "<a href='index.php?showimage=$pieces[0]' class='mosaic' style='background-image:url(" . $thumbpath ."thumb_$pieces[1]);'> </a>";
to
$mosaic .= "<a href='index.php?showimage=$pieces[0]' class='mosaic' style='background-image:url(\"" . $thumbpath ."thumb_$pieces[1]\");'> </a>";
to ensure loading.
Perhaps some stuff for next version.
Thanks a lot for your work!