Image Watermark and Information tags

2 views
Skip to first unread message

Phil

unread,
Feb 4, 2010, 8:34:04 AM2/4/10
to In-Portal Bugs Team
Hello guys,

I've tried this on a fresh 5,0,2, using only english language (not
other lang pack added), with Advanced theme and In-commerce, and I had
the following issues in product details:

1, I'm not able to see where to activate the watermark on images,
while "wm:" tag is in place in the theme

2, Image name, as setup in image properties, isn't used anywhere on
front end, and "Title" & "Alt" values are replaced with product name.

3, When an image is displayed in full size, again the image name isn't
used on bottom title under image (product name is displayed instead),
and worst than that, because image "title" tag isn't setup in product
details tpl, browser use the href "title" instead, and thus image
"title" is "Close"

These 2 last things are really problematic for good positionning on
search engines:

https://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=35769

"Make sure that your <title> elements and ALT attributes are
descriptive and accurate."

Phil.

Alexander Obuhovich

unread,
Feb 4, 2010, 9:46:22 AM2/4/10
to in-port...@googlegroups.com
1 - You placed watermark image under: themes/advanced/platform/img/logo_watermark.png and it still it doesn't work?

2 - Title of images can be edited in "My Link -> Edit Link" page below each of uploaded images. For products it only can be edited via administrative console (where image is uploaded). Product title is shown instead of image title only, when image title is missing.



--
You received this message because you are subscribed to the Google Groups "In-Portal Bugs Team" group.
To post to this group, send email to in-port...@googlegroups.com.
To unsubscribe from this group, send email to in-portal-bug...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/in-portal-bugs?hl=en.




--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com

Dmitry V. Andrejev

unread,
Feb 4, 2010, 11:38:59 AM2/4/10
to in-port...@googlegroups.com
Hi Phil,

1. Watermark sample:

<img src="<inp2:ImageSrc MaxWidth='fullsize' watermark='inc/i/icons/aidas-water.png|-3|-3'/>" />

This would give you Fullsize image with watermark on it. Works in In-Portal 5.0.1 and later for sure.


Thanks.
-- 
With best regards,

Dmitry V. Andrejev

Alexander Obuhovich

unread,
Feb 4, 2010, 3:13:15 PM2/4/10
to in-port...@googlegroups.com
But I think, that Phil was referring to this code:

<a href="<inp2:p_ImageSrc DefaultImage="platform/img/no_picture.gif" format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>" class="thickbox" rel="product-images" title="<inp2:p_Field name='Name' html_escape='1'/>">
                                                <inp2:p_Image render_as="image_element" Primary="1" MaxWidth="thumbnail" DefaultWidth="150" DefaultImage="platform/img/no_picture.gif" align="center"/><br />
                                            </a>

from product_detail.tpl in advanced theme of 5.x releases. As you can notice here parameter format is given here. I personally think, that format parameter doesn't exist for ImageSrc tags at all, it's only will work for Field tag.

Phil

unread,
Feb 5, 2010, 7:18:38 AM2/5/10
to In-Portal Bugs Team
Hello guys,

Dmitry, I was talking about Advanced theme code, as I use this theme
as tag library (without any tag library available), and it seems, if
I'm not confused, that watermarking if advanced theme doesn't work,
while the watermark image is present (platform/img/
logo_watermark.png).
Should I use the tag you just gave me, or should I keep the actual
code?

Alexander, I've of course filled all fields before saying that titles
and alt values doesn't display, then again I mention here that the
advanced theme isn't coded properly for images. How can I call images
values "title" and "alt"? Sorry if my question is stupid, but I don't
have any other resources than available themes, and sometimes I use
default themes for customer, then it's even better if themes are
correct :)

Thanks.
Phil.


On Feb 4, 9:13 pm, Alexander Obuhovich <aik.b...@gmail.com> wrote:
> But I think, that Phil was referring to this code:
>
> <a href="<inp2:p_ImageSrc DefaultImage="platform/img/no_picture.gif"
> format="resize:450x450;wm:platform/img/logo_watermark.png|-1|-1"/>"
> class="thickbox" rel="product-images" title="<inp2:p_Field name='Name'
> html_escape='1'/>">
>                                                 <inp2:p_Image
> render_as="image_element" Primary="1" MaxWidth="thumbnail"
> DefaultWidth="150" DefaultImage="platform/img/no_picture.gif"
> align="center"/><br />
>                                             </a>
>
> from product_detail.tpl in advanced theme of 5.x releases. As you can notice
> here parameter format is given here. I personally think, that format
> parameter doesn't exist for ImageSrc tags at all, it's only will work for
> Field tag.
>

> On Thu, Feb 4, 2010 at 6:38 PM, Dmitry V. Andrejev <dandre...@gmail.com>wrote:
>
>
>
> >  Hi Phil,
>
> > 1. Watermark sample:
>
> > <img src="<inp2:ImageSrc MaxWidth='fullsize'
> > watermark='inc/i/icons/aidas-water.png|-3|-3'/>" />
>
> > This would give you Fullsize image with watermark on it. Works in In-Portal
> > 5.0.1 and later for sure.
>
> > Thanks.
>
> > On 2/4/2010 8:46 AM, Alexander Obuhovich wrote:
>

> > 1 - You placed watermark image under: themes/advanced/*
> > platform/img/logo_watermark.png* and it still it doesn't work?


>
> > 2 - Title of images can be edited in "My Link -> Edit Link" page below each
> > of uploaded images. For products it only can be edited via administrative
> > console (where image is uploaded). Product title is shown instead of image
> > title only, when image title is missing.
>

> > On Thu, Feb 4, 2010 at 3:34 PM, Phil <p...@domicilis.biz> wrote:
>
> >> Hello guys,
>
> >> I've tried this on a fresh 5,0,2, using only english language (not
> >> other lang pack added), with Advanced theme and In-commerce, and I had
> >> the following issues in product details:
>
> >> 1, I'm not able to see where to activate the watermark on images,
> >> while "wm:" tag is in place in the theme
>
> >> 2, Image name, as setup in image properties, isn't used anywhere on
> >> front end, and  "Title" & "Alt" values are replaced with product name.
>
> >> 3, When an image is displayed in full size, again the image name isn't
> >> used on bottom title under image (product name is displayed instead),
> >> and worst than that, because image "title" tag isn't setup in product
> >> details tpl, browser use the href "title" instead, and thus image
> >> "title" is "Close"
>
> >> These 2 last things are really problematic for good positionning on
> >> search engines:
>

> >>https://www.google.com/support/webmasters/bin/answer.py?hl=en&answer=...


>
> >> "Make sure that your <title> elements and ALT attributes are
> >> descriptive and accurate."
>
> >> Phil.
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "In-Portal Bugs Team" group.
> >> To post to this group, send email to in-port...@googlegroups.com.
> >> To unsubscribe from this group, send email to

> >> in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsu...@googlegroups.com>


> >> .
> >> For more options, visit this group at
> >>http://groups.google.com/group/in-portal-bugs?hl=en.
>
> > --
> > Best Regards,
>
> >http://www.in-portal.com
> >http://www.alex-time.com
> > --
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Bugs Team" group.
> > To post to this group, send email to in-port...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > in-portal-bug...@googlegroups.com.
> > For more options, visit this group at
> >http://groups.google.com/group/in-portal-bugs?hl=en.
>
> > --
> > With best regards,
>
> > Dmitry V. Andrejev
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "In-Portal Bugs Team" group.
> > To post to this group, send email to in-port...@googlegroups.com.
> > To unsubscribe from this group, send email to

> > in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsu...@googlegroups.com>

Alexander Obuhovich

unread,
Feb 5, 2010, 8:36:12 AM2/5/10
to in-port...@googlegroups.com
1 - of course you could try to use Dmitry's suggested tag
2 - I'll let Dmitry to diagnose such unusual behavior in "advanced" theme

Alexander Obuhovich

unread,
Mar 17, 2010, 5:55:22 AM3/17/10
to in-port...@googlegroups.com
I've found a bug, that prevents full product image of being resized and watermarked at all.

Task: http://tracker.in-portal.org/view.php?id=625
fullsize_product_image_not_watermarked.patch

Phil ..:: domicilis.biz ::..

unread,
Mar 17, 2010, 7:23:53 AM3/17/10
to in-port...@googlegroups.com
Alex,

thank you to be back on this report with a solution. I was also
reporting that alt values aren't used in theme (while they are usefull
for blind people and SEO), this is just a theme coding mod I guess...

Phil.

2010/3/17 Alexander Obuhovich <aik....@gmail.com>:

Alexander Obuhovich

unread,
Mar 17, 2010, 7:55:31 AM3/17/10
to in-port...@googlegroups.com
I've only found, that "alt"/"title" attribute of primary product (any other category item) image was always showing that item's name even, when primary image alt was specified. Related to additional images they work normally.

Here is task for that with patches for you to test: http://tracker.in-portal.org/view.php?id=627

Phil ..:: domicilis.biz ::..

unread,
Mar 17, 2010, 9:02:08 AM3/17/10
to in-port...@googlegroups.com
ok, yes it's what I've found too, I'll test patch and let you know shortly.

Dmitry A.

unread,
Mar 18, 2010, 4:09:32 PM3/18/10
to In-Portal Bugs Team
Patch tested good.

On Mar 17, 8:02 am, "Phil ..:: domicilis.biz ::.."


<p...@domicilis.biz> wrote:
> ok, yes it's what I've found too, I'll test patch and let you know shortly.
>

> 2010/3/17 Alexander Obuhovich <aik.b...@gmail.com>:


>
>
>
> > I've only found, that "alt"/"title" attribute of primary product (any other
> > category item) image was always showing that item's name even, when primary
> > image alt was specified. Related to additional images they work normally.
>
> > Here is task for that with patches for you to test:
> >http://tracker.in-portal.org/view.php?id=627
>
> > On Wed, Mar 17, 2010 at 1:23 PM, Phil ..:: domicilis.biz ::..
> > <p...@domicilis.biz> wrote:
>
> >> Alex,
>
> >> thank you to be back on this report with a solution. I was also
> >> reporting that alt values aren't used in theme (while they are usefull
> >> for blind people and SEO), this is just a theme coding mod I guess...
>
> >> Phil.
>

> >> 2010/3/17 Alexander Obuhovich <aik.b...@gmail.com>:


> >> > I've found a bug, that prevents full product image of being resized and
> >> > watermarked at all.
>
> >> > Task:http://tracker.in-portal.org/view.php?id=625
>

> >> > On Fri, Feb 5, 2010 at 3:36 PM, Alexander Obuhovich <aik.b...@gmail.com>


> >> > wrote:
>
> >> >> 1 - of course you could try to use Dmitry's suggested tag
> >> >> 2 - I'll let Dmitry to diagnose such unusual behavior in "advanced"
> >> >> theme
>

> >> >>> > >> in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go oglegroups.com>

> >> >>> > > in-portal-bug...@googlegroups.com<in-portal-bugs%2Bunsubscribe@go oglegroups.com>

Phil ..:: domicilis.biz ::..

unread,
Mar 18, 2010, 4:19:49 PM3/18/10
to in-port...@googlegroups.com
great :)

2010/3/17 Phil ..:: domicilis.biz ::.. <ph...@domicilis.biz>:

Reply all
Reply to author
Forward
0 new messages