• [ Moderator note: moved to Fixing WordPress. ]

    Hello! I was wondering how can I create a “thumbnail” without upscaling it? I mean that if the image is small the void is filled with white background… I know people used timthumb for this… But timthumb ain’t safe right? If anybody know how I could do this in wordpress, I would really appreciate the answer ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator bcworkz

    (@bcworkz)

    What about just centering any thumbnail in a properly sized HTML container with a white background? Just a thought. Anyway, WP has an image editor class that works off either GD or ImageMagik, depending on what’s available. There ought to be away to do that, though I’ve no experience with it.

    Timthumb did have a major security vulnerability many years ago, which had been quickly patched. Most of the hacks you’ve heard about were from users [or plugin authors] who failed to update and get the patch applied. AFAIK it’s completely safe these days. But generally speaking, allowing uploads from any one that happens along is going to decrease you security no matter what. At least only allow uploads from logged in users and apply any other restrictions that are reasonable.

    • This reply was modified 7 years, 8 months ago by bcworkz. Reason: some plugin authors were partly to blame
    Thread Starter filipinjo

    (@filipinjo)

    You’re absolutely right… i’m gonna try the HTML/CSS way first. Thanks for clarifying things to me ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Images same with white background if needed’ is closed to new replies.