How to stop ServExt from modifying my code? (Full Version)

All Forums >> [Web Development] >> Microsoft FrontPage Help



Message


Razvan Neagu -> How to stop ServExt from modifying my code? (3/27/2008 14:14:14)

I hope some FrontPage expert can assist with this.

We have a Web gallery generator program (Shozam) which creates online galleries on the user's computer, that can then be uploaded to any Web host. Some users then integrate the gallery with their Web site and FrontPage workflow. FrontPage users that have Server Extensions installed are having an issue that I am trying to correct. The code of the HTML slideshow page gets altered by Frontpage and images are forced to display at 31px x 31px.

Our fix so far has been to advise users to disable Server Extensions. I would like to get a less drastic fix.

Here is the pertinent code generated by Shozam:


<img src="../theme/images/indicator.gif" id="SlideShow" name="SlideShow" border="0" class="imgBorder protect" />


Here is the code altered (not sure if this happens on the client computer, during the upload process or at some time afterwards on the server):


<img src="../theme/images/indicator.gif" id="SlideShow" name="SlideShow" border="0" class="imgBorder protect" width="31" height="31" />


Is there a way to tell FrontPage/ServerExtensions to NOT touch the code in the file? Forcing the img to be 31px x 31px will have all images display tiny. The way the slidehsow works normally is using JavaScript to dynamically replace images one by one, and if I do not specify a size, they will display at their own native size.

Users are not using FrontPage to explicitly do any alteration to the code. They are just uploading the Shozam generated gallery to their Web host that has Server Extensions enabled. I believe the edit happens either during the upload process, or when files are written to the server or maybe when someone tries to access the files (to view then in their Web browser).

I am not myself a FrontPage user. I would appreciate information I can pass along to my Shozam users that will help them with this frustrating experience.

Thanks!

Here are some sample links:

Code as generated by Shozam (click on Slideshow link at top):
http://leonhighalumni.org/Market%20Floor%20Center%20Gallery/

Code as modified after uploading to Web host with Server Extensions on:
http://www.westwoodgolf.info/MFCWebgallery/
(click Slideshow link and you will see the tiny images cycle; if you view the source code you will see that somehow, at some point, FronPage Server Extensions has added code forcing the image to display at 31px)

For more information about this issue in our user forums:
http://community.shozam.com/forums/p/639/2144.aspx
http://community.shozam.com/forums/p/496/2985.aspx




coreybryant -> RE: How to stop ServExt from modifying my code? (3/27/2008 16:54:19)

You might check out How to stop ServExt from modifying code.




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.046875