WPMU DEV - Your All-in-One WordPress Platform
Forum Replies Created
-
You might want to verify that W3 Total Cache is not caching for the admin area. I don’t think it does by default. It could be that just a timeout trying to process too many images. Try this. Go to Media > Library. Select 2-3 images which have not already been processed via Smush.it. Set the checkbox in the first column of the row. Then from the dropdown above the listing select the option to Smush.it. The click the button next to the dropdown. See if you can get a small set of images processed.
On the current version of the Smush.it plugin go to Settings > Media. Then look for the Smush.it section. Set the debug output option and save the options.
Then go to Media > Bulk Smush.it and run the bulk smash.it. Let us know if you get any output.
About 5 days ago on upload of an image even little ones it would stop on the progress bar for over 5 minutes for each image, big or small.
If you go to Settings > Media the look for the Smush.it settings you can turn Off the option to Smush image files on upload.
Oh and also it is changing the file name of the pictures..I uploaded a photo example.jpg and it named it on upload olympus digital camera…rather frustrating after renaming all my images before upload.
Hmm. No, the Smush.it plugin does not even attempt to rename files on your system. I suspect you might have some other plugin active that is doing this. Might also be effecting your previous issue.
great, I’mm be pushing out the new version shortly.
Bad beta. Has some blocked code. New beta link below.
https://dl.dropboxusercontent.com/u/2616987/WPMUDev/wp-smushit/wp-smushit-1.6.5.3-Beta2.zipCan I ask you to try this beta? I’ve basically removed the local file check the previous developer added. There is no need to check the local file since the Yahoo! API only takes the URL of the file.
https://dl.dropboxusercontent.com/u/2616987/WPMUDev/wp-smushit/wp-smushit-1.6.5.3-Beta1.zip
Perfect. Let me work on using those defined and post a beta for you to test out. Be back in a few hours. Thanks.
Go to Settings > Media then in the Smush.it section set the checkbox to enable debug output. Then try running the bulk smash.it. This will show some debug information. Please post some of that information that back to here. Thanks. Will help us see how your site it setup.
Basically, the plugin attempts to determine and make sure the image you are trying to Smush is within your site’s directory tree. I suspect since your WP is within one folder and you have moved the content to a to a different folder we need to allow for that. Can you also confirm how you have this setup. Are you setting the WP_CONTENT_DIR like is suggested here http://codex.wordpress.org/Editing_wp-config.php#Moving_wp-content_folder.
Excellent. Thanks for finding and providing the debug output!
I just pushed out WP Smush.it 1.6.5.2. This version includes a debug output option. Go to Settings > Media. In the Smush.it section you will see a checkbox to enable debug output. Set that and save the settings. Then go over to Media > Bulk Smush.it. Run the bulk smash.it and grab us a copy of some of the debug output. It will show paths and such we need to help determine your exact issue.
Thanks.
@dustinjw, @streetlove, @gosouthonline,
This might help explain what is going on. From the WordPress Jetpack Photon support page. http://jetpack.me/support/photon/
Under the section ‘How Photon Works’ it states “Photon filters content but doesn’t change the info in the database.”
This explains why when you view the post within wp-admin and check the image you see something normal. But if you check the front-end HTML
Also, in the next section “Questions & Answers” the first question:
How does Photon determine which dimensions to serve?
Photon looks at the img tag width and height attributes and then serves an image resized to those dimensions or to the width of the containing element (whichever is smaller).So in the example URLs you have all provided I noted the width and height attribute size of your image. Seems Photo is looking at that and serving the size from its own servers the meet that dimension.
Unfortunately, simple disabling Photo and/or Jetpack will not solve your issue since you still have the wrong width/height dimensions as part of the image HTML in your posts.
@dustinjw, @streetlove, @gosouthonline,
Then maybe the issue is with Photon. As stated in this thread and others the Smush.it plugin simple calls the Yahoo! Smush.it API to have the Smush.it service strip out unneeded meta data from the physical image. This in effect reduced the physical size of the image so it does not take up as mush space on your hosting server. Quite simply the original image is replace with the exact same name as the reduced size image.
Also, as stated the Smush.it plugin does not in any way update the HTML image within any of your post content. As stated in one of the replies to @dustinjw, the HTML markup in the post content contains the width and height attribute which in effect control the size of the image shown. See below for the same example
<img class=”size-thumbnail wp-image-1153 alignright” width=”1847″ height=”1764″ src=”http://i0.wp.com/slickandtwistedtrails.com/wp-content/uploads/2013/06/swiss-army.jpg?resize=0%2C0″ alt=”swiss army”>
@gosouthonline, On the URL you provided I see the very tall image. Again like the above if you check the post content you will see the height is set as “2484” and the width is set as “1771” (see below for actual markup). Again the Smush.it plugin does not know how to update post content HTML images.
<img class=”size-medium wp-image-67165″ width=”2484″ height=”1771″ src=”http://i2.wp.com/gosouthonline.co.za/wp-content/uploads/2013/08/Silvermine-Ramble.jpg?resize=0%2C0″ alt=”A group of amblers snapped next to the thick-walled Kruythuis.” style=”font-size: 13px;”>
Furthermore as stated in other parts of this thread the Smush.it plugin will only attempt to modify images on the same physical server. Look at the image SRC “http://i2.wp.com/gosouthonline.co.za/wp-content/uploads/2013/08/Silvermine-Ramble.jpg” note that it is NOT on your server which is http://gosouthonline.co.za/
So again I suspect this is something with Photon and not the Smush.it plugin.
The Smush.it plugin will replace your existing image file with one reduced in physical size. So once this process is done you can then safely deactivate the plugin without hard.
Can you tell me what the value of that field is?
Basically the plugin is attempting to make sure the path to the image is within your home directory.