Moez Tharani
Forum Replies Created
-
AuthorPosts
-
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.
Nope, date range is empty and wasn’t used. Credentials coming.
Yes it does. But this might be part of a larger problem. I was just looking at another one of my sites and found that CPT options were missing. This happened before on a different site and we opened ticket https://wpgeodirectory.com/support/topic/events-cpt-issue/. Kiran indicated that the plugin was wrong, but I didn’t follow up. We would have used the same plugin download on multiple websites. Can we get a comment from Kiran on what exactly he did to correct that issue?
I think I figured out why it wasn’t working for me. I forgot that these instructions are intended for the listings page, not the details page, which is where I’m currently customizing. So I guess the question is, is it possible to do something similar on the details page?
This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.This reply has been marked as private.Awesome, that worked. I just changed it to 1025 though. Thanks Stiofan!
Oh I see. So you resize my 2000×2000 image to 1024×1024 and then tell WordPress to do its thing. WordPress sees the 1024×1024 image and doesn’t generate a large image. Sorry Stiofan, I didn’t fully understand your explanation before.
Is there a way to disable that? The reason this presents a problem is that AppPresser is looking for the large image variant for it’s featured listing slider that uses the WordPress API for content. This is so the image doesn’t appear pixelated on higher resolution devices, like retina iPad’s. When we provide instructions for listing submissions, I can tell people “make sure your featured image is at least 1025 in height or width to be compatible with the app”. That’s easy. But because of what you guys are doing, I have to tell them “make sure your featured image is at least 1025 in height or width but is not a square to be compatible with the app”. That will be much harder to explain.
Let’s talk about standard WordPress behaviour. I’ve attached a 2000×2000 image. When I upload this image as a featured image for a WordPress post, I end up with a thumbnail image, 150×150, a medium image, 300×300 and a large image, 1024×1024, in addition to the original image at 2000×2000 which is also in the uploads folder. Perfect.
Now, if I do the same thing with GD and upload this exact same image with a GD post, what happens? I end up with a thumbnail image, 150×150 and a medium image, 300×300. The original image is resized to 1024×1024 and I have no large image. This presents a problem with the API because it means there is no large size variant of the featured image.
It’s not standard WordPress behaviour. So why is this happening? And again, why is it only happening with perfectly square images?
-
AuthorPosts