Image Thumbnails & REMOVE_HTML

This is an archive of old posting to the User Forum

Image Thumbnails & REMOVE_HTML

Postby Vince Salese » Mon Nov 10, 2003 3:38 pm

Can anyone give me an example of the use of the [-- PRODUCT.Graphic
REMOVE_HTML --]. What I am trying to accomplish is to create a custom
template that would override the existing image properties for to a size of
100x100 for thumbnail display. What gets returned with the REMOVE_HTML is a
partial tag with the HTML "<img" stripped off. Now do I have to parse the
string to get to the img url? Can I override it with a style sheet setting?
I'm just getting real tired of creating thumbnails for everthing. It's
becoming an administrative headache.
If anyone has a different way to do this, I'm open for suggestions.

Any help will be very much appreciated.
Thanks
Vince@ahoycaptain.com
Vince Salese
 

Re: Image Thumbnails & REMOVE_HTML

Postby Guest » Mon Nov 10, 2003 10:21 pm

Vince Salese wrote:

Can anyone give me an example of the use of the [-- PRODUCT.Graphic
REMOVE_HTML --]. What I am trying to accomplish is to create a custom
template that would override the existing image properties for to a size of
100x100 for thumbnail display. What gets returned with the REMOVE_HTML is a
partial tag with the HTML "<img" stripped off. Now do I have to parse the
string to get to the img url? Can I override it with a style sheet setting?
I'm just getting real tired of creating thumbnails for everthing. It's
becoming an administrative headache.
If anyone has a different way to do this, I'm open for suggestions.

Any help will be very much appreciated.
Thanks
Vince@ahoycaptain.com


This may not answer your question directly but if you just change the

dimension of the image in the html you do your shoppers a dis service
forcing them to download a much larger image than is necessary. If just
the height and width dimension is changed the full image must still be
downloaded and then it is resized by the browser. This may not be much
of a problem if the shopper has a T1 or DSL connection but if they have
a 28.8 or even a 56K dialup line it will take much longer to load the
page and if there are lots of images they may just abort going to the
site itself.

Many graphics programs have some kind of script that will create
thumbnails in a very short amount of time. I know there are freeware
and shareware programs that you can download if you don't have one of
the major applications like Photoshop or Photo Paint.

Currently there is no ShopSite template tag available that will give you
just the image name. If you use the REMOVE_HTML option they you need to
add the starting part of the html for the image tag and you can add
additonal parameter to the end of the tag before you close the image tag.

You could also use some other field in the database to keep a copy of
the image name and then just build the url you need based on the image
name in that field and the height and width parameters you want added to
it.

Jim
Guest
 

Re: Image Thumbnails & REMOVE_HTML

Postby Vince Salese » Tue Nov 11, 2003 8:06 am

Thanks Jim.
That's a very good point. We'll certainly take that into consideration.
Vince
<jstavast@xmission.com> wrote in message
news:bopnt5$5nj$1@support.shopsite.com...
Vince Salese wrote:

Can anyone give me an example of the use of the [-- PRODUCT.Graphic
REMOVE_HTML --]. What I am trying to accomplish is to create a custom
template that would override the existing image properties for to a size
of
100x100 for thumbnail display. What gets returned with the REMOVE_HTML
is a
partial tag with the HTML "<img" stripped off. Now do I have to parse
the
string to get to the img url? Can I override it with a style sheet
setting?
I'm just getting real tired of creating thumbnails for everthing. It's
becoming an administrative headache.
If anyone has a different way to do this, I'm open for suggestions.

Any help will be very much appreciated.
Thanks
Vince@ahoycaptain.com


This may not answer your question directly but if you just change the
dimension of the image in the html you do your shoppers a dis service
forcing them to download a much larger image than is necessary. If just
the height and width dimension is changed the full image must still be
downloaded and then it is resized by the browser. This may not be much
of a problem if the shopper has a T1 or DSL connection but if they have
a 28.8 or even a 56K dialup line it will take much longer to load the
page and if there are lots of images they may just abort going to the
site itself.

Many graphics programs have some kind of script that will create
thumbnails in a very short amount of time. I know there are freeware
and shareware programs that you can download if you don't have one of
the major applications like Photoshop or Photo Paint.

Currently there is no ShopSite template tag available that will give you
just the image name. If you use the REMOVE_HTML option they you need to
add the starting part of the html for the image tag and you can add
additonal parameter to the end of the tag before you close the image tag.

You could also use some other field in the database to keep a copy of
the image name and then just build the url you need based on the image
name in that field and the height and width parameters you want added to
it.

Jim
Vince Salese
 


Return to User Forum Archive

Who is online

Users browsing this forum: No registered users and 16 guests