Image galleries

  • Thread starter Trevor Lawrence
  • Start date
T

Trevor Lawrence

Thanks for your confirmation. Now we all in the same path of searching and
researching ;o)
Hope Axel is not like those Chinese scholars and inventors (in the ancient
days) -- they're very
greedy and they told their secret only to their own male son and if no son
then their secret will
be varied with them.

BTW, if you check Our Heritage website I used not _images folder_ but
"icons folder" for all my
Thumbnails. In image folder I used 300 dpi resolution of 4 x 6 inches size
pictures while in icons
folder I used 72 dpi and about postage stamp size picture -- that is why
my page load faster.

Rino,
As I said, I could not get the page to work so I asked in
microsoft.public.frontpage.programming

2 FP MVPs replied
Ron Symonds:
I see no errors in IE7 on Windows XP, but FireFox shows a lot of CSS and
Javascript warnings - but no errors.

Steve Easton:
Works fine in IE 7, works in FF also, but there's no X to close the div in
FF.

So I installed IE7 and sure enough no problem
So,
1. What browser are you using ?
2. Can you use the page http://tandcl.homemail.com.au/rinotan/index3.html
as an example to work on ?

This page http://tandcl.homemail.com.au/rinotan/index.html also works.
It has 3 sets of images which open with
jkpopimage
divViewer
spawnJimcoPopup
All are successful - for me

http://tandcl.homemail.com.au/rinotan/test4.html also works OK

Re thumbnails:
It is a good idea to use smaller images on the page and then when opening as
a larger image, use a jpeg with greater resolution

I had a look at a few and I saw ashley.jpg as an example where you have done
this

But http://www.rinotan.freeweb7.com/our_family_heritage/d1.htm still took
about 25 seconds to load on 1.25 MBPS broadband This is not too bad, but it
would take longer on dialup

Please post back if you are still having problems
 
G

Guest

Greetings! Trevor,
I'm sorry because ALL your links are no good and have errors when I click at.
No good mean -- I cannot view the BIGGER pictures when I click the Thumbnails.
I'm using IE6 with Windows-xp Pro. Yesterday my test page http://dwarfurl.com/d6223
cannot be open because the hosting Server busy maintaining their services.

For now I only interested to solve the above link problem and I am cordially asking all MVP
troubleshooters as to why my 2nd Thumbnails is always Pop-up a wrong pictures. If we
can find the trick then we can apply the same trick for the rest of Thumbnails.

We already got the 1st Thumbnail Pop-up correctly and the problem to solve is the 2nd
Thumbnails.

Regards & TIA,
-Rino
 
G

Guest

Hi Trevor,
I noticed the following Script code were Auto-added at the very end:

<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-3102003-1";
urchinTracker();
</script>

Is this a malicious tracking? I found nothing in my original "test4.htm" and I uploaded my original file
sevcral times to delete it BUT it always come back to Auto Inserted at the end of my "test4.htm" file.

Regards,
-Rino
 
T

Trevor Lawrence

Greetings! Trevor,
I'm sorry because ALL your links are no good and have errors when I click
at.
No good mean -- I cannot view the BIGGER pictures when I click the
Thumbnails.
I'm using IE6 with Windows-xp Pro. Yesterday my test page
http://dwarfurl.com/d6223
cannot be open because the hosting Server busy maintaining their services.

For now I only interested to solve the above link problem and I am
cordially asking all MVP
troubleshooters as to why my 2nd Thumbnails is always Pop-up a wrong
pictures. If we
can find the trick then we can apply the same trick for the rest of
Thumbnails.

We already got the 1st Thumbnail Pop-up correctly and the problem to solve
is the 2nd
Thumbnails.

All these pages
http://tandcl.homemail.com.au/rinotan/index3.html
http://tandcl.homemail.com.au/rinotan/index.html
http://tandcl.homemail.com.au/rinotan/test4.html
work OK for me

But I am now using IE7. I posted (and emailed you) asking what browser you
are using.

I had problems with IE6 (also using Windows XP Pro), and Ronx has kindly
diagnosed the source of the error. His answer is on the NG but I can find it
again (I hope)

I also replied as to why your 2nd thumbnail doesn't work .
In brief, there are variables set in JS in the <head> section and these need
to be correctly set and the variable name used in the body of the HTML

These should read (inside <script type="text/javascript"></script> in the
<head> section)
var wedding = '<img src="images/maira_jesse.jpg" width="1075" height="717"
border="0" alt="Our Wedding">'
var weddng = '<img src="images/card1.jpg" width="1400" height="980"
border="0" alt="Our Wedding">'

The HTML shoudl be
<a href="#" onClick="dv.showDV(wedding); return false">
<img border="0" src="images/maira_jesse.jpg" width="103" height="79"
align="right"></a><p>
....
<a href="#" onClick="dv.showDV(weddng); return false">
<img border="0" src="images/card1.jpg" width="105" height="81"
align="right"></a></p>

That is, the names used as parameters to dv.showDV should match. It may be
better to name them wedding1 and wedding2 (or wedding and card1 - whatever)


BTW,
Your page http://www.rinotan.freeweb7.com/our_family_heritage/d1.htm does
not open - file not found. But you may have deleted it while working on
getting the site going
 
T

Trevor Lawrence

Hi Trevor,
I noticed the following Script code were Auto-added at the very end:

<script src="http://www.google-analytics.com/urchin.js"
type="text/javascript">
</script>
<script type="text/javascript">
_uacct = "UA-3102003-1";
urchinTracker();
</script>

Is this a malicious tracking? I found nothing in my original "test4.htm"
and I uploaded my original file
sevcral times to delete it BUT it always come back to Auto Inserted at the
end of my "test4.htm" file.

I can't really answer this

1. Is your server FTP or HTTP? (I feel sure I found this out before.)
2. If FTP, are you using an FTP program or FrontPage to upload ?
(FP and any decent FTP program should upload exactly what was on the source
file on your hard disk)
3. Can anyone else throw some light on this ?
 
G

Guest

Hi Trevor,
I found using Rich Text are much better for better understanding and everybody now a days are well equiped and capable
to show everything in their PC. I used RED text for my in-line reply:
All these pages
http://tandcl.homemail.com.au/rinotan/index3.html (All no good)
http://tandcl.homemail.com.au/rinotan/index.html (only jkpopimage & spawmJimco Popup work for me)
http://tandcl.homemail.com.au/rinotan/test4.html (no good -- check mine -- why 2nd Thumbnail Pop-up wrong?)
work OK for me

But I am now using IE7. I posted (and emailed you) asking what browser you
are using. (I did answered you earlier THAT MY BROWSER IS IE6 ON WINDOWS XP PRO SYSTEM -- I also used
OPERA and the same result detected -- I'm sorry your eMail is NOT in my Inbox; nevertheless I did replied)
I had problems with IE6 (also using Windows XP Pro), and Ronx has kindly
diagnosed the source of the error. His answer is on the NG but I can find it
again (I hope)

I also replied as to why your 2nd thumbnail doesn't work .
In brief, there are variables set in JS in the <head> section and these need
to be correctly set and the variable name used in the body of the HTML

These should read (inside <script type="text/javascript"></script> in the
<head> section)
var wedding = '<img src="images/maira_jesse.jpg" width="1075" height="717"
border="0" alt="Our Wedding">'
var weddng = '<img src="images/card1.jpg" width="1400" height="980"
border="0" alt="Our Wedding">'

The HTML shoudl be
<a href="#" onClick="dv.showDV(wedding); return false">
<img border="0" src="images/maira_jesse.jpg" width="103" height="79" (this is my old HTML -- "icons" folder is NEW)
align="right"></a><p>
...
<a href="#" onClick="dv.showDV(weddng); return false">
<img border="0" src="images/card1.jpg" width="105" height="81" (this is my old HTML -- "icons" folder is NEW)
align="right"></a></p>

That is, the names used as parameters to dv.showDV should match. It may be
better to name them wedding1 and wedding2 (or wedding and card1 - whatever)

YES, I can change naming BUT can you PLEASE point where? Did you uploaded a good link for me to
check if your 2nd Thumbnail pop-up correctly? Please check your 3rd links above -- it is no good ;o(
Also PLEASE use color text to point out the errors -- so I can understand and follow you all the way.
 
T

Trevor Lawrence

Rino,
I can try blue for in-line replies

----- Original Message -----
From: < < Rino > >
Newsgroups: microsoft.public.frontpage.client
Sent: Thursday, December 06, 2007 5:00 AM
Subject: Re: Image galleries


Hi Trevor,
I found using Rich Text are much better for better understanding and
everybody now a days are well equiped and capable
to show everything in their PC. I used RED text for my in-line reply:
mine -- why 2nd Thumbnail Pop-up wrong?)
work OK for me

But I am now using IE7. I posted (and emailed you) asking what browser you
are using. (I did answered you earlier THAT MY BROWSER IS IE6 ON WINDOWS
XP PRO SYSTEM -- I also used
OPERA and the same result detected -- I'm sorry your
eMail is NOT in my Inbox; nevertheless I did replied)
I apologise for not remembering. I was using the same (IE6 under Windows
XP Pro) until I switched to IE7 after Ronx and Steve said that divViewer
worked for them in IE7.

What I can't understand is that your test4.html works in IE6, whereas,
mine does not

Re the 1st and 3rd references, i.e.
http://tandcl.homemail.com.au/rinotan/index3.html
http://tandcl.homemail.com.au/rinotan/test4.html
The problem is in divViewer
See below

Re http://tandcl.homemail.com.au/rinotan/index.html
The problem is in divViewer
Two suggestions
1. Install IE7 - it may be less prone to error now it has been around for
a while. I am giving it a go, anyway. If you don't like it, IE7 can be
uninstalled (from Add or Remove Prgrams in Control Panel) and you will
revert to IE6
2. Take up Ronx's suggestion which is
Edit dv.js
Comment out all lines between
DVObject.prototype.decodeHtml = function(encodedString) {

and

return encodedString;
};

I haven't tried this, but he seems to be implying that the function remain
but just be a null function

So, as I read his suggestion, replace lines 396 to 406 with
DVObject.prototype.decodeHtml = function(encodedString) {
/*
//exchanges some html-decoded signs
encodedString = encodedString.replace(/&auml;/, "ä");
encodedString = encodedString.replace(/&Auml;/, "Ä");
encodedString = encodedString.replace(/&uuml;/, "ü");
encodedString = encodedString.replace(/&Uuml;/, "Ü");
encodedString = encodedString.replace(/&ouml;/, "ö");
encodedString = encodedString.replace(/&Ouml;/, "Ö");
encodedString = encodedString.replace(/&szlig;/, "ß");
*/
return encodedString;
};

The new version of dv.js would then be published to the web
That is, the names used as parameters to dv.showDV should match. It may be
better to name them wedding1 and wedding2 (or wedding and card1 -
whatever)

YES, I can change naming BUT can you PLEASE point where? Did you uploaded
a good link for me to
check if your 2nd Thumbnail pop-up correctly? Please check your 3rd links
above -- it is no good ;o(
Also PLEASE use color text to point out the errors -- so I can understand
and follow you all the way.
This is the problam I can't explain. When I put up code which is identical
to yours, we get this result:
It doesn't work in IE6 (i.e. what you are using and what I WAS using)
It works in IE7 (i.e. what Ronx Steve and I are now all using)

The only explanation I can think of is that the JS (dv.js) is different -
I did download it again, so perhaps they changed it on the source website

Anyway, this is the code you need
I changed the reference to dv.js to where I think you have it, so please
check that this is correct.
Your dv.js seems to be named DV.js which would only make a difference if
you are on a Unix server. So please use whatever name works for you

<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<script src="DV.js" type="text/javascript">
</script>
<script type="text/javascript">
//Define your images using arbitrary variables, to be passed in as
arguments later down the page:
var wedding = '<img src="images/maira_jesse.jpg" width="1075" height="717"
border="0" alt="Mr. & Mrs Tan">'
var card1 = '<img src="images/card1.jpg" width="1400" height="980"
border="0" alt="Invitation card">'
</script>
</head>
<body bgcolor="#CCCCFF">
<p>
<a href="#" onClick="dv.showDV(wedding); return false">
<img border="0" src="images/maira_jesse.jpg" width="103" height="79"
align="right" alt="Mr. & Mrs Tan"></a><p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>
<a href="#" onClick="dv.showDV(card1); return false">
<img border="0" src="images/card1.jpg" width="105" height="81"
align="right" alt="Invitation card"></a></p>
</body>
BTW,
Your page http://www.rinotan.freeweb7.com/our_family_heritage/d1.htm does
not open - file not found. But you may have deleted it while working on
getting the site going (it's always good -- you ONLY open it at the
wrong time -- see my reply earlier)

OK - it opens now. So I guess that you were updating it at the time
Ah well, let's hope that we make some progress
 
G

Guest

Hi Trevor,
I have one more thing to follow-up. See my 1st picture in Pop-up and look for the new Close button. Can we change it
by manipulating from the DV.js file? PLEASE ;o)

-Rino
Hi Trevor,
I knew it -- you wrote with Rich Text BUT your OE still contigured to sent it via Plain Text and all your important point
for me are all returned to BLACK. I cannot understand a thing. Nevertheless; I'm very happy ;o)

Check my Test page -- it point to the right picture now. Many Thanks To You for Helping me diagnose my problem --
Easy to do, don't think I would have figure this out without your help ;o) ;o)

Out of Topic: Why we uses Plain Text in pointing a very hard to find error in scramble code? Those 3rd world
countries are just laughing at us. Their PC and fast internet connection are all in advance stages. If we continues
using Plain Text in teaching someone here then we cannot advance our technology BUT have to stayed behind.

Regards,
-Rino
 
T

Trevor Lawrence

Rino.
I have read the last 2 messages

While I composed in Rich Text, I forget to reset OE6 to send in Rich Text, so this is another test that it works

I'll have another look tomorrow.

It is TV and dinner time now
Hi Trevor,
I have one more thing to follow-up. See my 1st picture in Pop-up and look for the new Close button. Can we change it
by manipulating from the DV.js file? PLEASE ;o)

-Rino
Hi Trevor,
I knew it -- you wrote with Rich Text BUT your OE still contigured to sent it via Plain Text and all your important point
for me are all returned to BLACK. I cannot understand a thing. Nevertheless; I'm very happy ;o)

Check my Test page -- it point to the right picture now. Many Thanks To You for Helping me diagnose my problem --
Easy to do, don't think I would have figure this out without your help ;o) ;o)

Out of Topic: Why we uses Plain Text in pointing a very hard to find error in scramble code? Those 3rd world
countries are just laughing at us. Their PC and fast internet connection are all in advance stages. If we continues
using Plain Text in teaching someone here then we cannot advance our technology BUT have to stayed behind.

Regards,
-Rino
 
G

Guest

Hi Trevor,
Thanks for everything! I got it solved -- Now I'm very happy fellow ;o) ;o) --Rino

Rino.
I have read the last 2 messages

While I composed in Rich Text, I forget to reset OE6 to send in Rich Text, so this is another test that it works

I'll have another look tomorrow.

It is TV and dinner time now
Hi Trevor,
I have one more thing to follow-up. See my 1st picture in Pop-up and look for the new Close button. Can we change it
by manipulating from the DV.js file? PLEASE ;o)

-Rino
Hi Trevor,
I knew it -- you wrote with Rich Text BUT your OE still contigured to sent it via Plain Text and all your important point
for me are all returned to BLACK. I cannot understand a thing. Nevertheless; I'm very happy ;o)

Check my Test page -- it point to the right picture now. Many Thanks To You for Helping me diagnose my problem --
Easy to do, don't think I would have figure this out without your help ;o) ;o)

Out of Topic: Why we uses Plain Text in pointing a very hard to find error in scramble code? Those 3rd world
countries are just laughing at us. Their PC and fast internet connection are all in advance stages. If we continues
using Plain Text in teaching someone here then we cannot advance our technology BUT have to stayed behind.

Regards,
-Rino
 
G

Guest

Hi Trevor,
Click my test page: http://dwarfurl.com/d6223 -- everything I've said are true ;o)
To test it and No need to change your monitor resolution -- just resize your open Windows and Pop-up image will
Auto-resize to fit the new Windows size.

2nd test: Click to open 1st & 2nd Thumbnails without closing the Windows. It's Auto-reuses the Windows, etc, etc.
as mentioned in the DV.js file.

Very beautiful DIV Pop-up image viewer. I hope you will like it now ;o)
Now I can close this thread for Lisa.

Regards,
-Rino

Hi Trevor,
Thanks for everything! I got it solved -- Now I'm very happy fellow ;o) ;o) --Rino

Rino.
I have read the last 2 messages

While I composed in Rich Text, I forget to reset OE6 to send in Rich Text, so this is another test that it works

I'll have another look tomorrow.

It is TV and dinner time now
Hi Trevor,
I have one more thing to follow-up. See my 1st picture in Pop-up and look for the new Close button. Can we change it
by manipulating from the DV.js file? PLEASE ;o)

-Rino
Hi Trevor,
I knew it -- you wrote with Rich Text BUT your OE still contigured to sent it via Plain Text and all your important point
for me are all returned to BLACK. I cannot understand a thing. Nevertheless; I'm very happy ;o)

Check my Test page -- it point to the right picture now. Many Thanks To You for Helping me diagnose my problem --
Easy to do, don't think I would have figure this out without your help ;o) ;o)

Out of Topic: Why we uses Plain Text in pointing a very hard to find error in scramble code? Those 3rd world
countries are just laughing at us. Their PC and fast internet connection are all in advance stages. If we continues
using Plain Text in teaching someone here then we cannot advance our technology BUT have to stayed behind.

Regards,
-Rino
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top