[Resolved] Cropping an image regenerates thumbnails, scaling doesn't
I am currently implementing a gallery for a client website on two custom post types. To minimize possible mistakes on the client’s part, I am retrieving the attachments in a custom loop on the single-posttype.php page instead of using the gallery shorttag.
I am a little confused by the media manager in WordPress : If I upload an image, called “myphoto.jpg” for example, WordPress will generate “myphoto-120×80.jpg” and “myphoto-300×199.jpg” (my thumbnail and small image sizes respectively). As one would expect.
Now if I crop the image to a ratio specific to my site (642×425 in my case), and click save, WordPress will generate “myphoto-randomchars-120×80.jpg” and “myphoto-randomchars-300×199.jpg”. So far so good.
Now the weird part : If I scale the image (by clicking the scale image link, entering the new dimensions and clicking the “scale” button), then the image is automatically saved with new randomchars appeneded to the name, but the thumbnails aren’t generated.
Is this an oversight? Is this by design? I have seen similar issues pop up and I know about the regenerate thumbnails plugin and the TimThumb class but these solutions don’t seem very elegant.
One solution would be to change the “medium” or “large” size in the media settings, or even a custom size, but I’m not keen on multiplying the number of files.
How do you fine people implement and explain media management for clients who aren’t tech-savy ?
Thank you for your time
- The topic ‘[Resolved] Cropping an image regenerates thumbnails, scaling doesn't’ is closed to new replies.