Unreal Interactive
Forum Replies Created
-
Apologies for not responding earlier. The update doesn’t (appear) to address the issue that you and I have. Have you had any further success?
The issue I have is relating to thumbnails which appears to be caused by a combination of the Aqua Resizer and this S3 and Cloudfront plugin.
What I’m finding is that when I upload an image, that image and those created in different sizes at that time are successfully uploaded to S3. When I, for example, choose an image as a featured image, the resizer may create an image of 300×300 if that’s the thumbnail size I’ve set for a particular post. That new image is not uploaded to S3.
As a work around, edit aq_reziser.php which is located in gauge\lib\inc and comment out the following:
// Check if $img_url is local. //if ( false === strpos( $url, $upload_url ) ) // throw new Aq_Exception('Image must be local: ' . $url);
AND
//if ( ! file_exists( $img_path ) or ! getimagesize( $img_path ) ) // throw new Aq_Exception('Image file does not exist (or is not an image): ' . $img_path);
That has worked for me.
Hi museumtrade – it’s a script that the theme uses to resize the images you upload (generating thumbnails etc.).
GhostPool suggested I make some changes to the script however it didn’t work although it’s certainly possible I did it wrong. I’m definitely not 100% it’s the issue.
A workaround that the S3 plugin author could offer us would be to include, for example, a checkbox that lets us exclude an image from AWS/store local or whatever.
I can’t sorry. I get the impression it’s to do with Aqua Resizer rather than the S3 and Cloudfront plugin.
I have the exact same issue and theme. Maybe it’s the theme contributing to our trouble?