[-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

General ShopSite user discussion

[-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby Chris » Fri Jul 21, 2006 6:27 pm

Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly except
for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than before.
Originally that tag just brought over the path and filename for the more
info page image, for use in an HTML image tag. Now it brings over the
entire HTML tag, including shopsite assigned attributes including alt, size,
etc.

We noticed this when we saw that some newly uploaded graphics (we FTP them
into the store/media directories..) were skewed and improperly sized,
further when mousing over the graphics we didn't get the nice "product name"
tag which we used to put into the alt tag, but rather we got a cryptic
filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size and
alt values. Use the REMOVE_HTML attribute if you want to customize the <img>
tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic REMOVE_HTML --]
to strip out the html crud I don't want, to no avail: It appears to yield
the identical results as [-- PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris
Chris
 

Re: [-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby jim » Fri Jul 21, 2006 9:35 pm

When images are uploaded through the ShopSite interface a file called
..inf.<imagename> is created in the directory where the image is placed.
That file contains the full html, url and all the attributes to
display the image on a page. (What you see when you go to Images > Edit
Image Attributes) If you ftp images to the server these files are not
created so the html to display the image is missing. You can create
these files by going to Images > select image > Reset image attributes
(or Reset All attributes). I think that you will then see what you are
expecting.

Jim

Chris wrote:
Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly except
for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than before.
Originally that tag just brought over the path and filename for the more
info page image, for use in an HTML image tag. Now it brings over the
entire HTML tag, including shopsite assigned attributes including alt, size,
etc.

We noticed this when we saw that some newly uploaded graphics (we FTP them
into the store/media directories..) were skewed and improperly sized,
further when mousing over the graphics we didn't get the nice "product name"
tag which we used to put into the alt tag, but rather we got a cryptic
filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size and
alt values. Use the REMOVE_HTML attribute if you want to customize the <img
tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic REMOVE_HTML --]
to strip out the html crud I don't want, to no avail: It appears to yield
the identical results as [-- PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris

jim
 

Re: [-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby Chris » Mon Jul 24, 2006 10:44 pm

Hi Jim

Thanks for your reply. Yes, I figured out the reset all image attributes
function.. that was the solution to my original wrong sizing problem.

However, I would much rather get just the image filename and build all of
the HTML tags myself through the template.

Shouldn't REMOVE_HTML give me what I want? or am I mis-reading the help
file?

Thanks,
Chris


"jim" <jstavast@xmission.com> wrote in message
news:e9s9t9$6os$1@eval.shopsite.com...
When images are uploaded through the ShopSite interface a file called
.inf.<imagename> is created in the directory where the image is placed.
That file contains the full html, url and all the attributes to display
the image on a page. (What you see when you go to Images > Edit Image
Attributes) If you ftp images to the server these files are not created
so the html to display the image is missing. You can create these files
by going to Images > select image > Reset image attributes (or Reset All
attributes). I think that you will then see what you are expecting.

Jim

Chris wrote:
Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly
except for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than
before. Originally that tag just brought over the path and filename for
the more info page image, for use in an HTML image tag. Now it brings
over the entire HTML tag, including shopsite assigned attributes
including alt, size, etc.

We noticed this when we saw that some newly uploaded graphics (we FTP
them into the store/media directories..) were skewed and improperly
sized, further when mousing over the graphics we didn't get the nice
"product name" tag which we used to put into the alt tag, but rather we
got a cryptic filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size and
alt values. Use the REMOVE_HTML attribute if you want to customize the
img> tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic
REMOVE_HTML --] to strip out the html crud I don't want, to no avail: It
appears to yield the identical results as [--
PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris
Chris
 

Re: [-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby loren_d_c » Mon Jul 24, 2006 11:35 pm

I believe you are misreading the help file. On a tag for any graphic,
REMOVE_HTML just removes the '<img' and '>' so that you can use the
image src and its other attributes in some other HTML tag like a
background image or submit button. Note that the documentation for the
PRODUCT.MoreInformationGraphic tag refers to the documentation for the
PAGE.Graphic tag for more info on this remove_html option. PAGE.Graphic
is doc'd here:

http://www.shopsite.com/help/8.1/en-US/ ... -page.html
========================================================================
[-- PAGE.Graphic --]
Returns a full <img src> tag with all the formatting information,
including size and alt values. For example:

[-- PAGE.Graphic --]

returns a tag in this format:

<img src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0>

Use the REMOVE_HTML attribute to return a partial tag that you can
customize:

[-- PAGE.Graphic REMOVE_HTML --]

does not return the beginning and end of the <img> tag:

src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0
========================================================================

If you want just the image filename itself and and you have ShopSite
v8.0 or newer, try [-- IMAGE PRODUCT.MoreInformationGraphic --]. This
tag is not listed specifically in the documentation, though, so I'm not
sure if it will work, but certain other page and product images have the
option specifically listed to use them in an [-- IMAGE --] tag to get
just the image filename.

-Loren



Chris wrote:
Hi Jim

Thanks for your reply. Yes, I figured out the reset all image attributes
function.. that was the solution to my original wrong sizing problem.

However, I would much rather get just the image filename and build all of
the HTML tags myself through the template.

Shouldn't REMOVE_HTML give me what I want? or am I mis-reading the help
file?

Thanks,
Chris


"jim" <jstavast@xmission.com> wrote in message
news:e9s9t9$6os$1@eval.shopsite.com...
When images are uploaded through the ShopSite interface a file called
.inf.<imagename> is created in the directory where the image is placed.
That file contains the full html, url and all the attributes to display
the image on a page. (What you see when you go to Images > Edit Image
Attributes) If you ftp images to the server these files are not created
so the html to display the image is missing. You can create these files
by going to Images > select image > Reset image attributes (or Reset All
attributes). I think that you will then see what you are expecting.

Jim

Chris wrote:
Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly
except for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than
before. Originally that tag just brought over the path and filename for
the more info page image, for use in an HTML image tag. Now it brings
over the entire HTML tag, including shopsite assigned attributes
including alt, size, etc.

We noticed this when we saw that some newly uploaded graphics (we FTP
them into the store/media directories..) were skewed and improperly
sized, further when mousing over the graphics we didn't get the nice
"product name" tag which we used to put into the alt tag, but rather we
got a cryptic filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size and
alt values. Use the REMOVE_HTML attribute if you want to customize the
img> tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic
REMOVE_HTML --] to strip out the html crud I don't want, to no avail: It
appears to yield the identical results as [--
PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris

loren_d_c
 
Posts: 2572
Joined: Fri Aug 04, 2006 12:02 pm
Location: Anywhere

Re: [-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby Chris » Sun Jul 30, 2006 10:52 am

Hey Loren

Thanks for the terrific lead. Worked like a charm!

To shopsite: please add this ( [-- IMAGE
PRODUCT.MoreInformationGraphic --] ) reference into the product docs for
future newbies.

Thanks,
Chris

"Loren" <loren_d_c@yahoo.com> wrote in message
news:ea4e48$4aq$1@eval.shopsite.com...
I believe you are misreading the help file. On a tag for any graphic,
REMOVE_HTML just removes the '<img' and '>' so that you can use the
image src and its other attributes in some other HTML tag like a
background image or submit button. Note that the documentation for the
PRODUCT.MoreInformationGraphic tag refers to the documentation for the
PAGE.Graphic tag for more info on this remove_html option. PAGE.Graphic
is doc'd here:

http://www.shopsite.com/help/8.1/en-US/ ... -page.html
========================================================================
[-- PAGE.Graphic --]
Returns a full <img src> tag with all the formatting information,
including size and alt values. For example:

[-- PAGE.Graphic --]

returns a tag in this format:

img src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0

Use the REMOVE_HTML attribute to return a partial tag that you can
customize:

[-- PAGE.Graphic REMOVE_HTML --]

does not return the beginning and end of the <img> tag:

src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0
========================================================================

If you want just the image filename itself and and you have ShopSite
v8.0 or newer, try [-- IMAGE PRODUCT.MoreInformationGraphic --]. This
tag is not listed specifically in the documentation, though, so I'm not
sure if it will work, but certain other page and product images have the
option specifically listed to use them in an [-- IMAGE --] tag to get
just the image filename.

-Loren



Chris wrote:
Hi Jim

Thanks for your reply. Yes, I figured out the reset all image attributes
function.. that was the solution to my original wrong sizing problem.

However, I would much rather get just the image filename and build all of
the HTML tags myself through the template.

Shouldn't REMOVE_HTML give me what I want? or am I mis-reading the help
file?

Thanks,
Chris


"jim" <jstavast@xmission.com> wrote in message
news:e9s9t9$6os$1@eval.shopsite.com...
When images are uploaded through the ShopSite interface a file called
.inf.<imagename> is created in the directory where the image is placed.
That file contains the full html, url and all the attributes to display
the image on a page. (What you see when you go to Images > Edit Image
Attributes) If you ftp images to the server these files are not created
so the html to display the image is missing. You can create these files
by going to Images > select image > Reset image attributes (or Reset All
attributes). I think that you will then see what you are expecting.

Jim

Chris wrote:
Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly
except for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than
before. Originally that tag just brought over the path and filename for
the more info page image, for use in an HTML image tag. Now it brings
over the entire HTML tag, including shopsite assigned attributes
including alt, size, etc.

We noticed this when we saw that some newly uploaded graphics (we FTP
them into the store/media directories..) were skewed and improperly
sized, further when mousing over the graphics we didn't get the nice
"product name" tag which we used to put into the alt tag, but rather we
got a cryptic filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size
and
alt values. Use the REMOVE_HTML attribute if you want to customize the
img> tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic
REMOVE_HTML --] to strip out the html crud I don't want, to no avail:
It
appears to yield the identical results as [--
PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris

Chris
 

Re: [-- PRODUCT.MoreInformationGraphic REMOVE_HTML--]

Postby Jim » Tue Aug 01, 2006 12:56 pm

Your message was forwarded to the ShopSite documentation team.

Jim

Chris wrote:
Hey Loren

Thanks for the terrific lead. Worked like a charm!

To shopsite: please add this ( [-- IMAGE
PRODUCT.MoreInformationGraphic --] ) reference into the product docs for
future newbies.

Thanks,
Chris

"Loren" <loren_d_c@yahoo.com> wrote in message
news:ea4e48$4aq$1@eval.shopsite.com...
I believe you are misreading the help file. On a tag for any graphic,
REMOVE_HTML just removes the '<img' and '>' so that you can use the
image src and its other attributes in some other HTML tag like a
background image or submit button. Note that the documentation for the
PRODUCT.MoreInformationGraphic tag refers to the documentation for the
PAGE.Graphic tag for more info on this remove_html option. PAGE.Graphic
is doc'd here:

http://www.shopsite.com/help/8.1/en-US/ ... -page.html
========================================================================
[-- PAGE.Graphic --]
Returns a full <img src> tag with all the formatting information,
including size and alt values. For example:

[-- PAGE.Graphic --]

returns a tag in this format:

img src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0

Use the REMOVE_HTML attribute to return a partial tag that you can
customize:

[-- PAGE.Graphic REMOVE_HTML --]

does not return the beginning and end of the <img> tag:

src="http://www.store.com/media/graphic.gif" width=50 height=40
alt="Example" hspace=3 vspace=3 border=0
========================================================================

If you want just the image filename itself and and you have ShopSite
v8.0 or newer, try [-- IMAGE PRODUCT.MoreInformationGraphic --]. This
tag is not listed specifically in the documentation, though, so I'm not
sure if it will work, but certain other page and product images have the
option specifically listed to use them in an [-- IMAGE --] tag to get
just the image filename.

-Loren



Chris wrote:
Hi Jim

Thanks for your reply. Yes, I figured out the reset all image attributes
function.. that was the solution to my original wrong sizing problem.

However, I would much rather get just the image filename and build all of
the HTML tags myself through the template.

Shouldn't REMOVE_HTML give me what I want? or am I mis-reading the help
file?

Thanks,
Chris


"jim" <jstavast@xmission.com> wrote in message
news:e9s9t9$6os$1@eval.shopsite.com...
When images are uploaded through the ShopSite interface a file called
.inf.<imagename> is created in the directory where the image is placed.
That file contains the full html, url and all the attributes to display
the image on a page. (What you see when you go to Images > Edit Image
Attributes) If you ftp images to the server these files are not created
so the html to display the image is missing. You can create these files
by going to Images > select image > Reset image attributes (or Reset All
attributes). I think that you will then see what you are expecting.

Jim

Chris wrote:
Hi all

Quick question: when we upgraded a while back from shopsite 7.1 Pro to
shopsite 8.0 Pro, everything in our store templates worked perfectly
except for one thing: the more information graphic tag ([--
PRODUCT.MoreInformationGraphic --]) had a different definition than
before. Originally that tag just brought over the path and filename for
the more info page image, for use in an HTML image tag. Now it brings
over the entire HTML tag, including shopsite assigned attributes
including alt, size, etc.

We noticed this when we saw that some newly uploaded graphics (we FTP
them into the store/media directories..) were skewed and improperly
sized, further when mousing over the graphics we didn't get the nice
"product name" tag which we used to put into the alt tag, but rather we
got a cryptic filename (000123.jpg.)

Per the 8.0 Pro instructions:

[-- PRODUCT.MoreInformationGraphic --]
Returns a full <img src> tag for the graphic for the product More
Information Page, with all the formatting information, including size
and
alt values. Use the REMOVE_HTML attribute if you want to customize the
img> tag, as described for the PAGE.GRAPHIC tag.

However, I tried using [-- PRODUCT.MoreInformationGraphic
REMOVE_HTML --] to strip out the html crud I don't want, to no avail:
It
appears to yield the identical results as [--
PRODUCT.MoreInformationGraphic --].

Is anyone else running into this problem?

Thanks,
Chris


Jim
 

Thanks

Postby callen » Mon Aug 14, 2006 10:51 pm

Cool new interface for the forum, and thanks to the shopsite gurus for keeping us all up and running.

Cheers!
callen
 
Posts: 1
Joined: Mon Aug 14, 2006 10:46 pm


Return to User Forum

Who is online

Users browsing this forum: No registered users and 42 guests