145 posts
  • 3 Years of Membership
  • Austria
  • Collector Level 1
  • Exclusive Author
LovelessDesign
says

Hello,

I have an urgent question, i hope you can help.

I have an image in my theme folder that I want to crop with aq_resize. Isn’t it supported, cause the following code doesn’t work:
$thumbnail_url = get_bloginfo('template_directory').'/images/noimage.png';
$image = aq_resize( $thumbnail_url,300,200,true );
echo '<img src="'.$image.'" alt="" />';

If I echo $thumbnail_url it shows the correct path. but Aqua Resizer outputs an empty img src.

316 posts
  • Affiliate Level 2
  • Author Level 5
  • Collector Level 2
  • 4 Years of Membership
+2 more
SyamilMJ
says

You’re not allowed to resize images outside of wp uploads directory folder, for a good reason..

107 posts
  • 3 Years of Membership
  • Exclusive Author
mailmilisku
says

This is a great plugin. Is it possible to combine feature image or first image in post as the thumbnail?
In case user don’t set up feature image, automatically will use the first post image as thumbnail.
Really appreciate for the simple code here. Thanks in advance.

3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says

This is a great plugin. Is it possible to combine feature image or first image in post as the thumbnail?
In case user don’t set up feature image, automatically will use the first post image as thumbnail.
Really appreciate for the simple code here. Thanks in advance.

This should be your coding, hence you server the image. It has nothing to do with the plugin..

107 posts
  • 3 Years of Membership
  • Exclusive Author
mailmilisku
says


This is a great plugin. Is it possible to combine feature image or first image in post as the thumbnail?
In case user don’t set up feature image, automatically will use the first post image as thumbnail.
Really appreciate for the simple code here. Thanks in advance.
This should be your coding, hence you server the image. It has nothing to do with the plugin..
I try to use this code :
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>"> <?php $thumb = get_post_thumbnail_id(); $img_url = wp_get_attachment_url( $thumb,'full' ); $image = aq_resize( $img_url, 655, 255, true ); ?> <img src="<?php echo $image ?>" width="655" height="255" alt="<?php the_title(); ?>" /> </a>
Only output from feature image post. Would you like to give me a simple solution, ion case user not use feature image? So will display first image in post.
3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says



This is a great plugin. Is it possible to combine feature image or first image in post as the thumbnail?
In case user don’t set up feature image, automatically will use the first post image as thumbnail.
Really appreciate for the simple code here. Thanks in advance.
This should be your coding, hence you server the image. It has nothing to do with the plugin..
I try to use this code :
<a href="<?php the_permalink() ?>" title="<?php the_title(); ?>">
<?php 
    $thumb = get_post_thumbnail_id(); 
    $img_url = wp_get_attachment_url( $thumb,'full' ); 
    $image = aq_resize( $img_url, 655, 255, true ); ?>
    <img src="<?php echo $image ?>" width="655" height="255" alt="<?php the_title(); ?>" />
</a>

Only output from feature image post. Would you like to give me a simple solution, ion case user not use feature image? So will display first image in post.

After $img_url, do a check to see if it is empty or not.. If it is empty, just get the other image..

107 posts
  • 3 Years of Membership
  • Exclusive Author
mailmilisku
says

Only output from feature image post. Would you like to give me a simple solution, ion case user not use feature image? So will display first image in post.

After $img_url, do a check to see if it is empty or not.. If it is empty, just get the other image..

thanks. RubenBristian
Still confuse to implement your notify. I’m not a coder, just a designer.

3804 posts
  • Elite Author
  • Author Level 11
  • Trendsetter
  • 7 Years of Membership
+12 more
KrownThemes
says

I’m not a coder, just a designer.

Then hire a coder :D

1 post
  • 5 Years of Membership
  • Collector Level 3
bradleyscott
says

My images are hosted on Amazon S3, is there anyway to use this with Amazon S3?

2065 posts Don't Worry, Be Happy
  • Trendsetter
  • Weekly Top Seller
  • Exclusive Author
  • Elite Author
+9 more
FinalDestiny
says

No, it won’t work with external images

by
by
by
by
by
by