Zen Cart Logo

Resize link images

Views: 773

Results 1 to 6 of 6
29 Mar 2011, 5:51 AM
#1
mhawkins avatar

mhawkins

New Zenner

Join Date:
Jun 2009
Location:
Lynnwood, WA, USA
Posts:
40
Plugin Contributions:
0

Resize link images

Can anyone tell me how to reduce the size of banner link images? The images for these links are wider than my sidebox and I am not sure how to fix the problem. :unsure:
I am currently using 1.38 and have not updated yet. The banner links in question are posted in a add on called Blank Sidebox Mod. If you wish to see the problem my webiste is www. f a d r a s f i n d s.com and they are at the bottom of the left column.
Miriam

29 Mar 2011, 9:33 AM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Resize link images

There's no provision for Zencart to resize those images automatically. You'll have to open them in your imaging software and resize them manually.

They are 180px, 279px and 378px respectively, and your navColumnOne is set to 185px, so, with padding, you'll need to make the images less than that, say 160px or so.

30 Mar 2011, 1:44 AM
#3
mhawkins avatar

mhawkins

New Zenner

Join Date:
Jun 2009
Location:
Lynnwood, WA, USA
Posts:
40
Plugin Contributions:
0

Re: Resize link images

can I assign a pixell size in the link information to reisze? I cannot resize these items in the normal way since I do not actually have the images they are pulled in from their respective webiste. Any help would be greaqtly appreciated.

30 Mar 2011, 2:15 AM
#4
rbarbour avatar

rbarbour

Totally Zenned

Join Date:
Feb 2010
Posts:
2,159
Plugin Contributions:
10

Re: Resize link images

you could add this to your stylesheet

#blanksideboxContent img {width:160px;}

just keep in mind that ALL images in that side box smaller & larger will be re-sized

Hope this helps!

30 Mar 2011, 9:51 AM
#5
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Resize link images

That'll work, but it will make at least one of the images really fuzzy.

If that were my site, I would go ahead and download those images, resize them and create the links myself in the blank sidebox.

30 Mar 2011, 1:48 PM
#6
mhawkins avatar

mhawkins

New Zenner

Join Date:
Jun 2009
Location:
Lynnwood, WA, USA
Posts:
40
Plugin Contributions:
0

Re: Resize link images

Thank you for the suggestions. I fixed the problem. I assigned a width within the link.:yes:
I thought that might be the answer but I am do not know programming, so thanks for the help.