Tips and Tricks HQ Support Portal › Forums › WP Photo Seller › Watermarked Galleries Failing, Not displaying images on front end.
- This topic has 11 replies, 4 voices, and was last updated 4 years, 10 months ago by kbrnhart.
-
AuthorPosts
-
January 15, 2020 at 8:41 pm #15140cmphotoMember
I am having an issue where my galleries are failing to be watermarked with the image file I provided:
“Watermarking has completed with failures. Number of failed watermarks: 5 of 7 skipped: 0”
I am trying to use gallery template 10, and apply a custom watermark to the images in the gallery.
When I get this error, the images will not display on the front end. They show the error message “The requested content cannot be displayed. Please try again later.” Checking the logs shows:
“======= ADMIN REQUEST =======
[LOG DATE: 01/15/2020 12:52:16 pm – Server time zone UTC]
[WPSCommon.php – line 3159] WPSCommon::create_watermark_using_logo – image_make_intermediate_size failed and returned false!
======= ADMIN REQUEST =======
[LOG DATE: 01/15/2020 12:52:16 pm – Server time zone UTC]
[WPSGallery.php – line 710] Creation of watermark failed for gallery ID 26, filename: IMG_8917.jpg”
I looked at some other threads about this issue and they all seemed tied to the php memory limits. I had my memory and maximum file size increased. This is what the photo seller plug in shows:
PHP Version: 7.1.14
PHP Memory Usage: 32.01 MB
PHP Memory Limit: 1024M
PHP Max Upload Size: 1024M
PHP Max Post Size: 1024M
PHP Allow URL fopen: On
PHP Allow URL Include: On
PHP Display Errors: On
PHP Max Script Execution Time: 30 Seconds
I am not sure what else to try to get this to work. I currently have no galleries other than one hidden test galleries that I can get to work.
January 16, 2020 at 12:58 am #80251adminKeymasterCan you try doing a “Text” watermark just to see if that successfully completes? The “image” watermark is more resource intensive, so it is good to test using a text one.
January 16, 2020 at 12:47 pm #80252cmphotoMemberI tried unchecking the box for the custom watermark. I did not give any custom text or any thing. This was the result:
Watermarking has completed with failures. Number of failed watermarks: 5 of 7 skipped: 0
The logs show:
======= ADMIN REQUEST =======
[LOG DATE: 01/16/2020 6:44:57 am – Server time zone UTC]
[WPSCommon.php – line 2854] WPSCommon::createWatermarkImagev2 – @getimagesize failed for file: /home2/cmphoto/public_html/wp-content/uploads/wp_photo_seller/26/myd3liur59/IMG_8917.jpg
======= ADMIN REQUEST =======
[LOG DATE: 01/16/2020 6:44:57 am – Server time zone UTC]
[WPSGallery.php – line 710] Creation of watermark failed for gallery ID 26, filename: IMG_8917.jpg
January 16, 2020 at 2:51 pm #80253cmphotoMemberI also just tried removing the images from the gallery and adding them back. I got this error:
======= ADMIN REQUEST =======
[LOG DATE: 01/16/2020 8:49:28 am – Server time zone UTC]
[wp-photoseller-list-events.php – line 139] There was an error deleting one or more of the selected events with ids: Array
(
[0] => 9
[1] => 8
[2] => 7
[3] => 6
[4] => 5
[5] => 4
[6] => 3
[7] => 2
[8] => 1
)
January 18, 2020 at 2:19 am #80254adminKeymasterLooks like it is having an issue with watermarking this gallery. Just for a test, can you create another new gallery with just a couple of new photos and test the “text” watermarking option to see if the new gallery works?
January 18, 2020 at 4:57 pm #80255cmphotoMemberI did as you asked. I created a new gallery using template 10, and used the text watermark. it shows that it was successful:
“Watermarking has completed with failures. Number of failed watermarks: 5 of 5 skipped: 0”
However non of the photos will display on the front end. It is still giving me this error :
“The requested content cannot be displayed. Please try again later.
Checking the logs it shows the same as my first post, it shows these 2 errors for every image I tried to put into the gallery:
======= ADMIN REQUEST =======
[LOG DATE: 01/18/2020 10:53:12 am – Server time zone UTC]
[WPSCommon.php – line 2854] WPSCommon::createWatermarkImagev2 – @getimagesize failed for file: /home2/cmphoto/public_html/wp-content/uploads/wp_photo_seller/27/wy49qptiw2/IMG_9416.jpg
======= ADMIN REQUEST =======
[LOG DATE: 01/18/2020 10:53:12 am – Server time zone UTC]
[WPSGallery.php – line 710] Creation of watermark failed for gallery ID 27, filename: IMG_9416.jpg
January 18, 2020 at 5:06 pm #80256cmphotoMemberI just tried again for good measure, it says it successfully applied the watermark. The images still aren’t displaying, but this time I got this error for all the images:
[LOG DATE: 01/18/2020 11:03:54 am – Server time zone UTC]
[gallery-template-10.php – line 103] Gallery Template 9 – Unable to create thumb because image_make_intermediate_size failed and returned false for /home2/cmphoto/public_html/wp-content/uploads/wp_photo_seller/28//d5wwq0lka0/IMG_3480rpcrop.jpg
January 20, 2020 at 12:17 am #80257PeterMemberHi,
Are there logs produced in your server’s general PHP error_log file?
January 23, 2020 at 9:47 pm #80258kbrnhartMemberI just purchased this software and am having the same issue. I can upload and it will only watermark the first picture of a group of 3 and the other 2 it is skipped.
PHP Version: 5.6.40
PHP Memory Usage: 6.14 MB
PHP Memory Limit: 1536M
PHP Max Upload Size: 1024M
PHP Max Post Size: 1024M
PHP Allow URL fopen: Off
PHP Allow URL Include: Off
PHP Display Errors: Off
PHP Max Script Execution Time: 30000 Seconds
Watermarking has completed with failures. Number of failed watermarks: 2 of 3 skipped: 1
I haven’t been able to get the PHPerror_logs yet.
January 24, 2020 at 4:15 am #80259PeterMemberWhat is the average size of your photos which you are trying to watermark?
Are they relatively big files?
Have you tried a couple of tests with other photos which are smaller to see if maybe your system is struggling with resources?
What type of hosting plan is your site installed on? Is it on a shared environment or VPS or something else?
January 24, 2020 at 2:56 pm #80260kbrnhartMemberFile type: JPG
File size: 776 KB
Dimensions: 1707 × 2560
Shortened the watermark text length and now it seems to work properly.
January 24, 2020 at 6:26 pm #80261kbrnhartMemberFound out he made an image and used that for the watermark. If we use the built in text option, it will only do the first photo.
-
AuthorPosts
- You must be logged in to reply to this topic.