Closed Bug 158610 Opened 22 years ago Closed 21 years ago

michaelgbackgrounds.com - Photo Gallery Slideshow Gallery Created with FP does not run correctly

Categories

(Core :: DOM: Core & HTML, defect)

x86
Windows ME
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: mail, Assigned: mkaply)

References

()

Details

(Whiteboard: [lowsrc technote-needed] frontpage)

Attachments

(1 file)

Page is supposed to display 4 thumbnails up top, and clicking on each item
renders a full size version under the the thumbnails.  The four thumbnails are
supplosed to be scrollable via arrows.

Page is incorrectly displayed in that ckicking on any thumbnail only renders the
first graphic, with the size / proportion of the object that is supposed to be
displayed.

Second problem is not thumbnail scrolling does not work, and if there are more
than 4 thumbnails, they are rendered accross the top of th page.
Confirming bug with Mozilla trunk build 20020715xx on WinNT
Browser, not engine ---> DOM Level 0


A typical thumbnail on this page is

<a target="_self"     
href="Javascript:fp_ShowImg(document['fpphoto_6931'],'450','589','1376',0);">

<img hspace="10" vspace="5" border="0"
     id="fpphoto_6931" name="fpphoto_6931"         
     src="photogallery/photo1939/Roccoco%201.jpg"
     lowsrc="images/Roccoco%201.jpg"
     width="76" height="100"
     title="Roccoco" align="absmiddle" />
</a>



Note the call to the function fp_ShowImg(document['fpphoto_6931'], etc. etc.)
Inside this function, a variable named "src" is used for the first parameter.

That is, in what follows, |src| = document['fpphoto_6931']
This is point where the large image is set:


         var el = document.getElementById('fpGalleryMainImg_1376');
         el.src = src.lowsrc;


In the JavaScript Debugger, we see that |src| resolves correctly to
the thumbnail image, but |src.lowsrc| is undefined for some reason:

         src
         [HTMLImageElement] [class: HTMLImageElement] {0}
         src.lowsrc
         [void] void


Therefore the large image gets assigned an empty src, and that's
why no image shows up. To test all this without using the Mozilla
JavaScript Debugger, just try this javascript:URL in IE vs. Moz:


javascript: var src = document['fpphoto_6931']; alert('thumbnail.src = ' +  
src.src  +  '\nthumbnail.lowsrc = '  +  src.lowsrc);


IN IE6:
thumbnail.src = 
http://www.michaelgbackgrounds.com/photogallery/photo1939/Roccoco%201.jpg 

thumbnail.lowsrc =
images/Roccoco%201.jpg


IN MOZ:
thumbnail.src = 
http://www.michaelgbackgrounds.com/photogallery/photo1939/Roccoco%201.jpg 

thumbnail.lowsrc =
undefined
Assignee: rogerl → jst
Status: UNCONFIRMED → NEW
Component: JavaScript Engine → DOM Level 0
Ever confirmed: true
QA Contact: pschwartau → desale
lowsrc is not supported.  See bug 92453
Assignee: jst → doron
Component: DOM Level 0 → US General
Product: Browser → Tech Evangelism
QA Contact: desale → zach
Version: other → unspecified
Mike, this site is using frontpage 5 and has the aforementioned problems with
lowsrc. You can contact the site directly at
mailto:MRGSCART@aol.com?subject=Website Response which will have more effect if
you are a potential customer.
Summary: Photo Gallery Slideshow Gallery Created with FP does not run correctly → michaelgbackgrounds.com - Photo Gallery Slideshow Gallery Created with FP does not run correctly
Whiteboard: [lowsrc technote-needed]
doron,

Can you suggest a different way to do this that is as easy as using lowsrc that
we can suggest to the websites?

Thanks
Whiteboard: [lowsrc technote-needed] → [lowsrc technote-needed] frontpage
I experience this SAME problem on Tamira Fox's site:  

http://www.tamirafox.com/head_shots.htm

all of her FrontPage generated image galleries behave this way.  The galleries
work FINE in Netscape 4.77 and Opera 7.11 on Linux.  It mis-behaves with Mozilla
2003052309 on Linux.

Peace...
This patch implements the setting and querying of the lowsrc attribute to allow
these sites to work.

It does NOT make lowsrc work, and we have no plans to do that.
r=pavlov

is this ok with you jst?  can you sr=?
Comment on attachment 124847 [details] [diff] [review]
Implement lowsrc attribute

sr=jst
Moving to code
Assignee: doron → mkaply
Component: US General → DOM Core
Product: Tech Evangelism → Browser
Version: unspecified → Trunk
Marking blocking 1.4.

Fix is in hand. We get a lot of bugs where frontpage galleries don't work.

This makes them work VERY low risk.

Just adding support for lowsrc query/set in the DOM.
Flags: blocking1.4+
Comment on attachment 124847 [details] [diff] [review]
Implement lowsrc attribute

Marking r= and sr= for pavlov and jst, and approving for 1.4.

/be
Attachment #124847 - Flags: superreview+
Attachment #124847 - Flags: review+
Attachment #124847 - Flags: approval1.4+
Fixed on trunk and branch.
Status: NEW → RESOLVED
Closed: 21 years ago
Keywords: fixed1.4
Resolution: --- → FIXED
*** Bug 189217 has been marked as a duplicate of this bug. ***
Trunk and branch build 2003-06-12: Win2k

1. The page displays 4 thumbnails up top - ok.
2. After clicking on each item, it renders a full size version under the
thumbnails - ok.
3. The four thumbnails are supposed to be scrollable via arrows - I don't see
the arrows. If this is related to the lowsrc issue and is not intended to be
present then this bug can be verified as fixed.

If no comments appear to the contrary then I will mark this as verified/fixed on
6/13.
Verified Fixed.
Status: RESOLVED → VERIFIED
Keywords: fixed1.4verified1.4
Component: DOM: Core → DOM: Core & HTML
QA Contact: zach → general
Depends on: 864367
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: