Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / turn off image text?

turn off image text?

Locked

Views: 3,779

Results 1 to 20 of 22
This thread is locked. New replies are disabled.
17 Oct 2007, 3:03 AM
#1
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

turn off image text?

Hi everyone,

Is there any way I can turn OFF the text that appears when I hover over an image with the mouse? I would like to eliminate that if possible.

thanks for any help...

17 Oct 2007, 3:08 AM
#2
Kim avatar

Kim

Obaa-san

Join Date:
Jun 2003
Location:
West Coast, North America
Posts:
26,603
Plugin Contributions:
0

Re: turn off image text?

Why would you want to do that, and on which images?

17 Oct 2007, 3:14 AM
#3
merlinpa1969 avatar

merlinpa1969

Totally Zenned

Join Date:
Mar 2004
Posts:
13,031
Plugin Contributions:
4

Re: turn off image text?

Alt tags are great spider food

17 Oct 2007, 3:32 AM
#4
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: turn off image text?

Hi Kim and Merlin,

I wanted to turn it off for all images... but if it's great spider food, I might not want to (smile). I can live with it, it's just that now that I have IM2 working, the text appears on top of the "zoomed" image.

guess I will just live with it...
thanks for the feedback

11 Nov 2007, 4:28 AM
#5
pcgoddess avatar

pcgoddess

New Zenner

Join Date:
Apr 2007
Posts:
18
Plugin Contributions:
0

Re: turn off image text?

crabdance:

Hi Kim and Merlin,

I wanted to turn it off for all images... but if it's great spider food, I might not want to (smile). I can live with it, it's just that now that I have IM2 working, the text appears on top of the "zoomed" image.

guess I will just live with it...
thanks for the feedbackThis is really funny, Crabdance. I am traveling the trail you blazed with ZC, then IH2, now tool tips. So what's next? :laugh:

11 Nov 2007, 4:33 AM
#6
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: turn off image text?

pcgoddess:

This is really funny, Crabdance. I am traveling the trail you blazed with ZC, then IH2, now tool tips. So what's next? :laugh:

Hi PcGoddess,

That's neat that we are following each other. I tell you where I went next. I found out how to add shadow boxes (sorta) for my images. If your interested I can tell you how now (smile).

Hope you are having a most wonderful night!!!

11 Nov 2007, 3:32 PM
#7
pcgoddess avatar

pcgoddess

New Zenner

Join Date:
Apr 2007
Posts:
18
Plugin Contributions:
0

Re: turn off image text?

crabdance:

Hi PcGoddess,

That's neat that we are following each other. I tell you where I went next. I found out how to add shadow boxes (sorta) for my images. If your interested I can tell you how now (smile).

Hope you are having a most wonderful night!!!Yes, that would be great - thank you!

I am actually at the point where I feel like the design is past the major hurdles and now its a matter of adding products and configuring shipping/taxes. This is a good place to be. :clap:

11 Nov 2007, 4:23 PM
#8
crabdance avatar

crabdance

Zen Follower

Join Date:
Sep 2007
Posts:
318
Plugin Contributions:
0

Re: turn off image text?

pcgoddess:

Yes, that would be great - thank you!

I am actually at the point where I feel like the design is past the major hurdles and now its a matter of adding products and configuring shipping/taxes. This is a good place to be. :clap:

Hi again... Yes, I'm about through with the design part too. Shame because that's my favorite part. Maybe I will start making themes or something now (smile). You know I had a really hard time with the shipping part. What did you do? or what was your decision on what to do. For now, I just pulled numbers out of the air. I'm using "zone rates" and I'm going by weight. I really would be interested in what you did.

Oh.. for the picture shadow boxes... put this in your stylesheet.css:

#newProductsDefault img {
border: 5px outset white;
}

Then take a look at a page that has "new" products on it. Gray is also a good color. Do you know anything about the "peek-a-boo" bug. That's what I'm working on now. I have a background image in IE that acts really strange due to this bug. If you have come across this, let me know.

1 Dec 2007, 6:54 AM
#9
sweet_zouzou avatar

sweet_zouzou

Zen Follower

Join Date:
Nov 2007
Posts:
138
Plugin Contributions:
0

Re: turn off image text?

I would also like to turn off the hover image text. I installed IH2 and the hover image text displays over the top of the hover pop up image. Anyone know how to do this?

https://www.sweetzouzou.com

Thx Sweet

1 Dec 2007, 10:58 AM
#10
alex_clarke avatar

alex_clarke

Totally Zenned

Join Date:
Mar 2006
Posts:
909
Plugin Contributions:
1

Re: turn off image text?

Sweet ZouZou:

I would also like to turn off the hover image text. I installed IH2 and the hover image text displays over the top of the hover pop up image. Anyone know how to do this?

www.sweetzouzou.com

Thx Sweet

Are you referring to the image drop shadows? If so, they're part of the image. So I'm guesing Photoshop, Fireworks or some similar software was used.

1 Dec 2007, 2:29 PM
#11
sweet_zouzou avatar

sweet_zouzou

Zen Follower

Join Date:
Nov 2007
Posts:
138
Plugin Contributions:
0

Re: turn off image text?

Hey Alex, I'm referring to the little "pop-up" text box that appears when you mouse over the category or product image.

3 Dec 2007, 9:55 AM
#12
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: turn off image text?

Sweet ZouZou:

I would also like to turn off the hover image text. I installed IH2 and the hover image text displays over the top of the hover pop up image. Anyone know how to do this?

www.sweetzouzou.com

Thx Sweet

You can't turn it off so to speak, but you can hide it by editing your style_imagehover.css
font size 0
You can also change the font color to match the background.

M

3 Dec 2007, 3:10 PM
#13
sweet_zouzou avatar

sweet_zouzou

Zen Follower

Join Date:
Nov 2007
Posts:
138
Plugin Contributions:
0

Re: turn off image text?

I didn't do a good job of explaining this one. The IH2 hover is good and I want to keep it just the way it is. The "zen-cart" hover is the one I want to hide. If you open the link below, and hover over one of the pics, you will see 2 hover pop-ups.

http://www.sweetzouzou.com/catalog/index.php?main_page=index&cPath=73

4 Dec 2007, 2:56 AM
#14
tophand avatar

tophand

Totally Zenned

Join Date:
Jan 2007
Location:
1.5 miles from Home
Posts:
674
Plugin Contributions:
0

Re: turn off image text?

Sweet ZouZou:

I didn't do a good job of explaining this one. The IH2 hover is good and I want to keep it just the way it is. The "zen-cart" hover is the one I want to hide. If you open the link below, and hover over one of the pics, you will see 2 hover pop-ups.

http://www.sweetzouzou.com/catalog/index.php?main_page=index&cPath=73

You mean the little tooltip box.
Sorry that is part of your computer operating system (WIN98, XP, ect..).
You can turn it off for your computer but it will not have effect on your website or users of your website.

Still you can Google "tool tip".
I found a jscript where you could control the tooltip and one of the functions in the script was a delay. I was thinking of playing around with this but I haven't the time to do so.

M

4 Dec 2007, 2:02 PM
#15
sweet_zouzou avatar

sweet_zouzou

Zen Follower

Join Date:
Nov 2007
Posts:
138
Plugin Contributions:
0

Re: turn off image text?

Yes, thats what I'm talking about. The tool tip pops up on top of the IM2 hover image. I will search as you suggest. Thx!!!!

6 Dec 2007, 5:43 PM
#16
sweet_zouzou avatar

sweet_zouzou

Zen Follower

Join Date:
Nov 2007
Posts:
138
Plugin Contributions:
0

Re: turn off image text?

I decided not to kill the tooltip but changed the text-align to right justify in the hover image box. This will work for now.

http://www.sweetzouzou.com/catalog/index.php?main_page=index&cPath=73

style_imagehover.css

#trailimageid h1 {
font-size: 100%;
font-weight: normal;
margin: 0;
padding: 2px 0px;
text-align: right;
width: 100%;
}

17 Apr 2010, 7:41 AM
#17
australican avatar

australican

Zen Follower

Join Date:
Jan 2009
Location:
Victoria Australia
Posts:
100
Plugin Contributions:
0

Re: turn off image text?

I'm trying to do the same thing. I want to suppress the tooltip on images that are handled by image handler only. Which means my small and medium product images.
I read that if you add title="" to the image src like this,

<img src="http://myshop.com/images/product.png" title="" alt="my cool product">

It will still have an alt for readers and spiders, but won't show a tooltip pop up.
With the IH product pics this is redundant as the title is at the top of the pop-up not to mention the tooltip "pops up" on top of the image label.
If anyone knows where I could generate this I'd really appreciate it.
David

17 Apr 2010, 12:39 PM
#18
gjh42 avatar

gjh42

Black Belt

Join Date:
Jul 2005
Location:
Upstate NY
Posts:
21,876
Plugin Contributions:
8

Re: turn off image text?

Zen Cart's image function automatically generates alt as well as title tags for images. You can add a title="" parameter, but I'm not sure how that would interact with the title="Image Name" generated by ZC.

18 Apr 2010, 12:44 AM
#19
australican avatar

australican

Zen Follower

Join Date:
Jan 2009
Location:
Victoria Australia
Posts:
100
Plugin Contributions:
0

Re: turn off image text?

Thanks Glenn, I wasn't thinking of adding a second title="" to it. Just emptying the title. I can see when viewing the source, that zen just uses the image name, sans the extension for both alt and title. So it seems to me, that if what I read was correct and both spiders and readers "see" the alt tag, then at this point I'm thinking that just preventing zen from adding (or fetching) the image name to display in the title would give me an empty title=""
I would be happy with that. Even if it means stopping the tooltip site wide. I don't see the point of a tiny box popping up telling us that we are looking at the store's logo. If that info is in the alt tag that should be enough.
If anyone knows different and that the image title serves a more useful purpose, please chime in here.

I do still have a couple of questions, if you've got a minute.

Does zen use the same function (is it the same file) for all the images site wide?
Which file is it? I've tried to track it down but I'm not that zenned yet.
Would I be able to suppress this on just the product images?
Thanks for your help Glenn
David

18 Apr 2010, 2:47 AM
#20
australican avatar

australican

Zen Follower

Join Date:
Jan 2009
Location:
Victoria Australia
Posts:
100
Plugin Contributions:
0

Re: turn off image text?

Just adding some info here... I just did a couple of hours of research, on google, W3, SEO sites, and some discussion boards. It seems the general consensus is that while it doesn't hurt to use identical text for alt and title attributes it is redundant EXCEPT for the fact that most browsers use title for the tool tip.

W3 recommends that alt is to describe the image and title is for extra information.

Most are saying alt should describe the img and title should be used like a caption, as in

alt= sail boat on a lake
title= sailing lake Erie

Would be nice if we could "fill out" these tags in zen rather than them using the images name.

David