this plugin has suddenly started to overload server memory and cpu
thus killing it and slowing the website down to a snails crawl
it is also only uploading images intermittently
any ideas ?
thanks
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>I have a custom wp_query on the home page of my site which grabs the 8 most recent posts in a category. Within the loop, here is the display code:
// the query
$the_query = new WP_Query( $args ); ?>
<?php if ( $the_query->have_posts() ) : ?>
<?php while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
<li style="max-width:96px;float:left;margin-right:20px;min-height:200px;">
<a class="relatedimg" href="<?php the_permalink() ?>" rel="bookmark" title="<?php the_title_attribute(); ?>">
<?php the_post_thumbnail(96,96); ?><br />
<span style="position:relative;top:1px;width:96px;"><?php the_title(); ?></span></a>
</li>
<?php endwhile; ?>
<?php wp_reset_postdata(); ?>
When I set the Featured Image (post thumbnail) it *is* uploading the image to S3 but when displaying the output of the loop above, the_post_thumbnail (Featured Image) url is the regular local wp-content/uploads/ folder, not the amazon s3 bucket.
Note that the featured image was set after the plugin was installed. How can I get these featured images to grab the images from amazon s3?
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>plugins/amazon-s3-and-cloudfront/classes/amazon-s3-and-cloudfront.php
line 157
$args[‘Expires’] = date( ‘D, d M Y H:i:s O’, time()+315360000 );
When i add a new line 158
$args[‘Cache-Control’] = ‘max-age=315360000, public’;
and add a new asset, the new meta tag is not present. Anyone have an idea why?
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>Great plugin, easy to use and working fine. Although im strugling with one issue witch is to exclude a subfolder within the media library folder so that particular one didnt go to s3. Can you point me in the right direction?
Example:
Wp-content/uploads – works as is
wp-content/uploads/my-folder – gets excluded
Thanks for any attention to this
All the Best
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>Is there a way to fix this?
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>Bummer… Any ideas?
Thanks!
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>One problem I’ve found is that it doesn’t work with the new Image Editor in wordpress. After cropping and image and saving it, a new file isn’t uploaded to s3, but the path is still replaced.
Looks like there’s a filter we could hook into to trigger a save: wp_save_image_editor_file
If that could be implemented in an upcoming version, or if anyone has input for a workaround for me for now, that would be much appreciated!
Thanks again.
https://www.ads-software.com/plugins/amazon-s3-and-cloudfront/
]]>