Forums

getimagesize problem need help ! (2 posts)

  1. ek06
    Member
    Posted 3 weeks ago #

    Hi,

    Warning: getimagesize() [function.getimagesize]: URL file-access is disabled in the server configuration in /homepages/4/d299908179/htdocs/book/wp-content/themes/ePhoto/includes/single-photo.php on line 20

    Warning: getimagesize(http://www.photo-folio.fr/wp-content/uploads/2009/11/IMG_2638.jpg) [function.getimagesize]: failed to open stream: no suitable wrapper could be found in /homepages/4/d299908179/htdocs/book/wp-content/themes/ePhoto/includes/single-photo.php on line 20

    Someone can help me ? (i'm french... so i'll try to speak in english)

  2. ek06
    Member
    Posted 3 weeks ago #

    Here is a part of my code :

    <?php $thumb = get_post_meta($post->ID, 'Thumbnail', $single = true); ?>
    <?php if($thumb !== '') { ?>
    <div class="thumbnail-single">
    	<?php
    	$size = getimagesize($thumb);

    And line 20 is the $size = getimagesize($thumb);

    Help pls...
    Regards.

Reply

You must log in to post.

About this Topic