Support Forums - Classified Ads Script Osclass
Unread
New Replies
Osclass Market
Download Osclass
Documentation
Home
Help
Search
Login
Register
Problem with watermark
Support Forums - Classified Ads Script Osclass
Osclass theme support
Free themes
Problem with watermark
Match all words
Match any words
Most relevant results first
Largest topics first
Smallest topics first
Most recent topics first
Oldest topics first
Advanced
Unread posts
New replies
My topics
My posts
Print
Pages: [
1
]
This topic contains a post which is marked as Best Answer.
Press here if you would like to see it.
Альтаир Ибн Ла-Ахад
56 posts
Problem with watermark
«
on:
December 14, 2016, 11:55:22 PM »
Hi all. I have some problem with my watermark... I upload png image as watermark with transperency background but when i upload some listing's image the watermark in part out of listing image is black (see attachement) Please help me fix it.
Thank you very much
Logged
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Problem with watermark
«
Reply #1 on:
December 15, 2016, 08:51:31 AM »
This is osclass related issue, might be bug, you can report it to them (I know they have similar bug on their market where png images getting black background)
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
Альтаир Ибн Ла-Ахад
56 posts
Re: Problem with watermark
«
Reply #2 on:
December 16, 2016, 10:30:40 PM »
Thak you vor help.
Logged
atba
193 posts
Re: Problem with watermark
«
Reply #3 on:
November 01, 2021, 11:49:21 AM »
How was this problem solved? She is still present
Logged
osclass.by
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Problem with watermark
«
Reply #4 on:
November 01, 2021, 12:58:34 PM »
Is it? Send some png that cause it, we may check that
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
atba
193 posts
Re: Problem with watermark
«
Reply #5 on:
November 01, 2021, 01:13:13 PM »
Absolutely any with a vertical arrangement. See the example
«
Last Edit: November 01, 2021, 01:17:01 PM by atba
»
Logged
osclass.by
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Problem with watermark
«
Reply #6 on:
November 01, 2021, 01:14:33 PM »
Image woth vertical alignment cause problems with watermark?
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
atba
193 posts
Re: Problem with watermark
«
Reply #7 on:
November 01, 2021, 01:23:07 PM »
No, you don't understand. If you load a vertical image, as in the example, white fields are formed accordingly (necessary to preserve proportions). Accordingly, the transparent watermark (.png) on the white margins has a black background.
«
Last Edit: November 01, 2021, 01:25:40 PM by atba
»
Logged
osclass.by
atba
193 posts
Re: Problem with watermark
«
Reply #8 on:
November 02, 2021, 06:37:19 AM »
Well, what do you say? Is it possible to get rid of the black background under the watermark? Of course, you can turn on Image Magic, as some advise, but it often sets the wrong orientation with images and turns them 90 degrees.
Logged
osclass.by
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Problem with watermark
«
Reply #9 on:
November 02, 2021, 08:31:21 AM »
@atba
Ok so you actually use GD Library instead of ImageMagick.
In that case I would say it is bug of GD library and not of osclass.
You may try to use "best crop" option to avoid white spaces or place watermark into middle of picture as workaround here.
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
atba
193 posts
Re: Problem with watermark
«
Reply #10 on:
November 02, 2021, 01:18:23 PM »
Well, it's easier to disable the watermark altogether. But this is not the solution. Then tell me how to make Image Magic not rotate images when loading?
Logged
osclass.by
Marked as best answer by
frosticek
on November 04, 2021, 12:52:44 PM
MB Themes
Support team
17458 posts
Only quality matters
Download Osclass
Re: Problem with watermark
«
Reply #11 on:
November 02, 2021, 02:53:20 PM »
@atba
In oc-includes/osclass/ItemActions.php you have this line:
Code:
[Select]
$img = $imgres->autoRotate();
if you change it to following, auto rotate should be disabled:
Code:
[Select]
$img = $imgres;
Logged
To get fast support, we need following details:
Detail description, URL to reproduce problem, Screenshots
atba
193 posts
Re: Problem with watermark
«
Reply #12 on:
November 04, 2021, 12:21:14 AM »
A great solution. Thanks!
Logged
osclass.by
Print
Pages: [
1
]