Forums

Monotone theme: page does not resize to picture (7 posts)

  1. jpdeboer
    Member
    Posted 6 months ago #

    I have this picture with width 560 and height 740. I post it and this is what happens: http://www.jpb-design.nl/wordpress/uncategorized/test/

    Problem is that it does not scale page to fit width, like all the other pages do. I can't find the way to solve this.

    Anyone suggestions?

    THNX!!

  2. jdembowski
    Member
    Posted 6 months ago #

    I had the same problem. Monotone is a bit odd as themes go and needs extra steps for thumb.php and the .htaccess mods.

    From the _readme.txt

    Thumb.php and .htaccess Installation:
    
    1) Move htaccess.txt and thumb.php to your site's root folder (the one where xmlrpc.php and the wp-admin folder live).
    2) Rename htaccess.txt to .htaccess OR copy the lines out of .htaccess and append them to your current .htaccess file.
    3) Make a folder with world writable permissions (probably 0777) called "cache" in your site's root directory. This is so thumb.php can cache the images it generates.
    3) Everything should work.

    http://wordpress.org/extend/themes/monotone

    Once thumb.php and the .htaccess mods are completed correctly, the image resizing worked.

  3. jpdeboer
    Member
    Posted 6 months ago #

    Did all that. And it worked. But now not anymore.

  4. jdembowski
    Member
    Posted 6 months ago #

    Did all that. And it worked. But now not anymore.

    Bizarre. It would make more sense if it never worked, I can see why it would drive you crazy. :)

    Check your servers error_log file. It might be that thumb.php is tossing error messages.

  5. jpdeboer
    Member
    Posted 6 months ago #

    @jdembowski

    Thanks for the tip, but I'm not that good with code.

    Maybe this rings a bell to you:

    [Fri May 01 12:18:05 2009] [error] [client 62.58.67.205] PHP Warning: getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: URL file-access is disabled in the server configuration in /home/httpd/vhosts/jpb-design.nl/httpdocs/wordpress/wp-content/themes/monotone/functions.php on line 109, referer: http://www.jpb-design.nl/wordpress/uncategorized/test/
    [Fri May 01 12:18:05 2009] [error] [client 62.58.67.205] PHP Warning: getimagesize(http://www.jpb-design.nl/wordpress/wp-content/uploads/2009/05/vriendenvanamstel1.jpg) [<a href='function.getimagesize'>function.getimagesize</a>]: failed to open stream: no suitable wrapper could be found in /home/httpd/vhosts/jpb-design.nl/httpdocs/wordpress/wp-content/themes/monotone/functions.php on line 109, referer: http://www.jpb-design.nl/wordpress/uncategorized/test/
  6. jpdeboer
    Member
    Posted 6 months ago #

    Found out something: it seems the picture is not recognized as a vertical image.

  7. jpdeboer
    Member
    Posted 6 months ago #

    My recent vertical images do not get: <body class="vertical">
    Anybody an idea how I can solve this?

    Please?

Reply

You must log in to post.

About this Topic