...and instead of cropped image I see no image
Hi, can you give me some additional details?
- Is the img tag included in the page source code?
- Is the image URL included in the img tag? If so, what is the image path (URL)?
- Is the image 404?
If you can show me in the browser, I'll be able to tell more about what is happening. Let me know if I need to log in to see this.
Hi!
There is no img tag on the page as result.
On Siteground hosting and local upload files storage it works well. I switched to Kinsta hosting (this is point 1) and move uploads to Amazon S3. So, it could be issue with shortcode processing at Kinsta hosting or some read/write permission issue with Amazon S3
URL example: hidden link
Images you could find (not find actually) at the bottom of the page here: hidden link
So, you could see images with posts there is no featured images, but there is no images for posts with featured images.
It could work, but this is not solution, I'm looking for. This plugin will regenerate images by request. So, it will create images for entire media library for exact (limited amount) of sizes (I think 4 sizes). I looking for solution to generate required size for picture on the fly (just by request) as it is should work for crop="true" param.
So, I need your solution - if crop="true" will work with Kinsta/Amazon S3 or will not work at all at this hosting.
Could you provide a copy of the site so that I can test here. Sorry for the delayed response.
The reason is that I want to verify that this is not an issue on the site itself so that I can make a report to our development team about this.
Seeing that this is not working as intended you will probably need to try defining your custom image size as a hook and then load that custom image size. hidden link
Hi! Sorry for delay in reply.
I'm not sure if I understand you right. So you still need copy of my site?
I'm sure there is nothing wrong with my site at all. There are two changes only on site, since I change hosting and it was ok with crop function:
- I changed hosting to Kinsta, so probably this is issue with Kinsta cache or other settings. I don't see how copy of my site will help here. So, it will be nice if you could explain hosting requirements to make crop function works well.
- I changes images location to Amazon S3. So, here I also don't see how site copy will help you. I just want to understand if your crop function works with S3 at all? Do you have experience here?
The reason for getting a copy of the site was to isolate the issue. To determine if the issue was on amazon s3 end or was it the site itself. Sometimes its a bit difficult to check this even if all plugins are disabled.
So the best thing for us as supporters to do is to get a local copy of the site where we have a strictly controlled environment. If the issue is still there on our local server even with minimal setup of your site then it means its something for our 2nd tier supporter to investigate and look at .
The next thing I was suggesting is that since on s3 you had issues with the cropping function. You can actually declare your custom size and then load that custom size with our shortcode. hidden link
This was to determine if the resize would work for custom sizes. Its just steps in debugging to find what works and what doesn't.
Hi! Sorry for delay in reply.
I need more time to investigate the issue on my side.
Regarding
---
"There are two changes only on site, since I change hosting and it was ok with crop function"
You are saying that the cropping function now works since you've changed host correct?
---
I mean opposite - after I change hosting and moved images to S3 crops stopped works. So, now it doesn't work. Since both Kinsta hosting and Amazon S3 really popular services for wordpress, and crop feature is really nice, I believe it will be nice to solve it for entire Toolset community.
Our second tier supporters to see if Toolset > Settings > Custom Content > Images > Allow resizing of remote images is checked. If it isn't could you check it and let me know if the issue still remains ?