• 0

WordPress Watermark Plugin?


Question

I'm trying to use a watermark that automatically adds the watermark image to the bottom of a post thumbnail automatically. I don't want it added on the image, but I want slapped right under it. Like 9GAG! :)

Anyone know anything about this?

Link to comment
https://www.neowin.net/forum/topic/1134116-wordpress-watermark-plugin/
Share on other sites

24 answers to this question

Recommended Posts

  • 0

Use CSS then.

.ImageDIv
{
position: relative;
}

.Image
{
padding-bottom:10px;
}

.Watermark
{
position: absolute;
bottom:0px;
right:0px;
}

I already have that by doing this:


#left .crop {
display: block;
overflow: hidden;
margin-top: -40px;
text-align: center;
}

#left .crop img {
margin: 40px auto 0;
}

But I'm aiming for a WordPress PHP plugin that creates the watermark automatically. Not like Watermark reloaded though, because I don't wanted added on top of the image, but right under.

  • 0

I already have that by doing this:


#left .crop {
display: block;
overflow: hidden;
margin-top: -40px;
text-align: center;
}

#left .crop img {
margin: 40px auto 0;
}

But I'm aiming for a WordPress PHP plugin that creates the watermark automatically. Not like Watermark reloaded though, because I don't wanted added on top of the image, but right under.

http://php.net/manual/en/book.image.php

That has all you need to make said plugin.

  • 0

http://php.net/manua.../book.image.php

That has all you need to make said plugin.

It'll only just tell me the same thing Watermark Reloaded does in that manual.

I've had the pro version of Watermark Reloaded before, and it only adds the watermark on top of the image. I want it added under, just like 9GAG where it can be hidden until someone tries to take the image.

  • 0

http://wordpress.org/extend/plugins/hotlink2watermark/

Do you want the watermark to still be a part of the image, just under it instead of overlaying it?

I think what they are looking for is a plugin that will not have a watermark on the image until it is either saved onto the client machine or linked out to another page. So on their own website it is not intrusive however, if you steal the image it will have a watermark.

  • 0

Do you want the watermark to still be a part of the image, just under it instead of overlaying it?

I do, I don't want them separated. Check out the site http://wtfyo.com. That's what I'm working on. If you move or take the image to the desktop, you'll see the image, but that's only because I photoshopped that watermark on there and CSS'd it to be 40 pixels hidden by overflow & margin.

Another thing is, not only can there be uploads within the dashboard, I have to make sure this function works in a custom upload page.

  • 0

Ok. So you want something like this: http://myers.in/testing/test.php but without the fading?

And then you can just set a containing div to the correct height with overflow:hidden; to make it appear as if there were no watermark.

  • 0

Ok. So you want something like this: http://myers.in/testing/test.php but without the fading?

And then you can just set a containing div to the correct height with overflow:hidden; to make it appear as if there were no watermark.

YES! That's what I want! :D Of course, without the fade haha. I say built in instead of uploading with the watermark is much better and I can prevent images from being linked outside with .htaccess I suppose. :)

  • 0

Alright. That's easy enough to do, but it will take a little bit of work to add compatibility for more than just '.jpg' images. What kind of images will you be displaying (.png, .jpg, etc.)? Also, if you could post a bit of the code where your image handling is done, that would be very helpful.

  • 0

Alright. That's easy enough to do, but it will take a little bit of work to add compatibility for more than just '.jpg' images. What kind of images will you be displaying (.png, .jpg, etc.)? Also, if you could post a bit of the code where your image handling is done, that would be very helpful.

For now, just png & jpg. This is running on WordPress, so the image source is ran from <?php the_post_thumbnail('full'); ?>. But I can get just the post thumbnail url instead of the <img> tag that it creates.

  • 0

Well, this is probably something you would want to happen to the image as soon as it's uploaded. If it's just png and jpg, it shouldn't be very difficult at all, but I actually meant the code that handles the upload, not the code that displays the image after it's uploaded. If you would rather do this to the image per request, that is possible as well, but not as clean...

  • 0

Well, this is probably something you would want to happen to the image as soon as it's uploaded. If it's just png and jpg, it shouldn't be very difficult at all, but I actually meant the code that handles the upload, not the code that displays the image after it's uploaded. If you would rather do this to the image per request, that is possible as well, but not as clean...

This is what I'll be using, I used to have it fully modified. It's basically a plugin that utilizes the custom post type and whatnot for WordPress.

source.zip

  • 0

Hm...what is the media_handle_upload() function in submit_user_images.php on line 171? I can't seem to find it and I believe that is where the image data is actually being handled.

  • 0

It'll only just tell me the same thing Watermark Reloaded does in that manual.

I've had the pro version of Watermark Reloaded before, and it only adds the watermark on top of the image. I want it added under, just like 9GAG where it can be hidden until someone tries to take the image.

You know what the actual idea of programming is, right? You learn how to code and make things do what you want. You seem to do the hacking idea, well not even that actually - more 'what I needs exist, I do not need to know how it works and cannot make any of it myself'... You will not get far like that in programming at all, in fact if you take a course in programming you'd fail the first test and be kicked out.

Bad programmers copy and paste.

Good programmers write their own code.

Great programmers write their own code, and recheck it and search/plan for areas that might have problems.

Programmers that are the bad link in companies and leave large gaping security holes and broken sites/features are those that don't even know what they're doing, and right now you fit into this category.

Making the watermark appear below the image on something that it overlays over the top is so simple that if you read the PHP GD guide (if you haven't then you shouldn't be doing ANY manipulation of images at all in PHP) it'd be probably 2 lines of code that you'd change in the whole thing, and you'd know exactly what lines to search for too.

  • 0

Hm...what is the media_handle_upload() function in submit_user_images.php on line 171? I can't seem to find it and I believe that is where the image data is actually being handled.

The image handles are still worked through WordPress' core. That's where I'd have trouble too.

Function: http://codex.wordpress.org/Function_Reference/media_handle_upload

You know what the actual idea of programming is, right? You learn how to code and make things do what you want. You seem to do the hacking idea, well not even that actually - more 'what I needs exist, I do not need to know how it works and cannot make any of it myself'... You will not get far like that in programming at all, in fact if you take a course in programming you'd fail the first test and be kicked out.

Bad programmers copy and paste.

Good programmers write their own code.

Great programmers write their own code, and recheck it and search/plan for areas that might have problems.

Programmers that are the bad link in companies and leave large gaping security holes and broken sites/features are those that don't even know what they're doing, and right now you fit into this category.

Making the watermark appear below the image on something that it overlays over the top is so simple that if you read the PHP GD guide (if you haven't then you shouldn't be doing ANY manipulation of images at all in PHP) it'd be probably 2 lines of code that you'd change in the whole thing, and you'd know exactly what lines to search for too.

Can you stop? Honestly, if this was plain PHP, I'd honestly work a little harder on it because It's more natural to code on, but this is WordPress, I have to comply with the core functions, nevertheless the security I have to ensure. I have priorities right now to build off what I can until I can refine what's most suitable for me.There's a reason why there's a community of developers. Real programmers help each other out.

  • 0

but this is WordPress, I have to comply with the core functions, nevertheless the security I have to ensure. I have priorities right now to build off what I can until I can refine what's most suitable for me.There's a reason why there's a community of developers. Real programmers help each other out.

You've listed 2 WP plugins that do it but don't position it correctly, I've linked you to the OFFICIAL PHP guide for how images are manipulated in PHP, if you had any clue about PHP you'd be able to read it and notice that you need to alter a few lines in the existing plugins to get what you want, it is NOT HARD, in fact it's VERY basic PHP-GD, the functions to search for are all listed on the page.

Don't say it's because it's wordpress, you can't do it when a simple solution exists. Try the simple solution instead of repeatedly bashing it and you might learn some PHP in the process.

EDIT: In fact, the http://wordpress.org...rmark-reloaded/ plugin which was mentioned previously says it can already do this;

'Watermark outside picture'.

  • 0

You've listed 2 WP plugins that do it but don't position it correctly, I've linked you to the OFFICIAL PHP guide for how images are manipulated in PHP, if you had any clue about PHP you'd be able to read it and notice that you need to alter a few lines in the existing plugins to get what you want, it is NOT HARD, in fact it's VERY basic PHP-GD, the functions to search for are all listed on the page.

Don't say it's because it's wordpress, you can't do it when a simple solution exists. Try the simple solution instead of repeatedly bashing it and you might learn some PHP in the process.

The process is to add the watermark UNDER the image which creates a new size. Those plugins are just offset alignments. There are people who learned PHP through WordPress and the help of of programmers. Sometimes the book is just not quick enough.

  • 0

You've listed 2 WP plugins that do it but don't position it correctly, I've linked you to the OFFICIAL PHP guide for how images are manipulated in PHP, if you had any clue about PHP you'd be able to read it and notice that you need to alter a few lines in the existing plugins to get what you want, it is NOT HARD, in fact it's VERY basic PHP-GD, the functions to search for are all listed on the page.

Don't say it's because it's wordpress, you can't do it when a simple solution exists. Try the simple solution instead of repeatedly bashing it and you might learn some PHP in the process.

EDIT: In fact, the http://wordpress.org...rmark-reloaded/ plugin which was mentioned previously says it can already do this;

'Watermark outside picture'.

You do realize that's a "To-Do" list, right?

  • 0

Hm...what is the media_handle_upload() function in submit_user_images.php on line 171? I can't seem to find it and I believe that is where the image data is actually being handled.

*slaps self*

Apologies for not reading right.

So I revised the upload function so that it will directly post to the main taxonomies, additionally making them only pending so I can decide whether it's good or not. it utilizes the media function just like Watermark reloaded, so I think the upload & merge function will come pretty handy. :)

upload.zip

This topic is now closed to further replies.
  • Posts

    • U.S. partially reverses Anthropic AI ban for Mythos but keeps Fable 5 off the market by Karthik Mudaliar Anthropic says that the U.S. government has finally allowed it to restore Claude Mythos 5. But of course, there's a catch. The rollout is again for a limited set of U.S. organizations that operate and defend critical infrastructure. The company announced this in a post on X (formerly Twitter). This does not mean that Anthropic's latest frontier models are back to normal availability. Fable 5, which was a tuned version of Mythos 5 for public release, remains unavailable. Anthropic said that it is still working with the government to expand Mythos 5 access and make Fable 5 available again, but there's no timeline. Reports from Bloomberg and Reuters say that this decision actually came through a letter from the U.S. Commerce Department. According to Reuters, this would allow more than 100 companies and institutions access to Mythos 5. Reuters also reported that Commerce Secretary Howard Lutnick’s letter removes the need for export licenses for approved companies’ non-US citizen employees, as well as Anthropic’s own non-US citizen employees, while restrictions remain for organizations outside the approved list. Anthropic isn't alone with this kind of controlled rollout. OpenAI's newest model family, GPT 5.6, was announced just yesterday, but isn't available for everyone yet. In its announcement, OpenAI also said that access to these models is initially limited to a select group of trusted partners and organizations, with broader access planned later this year. Both of these cases show that frontier AI launches are no longer just ordinary product releases and more like slow and vetted deployments shaped heavily by the U.S. government.
    • Sol, Terra, Luna - aren't those the names of failed crypto coins? 🤣🤣🤣
    • Microsoft Weekly: 5 years of Windows 11, more support for Windows 10, and expensive Xbox by Taras Buria This week's news recap is here, with Microsoft giving Windows 10 one more year of support, Windows 11 getting new taskbar settings in preview updates, Steam Machine prices, higher XBOX prices, and many more. Quick links: Windows 10 and 11 Windows Insider Program Updates are available Reviews are in Gaming news Great deals to check Windows 11 and Windows 10 Here, we talk about everything happening around Microsoft's latest operating system in the Stable channel and preview builds: new features, removed features, controversies, bugs, interesting findings, and more. And, of course, you may find a word or two about older versions. On June 24, 2026, Windows 11 turned five. The controversial operating system was released half a decade ago, and during these years, it received a fair share of criticism (such as poor Windows Search and its web results), which Microsoft is now actively addressing with regular preview updates that deliver missing, long-requested features. With Windows 12 nowhere to be seen on the horizon, it will be interesting to see if Windows 11 can stay on the market for as long as Windows 10 did. Speaking of Windows 10 and staying on the market, this week, Microsoft quietly prolonged the Extended Security Updates program for Windows 10, allowing users to get one more year of security updates if they do not want or cannot upgrade to Windows 11. Finally, Microsoft released this month's non-security update for Windows 11. KB5095093 arrived with a traditionally long list of new features, including point-in-time restore, new Windows Update settings, quieter Windows Widgets, new accessibility features, File Explorer updates and performance improvements, and more. Windows Insider Program Here is what Microsoft released for Windows Insiders this week: Builds Canary Channel Build 29617.1000 and build 28120.2374 These builds bring new accessibility features, new Windows Update controls, audio improvements, and more. Dev Channel Build 26300.8758 This build includes redesigned taskbar settings, File Explorer improvements, and more. Beta Channel Build 26220.8754 and build 28020.2366 This small update fixes the OneDrive bug in File Explorer, tweaks system sounds in dark mode, and more. Updates are available This section covers software, firmware, and other notable updates (released and coming soon) delivering new features, security fixes, improvements, patches, and more from Microsoft and third parties. If you use AI-powered browsing history search in Microsoft Edge, the company has bad news. A new update on the Microsoft 365 Roadmap revealed that Microsoft is discontinuing the feature. Despite using on-device models for natural search, some users found it creepy, claiming that Microsoft lacks trust in features like this. While the ability to find pages without using 100% precise words may sound cool, customers argued that it was nothing but another feature to bloat the browser with more AI. Good riddance? PowerToys received several updates this week. For one, Microsoft released version 0.100.1 with several improvements and bug fixes for the recently arrived version 0.100. A couple of days later, Microsoft dropped another update, this time fixing memory leaks in Command Palette Dock. In addition, the company is working on a new module that will make it easier to switch between windows within one application using the Alt + ` shortcut. The new module should make it to the stable release somewhere soon. Here are other updates and releases you may find interesting: New Ventoy update adds Windows 11's mandatory update support and more Microsoft updates Visual Studio Code with chat cost tracking and multi-agent chats Microsoft is building an AI datacenter that "uses less water than a fast food restaurant" Microsoft adds new AI study and teaching tools for free to Microsoft 365 Education Researchers claim Microsoft's quantum breakthrough is flawed by basic Python errors Microsoft is bringing a much-needed Recap app to Teams Microsoft's fast coding model, MAI-Code-1-Flash, comes to Copilot Business and Enterprise Here are the latest drivers and firmware updates released this week: AMD Radeon Software 26.6.2 with FSR 4.1 support for RDNA 3 graphics card. However, the driver contained a bug, which prevented installations on Windows 10 PCs. AMD fixed that with a quick hotfix update. Reviews are in Here is the hardware and software we reviewed this week This week, Steven Parker published several reviews. He shared his experience with the Creative Sound Blaster AE-X PCIe, a high-quality sound card with a headphone amp, low-latency communications, great build quality, and DSD256. However, it is on the pricier side of the spectrum, and it lacks EMI shielding. Check out the full review here. The second review is about the TerraMaster F4-425 Pro, an octa-core Intel NAS with a stand-out feature: built-in AI (OpenClaw). We also published a few Hands On reviews, which you can view below: We check out the SKG PS700 Neck Massager SKG Hand Massager with Heat OS500 hands on Hands-on with BOOX Tappy: cute little reading accessory Hands on with the ProtoArc EM25 affordable ergonomic mouse On the gaming side Learn about upcoming game releases, Xbox rumors, new hardware, software updates, freebies, deals, discounts, and more. If you plan to purchase a new Xbox, it's time to act now. This week, Microsoft announced yet another Xbox price increase. Starting August 1, 2026, all Xbox Series X|S models with 512 GB of storage will cost $100 more. As for the 1TB models, they are going up in price by a whopping $150. Finally, Microsoft is discontinuing the 2TB Xbox Series X. To make up for that, Microsoft announced a few programs to make its consoles more accessible. Those include BNPL, interest-free financing, pre-owned consoles, certified refurbished consoles, and more. Valve also shared some not-so-welcome news. The company has finally announced prices of the upcoming Steam Machine console, and if you plan to buy one, get ready to spend a whopping $1,049 on the 512GB configuration. The Steam Machine is now available for preorder, with shipments scheduled for June 29, 2026. Grand Theft Auto VI also received its official price tag. Rockstar Games announced that the long-anticipated game will launch at $79.99 for the base edition and $99.99 for the ultimate edition. The latter includes an exclusive collection of premium vehicles, weapons, apparel, and action threaded across all aspects of Jason and Lucia’s story." Those who preorder the game will get extra bonuses, including a Vintage Vice City Pack of cosmetic items as well as a free month of GTA+. NVIDIA announced new games for its GeForce NOW streaming service. Those include Dark Scrolls, SAND: Raiders of Sophie, Deer & Boy, EMPULSE, and more. Steam is running its annual Summer Sale, during which you can purchase plenty of various games with big discounts. It runs until July 9, so in case you missed it, you can still get some games at a lower price. Also, you can get two games for free in the Epic Games Store, plus more deals are available in this week's Weekend PC Game Deals issue. This link will take you to other issues of the Microsoft Weekly series. You can also support Neowin by registering for a free member account or subscribing for extra member benefits, along with an ad-free tier option.
    • Text extractor hasn't been working great on 0.99.1 but I am now updating to this version, hopefully it's better!
    • Yet you did exactly what they wanted you to do - is it better now without "Europrats"? BTW, UK had joined EU (EEC back then) and was one of the leading member states, it never joined Schengen Zone though 😉
  • Recent Achievements

    • Week One Done
      flexorcist earned a badge
      Week One Done
    • One Month Later
      Woland13 earned a badge
      One Month Later
    • Week One Done
      Woland13 earned a badge
      Week One Done
    • One Year In
      bernmeister earned a badge
      One Year In
    • Week One Done
      Scoobystu earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      502
    2. 2
      +Edouard
      226
    3. 3
      PsYcHoKiLLa
      156
    4. 4
      Steven P.
      75
    5. 5
      FloatingFatMan
      71
  • Tell a friend

    Love Neowin? Tell a friend!