Support » Plugins » advanced custom fields with imagemagick

  • Hi There

    I’m using advanced custom fields in order to store and later display images in posts.
    my code for displaying the image is :
    <img src="<?php the_field('small_thumbnail',$post->ID)?>" alt="<?php print $post->post_title ?>" width='61' height='60' title="<?php print $post->post_title ?>"/>

    while ‘small_thumbnail’ is the name of the custom field.

    one problem I have is that all my images are 100X100 and I’m serving it as 61X60 which causes major performance issues (i must display about 200 images in a page therefore the major performance issues).

    i tried using Imagemagick in order to serve scaled images but i cant figure out how to do so.

    any help in this matter will be appreciated.

  • The topic ‘advanced custom fields with imagemagick’ is closed to new replies.