Title: fudgemonday's Replies | WordPress.org

---

# fudgemonday

  [  ](https://wordpress.org/support/users/fudgemonday/)

 *   [Profile](https://wordpress.org/support/users/fudgemonday/)
 *   [Topics Started](https://wordpress.org/support/users/fudgemonday/topics/)
 *   [Replies Created](https://wordpress.org/support/users/fudgemonday/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/fudgemonday/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/fudgemonday/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/fudgemonday/engagements/)
 *   [Favorites](https://wordpress.org/support/users/fudgemonday/favorites/)

 Search replies:

## Forum Replies Created

Viewing 5 replies - 1 through 5 (of 5 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage] files with same name are overwriten](https://wordpress.org/support/topic/files-with-same-name-are-overwriten/)
 *  [fudgemonday](https://wordpress.org/support/users/fudgemonday/)
 * (@fudgemonday)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/files-with-same-name-are-overwriten/#post-5138356)
 * I think this issue still remains – at least is would explain what’s happening
   with our images at the moment.
 * I can see in the changelog for version 0.7 (2014-12-04)
 * > Bug Fix: S3 file overwritten when file with same name uploaded and local file
   > removed (dataferret)
 * This is exactly what’s happening with us now – using 0.82.
 * It’s been mentioned in a few threads on this forum recently but without a response
   that I can find.
 * Any update appreciated.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[WP Offload Media Lite for Amazon S3, DigitalOcean Spaces, and Google Cloud Storage] Any watermark plugin that is compatible with this plugin?](https://wordpress.org/support/topic/any-watermark-plugin-that-is-compatible-with-this-plugin/)
 *  [fudgemonday](https://wordpress.org/support/users/fudgemonday/)
 * (@fudgemonday)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/any-watermark-plugin-that-is-compatible-with-this-plugin/#post-5837328)
 * This works for us:
 * [https://wordpress.org/plugins/image-watermark/](https://wordpress.org/plugins/image-watermark/)
 * Though if the local version of the watermark file is missing (i.e. just exists
   in the S3 bucket) we needed to add this:
 * [https://wordpress.org/support/topic/use-a-watermark-file-from-the-theme-directory-not-media-library](https://wordpress.org/support/topic/use-a-watermark-file-from-the-theme-directory-not-media-library)
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image Watermark] Use a watermark file from the Theme directory (not Media Library)](https://wordpress.org/support/topic/use-a-watermark-file-from-the-theme-directory-not-media-library/)
 *  Thread Starter [fudgemonday](https://wordpress.org/support/users/fudgemonday/)
 * (@fudgemonday)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/use-a-watermark-file-from-the-theme-directory-not-media-library/#post-5934190)
 * Many thanks for the detailed reply!
 * After looking at the functions/hooks you suggested the code is quite dependant
   on having the WordPress “attachment”, so the approach I took was to check if 
   the local copy of the watermark file exists and if not get it from the URL.
 * `
    add_action( 'iw_before_apply_watermark', 'check_local_watermark_file' ); function
   check_local_watermark_file() {
 *  $wm_options = get_option('df_watermark_image');
    $upload_dir = wp_upload_dir();
   $watermark_file = wp_get_attachment_metadata($wm_options['url'], TRUE);
 *  $url = $upload_dir['basedir'].DIRECTORY_SEPARATOR.$watermark_file['file'];
 *  if(!file_exists($url)) {
    // get the remote file $wm_url = wp_get_attachment_url(
   $wm_options['url']); file_put_contents($url, fopen($wm_url, 'r')); } }
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Gravity Forms + Custom Post Types] Fix error – has no method 'curCSS'](https://wordpress.org/support/topic/fix-error-has-no-method-curcss/)
 *  [fudgemonday](https://wordpress.org/support/users/fudgemonday/)
 * (@fudgemonday)
 * [12 years, 5 months ago](https://wordpress.org/support/topic/fix-error-has-no-method-curcss/#post-3728225)
 * Thank you Remco.
 * I would just like to echo that
 * > I hope you can launch a fix soon
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Lift: Search for WordPress] Initial Index Problem](https://wordpress.org/support/topic/initial-index-problem/)
 *  Thread Starter [fudgemonday](https://wordpress.org/support/users/fudgemonday/)
 * (@fudgemonday)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/initial-index-problem/#post-3940270)
 * Hi, thanks for the replies. Unfortunately there was a deadline for the project
   and we tried our best to get it working, but in-the-end we had to look for another
   solution for search. We went with swiftype.

Viewing 5 replies - 1 through 5 (of 5 total)