Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - dannyb

Pages: [1]
1
Quote from: V@no
well, that was supposed to be just a window, with no control panel, and only picture....but u do whatever it fits to u ;)


Then you also shouldn't use {header}  :) but instead of it:
Code: [Select]
<HTML>
<HEAD>
</HEAD>
<BODY>

Then you have an empty window with ONLY the image in it :-) I use the 4waters template from www.vierstra.com, and layout got a little bit messed up :)

But many thanks for your Module, it works great at my site!!

2
Quote from: V@no
Finaly I figured out how to make tempalate.

5 Create big.html template.
Code: [Select]

[java code snip]
...
...
[java code snip]

</script>
<center>
<img src="{media_src_big}"  onClick="window.close()" alt="{image_name}">
</center>
</body>
</html>



The layout gets better when you replace :
Code: [Select]

</body>
</html>


with
Code: [Select]
{footer}

3
Discussion & Troubleshooting / How about IMAGEMAGICK GUIDE LINES.
« on: February 18, 2003, 11:59:58 AM »
Quote from: V@no
PHP v4.3 doesnt support it, but v4.2.3 worsk just fine.
I noticed, that many scripts that I tryed were working fine with v4.2.3, but quit working after upgrading PHP to v4.3

So far, I'll stick with v4.2.3 that is more campatible.


On my Linux computer it works fine (php 4.3) ;) so it is only on the windows version I presume ?

4
Feedback & Suggestions / Modification for use with windows and image magick
« on: February 17, 2003, 02:25:12 PM »
Quote from: alex26
I have been reading and reading and reading some more.  So far many people seem to have the same problems...   I have a problem getting IMAGEMAGICK to work also. I don't get a error just a blank page that sits there.  I have tried everything the forum said.

Is there something else I should be installing to make this work??
Is there a list of things to install?


I had the same problem on the same configuration. After some research I found out that php for win32 doesn't  support the function "is_executable"

see http://www.php.net/manual/en/function.is-executable.php

It is used in includes/image_utils.php :

Code: [Select]

  switch($config['convert_tool']) {
  case "im":
    $convert_options['convert_path'] = check_executable($convert_options['convert_path']);
    $convert_options['convert_path'] = preg_replace("/".check_executable("mogrify")."$/i", check_executable("convert"), $convert_options['convert_path']);
    if (!@is_executable($convert_options['convert_path'])) {
      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
    }
    break;


there is a @ in front of it so it will not show an error about function not found...  when you comment out these 3 lines it will work!

Code: [Select]

//   if (!@is_executable($convert_options['convert_path'])) {
//      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
//    }

5
Discussion & Troubleshooting / Re: How about IMAGEMAGICK GUIDE LINES.
« on: February 17, 2003, 02:08:17 PM »
Quote from: alex26
I have been reading and reading and reading some more.  So far many people seem to have the same problems...   I have a problem getting IMAGEMAGICK to work also. I don't get a error just a blank page that sits there.  I have tried everything the forum said.

Is there something else I should be installing to make this work??
Is there a list of things to install?


I had the same problem on the same configuration. After some research I found out that php for win32 doesn't  support the function "is_executable"

see http://www.php.net/manual/en/function.is-executable.php

It is used in includes/image_utils.php :

Code: [Select]

  switch($config['convert_tool']) {
  case "im":
    $convert_options['convert_path'] = check_executable($convert_options['convert_path']);
    $convert_options['convert_path'] = preg_replace("/".check_executable("mogrify")."$/i", check_executable("convert"), $convert_options['convert_path']);
    if (!@is_executable($convert_options['convert_path'])) {
      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
    }
    break;


there is a @ in front of it so it will not show an error about function not found...  when you comment out these 3 lines it will work!

Code: [Select]

//   if (!@is_executable($convert_options['convert_path'])) {
//      $convert_options['convert_error'] = "<b class=\"marktext\">".$lang['im_error']."</b><br />\n".$lang['check_module_settings'];
//    }

Pages: [1]