Cannot modify image / thumbnail sizes, bug with custom size
-
Hi there,
I think I have stumbled upon a bug (or at least some really strange behaviour)…
What I am trying to achieve is to set the thumbnail size to let’s say 300px. But whatever I am trying to do it renders two errors:
- The image thumbnail size stays the same (even after re-generating all thumbs, see steps below)
- The custom size overrules the setting I use in “Thumbnail size” meaning that I have first tried to use a custom size but then reverted to a standard size (medium, 300px) but still the output shows the inline width set with Custom
You should be able to reproduce at least the second error by
– choosing a custom thumb size
– going back to a regular / standard size from the radio choicesI also tried to clear the custom width & height boxes completely but upon saving they are showing “0px” and thus my images are being displayed as if I am using the custom size (although I am not).
The code that is being generated:
<img src="/cs/wp-content/uploads/2011/02/Fotolia_22270703_XS-150x150.jpg" alt="some-alt-text" title="some-title" style="max-width:0px;max-height:0px;" class="crp_thumb crp_firstchild">
This is what I get when setting the thumbnail-size to medium / 300px – first the img src doesn’t reflect my choice (there is an equivalent image Fotolia_22270703_XS-300×200.jpg), and secondly the whole styling is being overwritten by the remainders of the custom size settings (0px / 0px).
The relevant settings:
- Disabled the cache
- Disabled default styling
- Calling the plugin / function via template – echo_ald_crp()
- Re-Generated all thumbnails
I can send some screenshots if needed.
Thanks + regards,Henning
- The topic ‘Cannot modify image / thumbnail sizes, bug with custom size’ is closed to new replies.