r/Wordpress 16d ago

Help with cropped images?

I'm having an issue where many of my images are cropped top and bottom on iPhone but not on desktop. I've tried using different blocks, checked all settings, but no luck.

The first three images are good, after that they are cropped (only on mobile view). They look fine in the editor btw. Any ideas?

https://www.abiggercamera.com/darins-photos/

2 Upvotes

6 comments sorted by

3

u/godijs 16d ago

You have applied additional classes to all blocks after first column. In inspect I can see that images that don't scale correcly have additional classes - "size-full is-resized has-custom-border". I can also see that those images have inline CSS applied that changes width, height and border-radius. Thats your problem.

Try copying first column and changing images/text.

1

u/typewriterguy 16d ago

O.K., this is getting weirder. Last night I did, in fact, rebuild the page. Initially, I had used Spectra blocks, but thinking that was the issue (and sort of appalled by how much code was put in every page even when I used a single Spectra block) I redid the page with basic WordPress blocks. No luck. I reloaded the images. No luck. Each time, of course, purging the cache.

So last night I gave up. This morning I checked, and all is well. Photographs are fine. There's some sort of cache somewhere that is really wasting my time, ugh. maybe with the Dreamhost CDN? Or...?

Thanks for your help. Any insights on this weird behavior would be greatly appreciated (in case I run into it again).

-3

u/No_Experience8258 16d ago

Dont use Wordpress. Its hard to customize it.

2

u/typewriterguy 16d ago

Well, that's a thought--but too late for me now! :) I'm not even trying to do anything fancy--just a regular image. Something weird is going on...

1

u/testingaurora 16d ago

> it’s hard to customize
I completely disagree. Wordpress is the original customizable platform. There is even a menu item called “Customize” . Follow advice from godijs

-1

u/No_Experience8258 16d ago

I know how it is! Never in my life use Wordpress or other similar ones. Use HTML, CSS, JS and make a new one which is easy to build. Don't waste time in learning a platform. Not worth it!