___________NEWS____________
So the addon doesn't display images in IE7, but it does work with Firefox. Thanks to Gehret for pointing this out.
I'm working on a fix for this but I'm glad it only affects IE. Anyways, I'm also working on a feature that lets you change the order of the images in your portfolio. My current ideas involve a very intuitive, dynamic UI and im quite excited about the results.
This addon allows you to organize your images into a portfolio! There are a few parts to the addon: The interface can be found as a tab in the admin menu. From within this menu, you can manage your portfolio. A separate addon contains tags that allow for a templated portfolio page. A list of these tags can be found in the readme file.
Also included is my Simple[2] template that has a portfolio page ready to go. This template should provide a good example of how to use the tags, though it is fairly obvious if one has experience with Pixelpost's tags.
Bear in mind that this is a beta release and I would greatly appreciate knowing about any bugs you may encounter.
Thanks again to the Pixelpost team for making such a great blog!
Feel free to visit my site, located at http://photo.linkportfolio.net/
Happy shooting!
Hello
Sorry for my bad English, but I'm french. For this adon works on IE the code should be modified as follows:
In the file portfolio_tags.php add after:
else
{
$row = $_GET['img'];
$sql = "SELECT Link FROM {$pixelpost_db_prefix}portfolio LIMIT {$row},1";
$result = mysql_query($sql);
$portfolio_image_name = mysql_result($result, 0);
$tpl = ereg_replace("<PORTFOLIO_IMAGE_NAME>",$portfolio_image_name,$tpl);
}
and just before : /---making prev/next links---/
these lines :
//----modified by pictaris http://pictaris.fr----------//
//taille image - image size
$image_extra = getimagesize(ltrim($cfgrow['imagepath'], "./").$portfolio_image_name);
$image_width = $image_extra['0'];
$image_height = $image_extra['1'];
$tpl = str_replace("<IMAGE_WIDTH>",$image_width,$tpl);
$tpl = str_replace("<IMAGE_HEIGHT>",$image_height,$tpl);
// fin taille image - end image size
//----end modified by pictaris http://pictaris.fr----------//
That's all.
You can see in action on my website : http://pictaris.fr/index.php?x=portfolio :)
Hi captain,
IE 7 doesn't show pictures of your portfolio. Mozilla does so.
Looks like a great feature but it doesn't seem to show any images on your website?