Aqua-Resizer icon indicating copy to clipboard operation
Aqua-Resizer copied to clipboard

URL image source problem

Open Itachicz11 opened this issue 11 years ago • 2 comments

Hello,

In my localhost WP theme I have this line of code

It doesn't create any link. It seems that the problem is that the source image isn't on the same url as aqua_resizer script.

Thank you for this great script.

Itachicz11 avatar Jun 02 '13 13:06 Itachicz11

usually you don't reference the file directly, but instead do something like

 $image = aq_resize( wp_get_attachment_url( get_post_thumbnail_id() ,'full' ), 300, 300, true );

senlin avatar Jun 03 '13 15:06 senlin

there is the problem that it's dynamic url from other side but nevermind It's not problem now

Itachicz11 avatar Jun 03 '13 15:06 Itachicz11